Platform SDK: DLLs, Processes, and Threads

WOWGlobalUnlockFree16

The WOWGlobalUnlockFree16 function combines the functionality of the WOWGlobalUnlock16 and WOWGlobalFree16 functions. This function can only be called in the context of a thunk.

WORD WINAPI WOWGlobalUnlockFree16(
  DWORD vpMem  // address of memory block
);

Parameters

vpMem
[in] Pointer to the memory block returned by the WOWGlobalLock16 or WOWGlobalAllocLock16 function.

Return Values

Returns NULL if successful.

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, WOWGlobalAllocLock16, WOWGlobalFree16, WOWGlobalLock16, WOWGlobalUnlock16