WORD LocalSize(hMem)
This function retrieves the current size (in bytes) of the local memory block specified by the hMem parameter.
Parameter | Type/Description |
hMem | HANDLE Identifies the local memory block. |
The return value specifies the size (in bytes) of the specified memory block. It is NULL if the given handle is not valid.
The actual size of a memory block sometimes is larger than the size requested when the memory was allocated.