Platform SDK: DLLs, Processes, and Threads

WOWGlobalUnlock16

The WOWGlobalUnlock16 function unlocks a global memory object. This function can only be called in the context of a thunk.

BOOL WINAPI WOWGlobalUnlock16(
  WORD hMem  // handle to the global memory object
);

Parameters

hMem
[in] Handle to the object in the 16-bit global heap. This value must have been obtained from the WOWGlobalAlloc16 or WOWGlobalAllocLock16 function.

Return Values

Returns zero if the object's lock count was decremented (decreased by one) to zero. Otherwise, returns a nonzero value.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Wownt32.h.
  Library: Included as a resource in Wow32.dll.

See Also

Generic Thunks Overview, 32-bit Generic Thunk Functions, WOWGlobalAlloc16, WOWGlobalAllocLock16