WOWGlobalLockSize16

The WOWGlobalLockSize16 function combines the functionality of the WOWGlobalLock16 and 16-bit GlobalSize functions.

DWORD WINAPI WOWGlobalLockSize16(
  WORD hMem,  // handle to the global memory object
  PDWORD pcb  // gets size of the global memory object
);
 

Parameters

hMem
Handle to the object in the 16-bit global heap. This value must have been obtained from the WOWGlobalAlloc16 or WOWGlobalAllocLock16 function.
pcb
Receives the size of the object in the 16-bit global heap.

Return Values

Returns a pointer to the first byte of the memory block if successful. Otherwise, returns NULL.

See Also

WOWGlobalAlloc16, WOWGlobalAllocLock16, WOWGlobalLock16