Declared in <XHandle.h>
This is an inline stack class which locks the handle. This is so that handles will be unlocked when I'm done or when an exception is thrown
Construction/Destruction
Construction/Destruction
Usage: XGHandleLock(XGHandle&ptr)
This stores a pointer to the specified handle, and locks the handle using the XGHandle::Lock() method.
Usage: ~XGHandleLock()
This unlocks the stored handle, and is invoked when the stack unwinds, if this is a stack-based object