BOOL UnlockResource(hResData) | |||||
HGLOBAL hResData; | /* handle of memory object to unlock | */ |
The UnlockResource macro unlocks the resource specified by the hResData parameter and decreases the reference count of the resource by one.
hResData
Identifies the global memory object to be unlocked.
The return value is zero if the object's reference count is decreased to zero. Otherwise, it is nonzero.
The UnlockResource macro is defined in WINDOWS.H as follows:
#define UnlockResource(h) GlobalUnlock(h)