| UINT LocalFlags(hloc) | |||||
| HLOCAL hloc; | /* handle of local memory object | */ | |||
The LocalFlags function retrieves information about the given local memory object.
hloc
Identifies the local memory object.
The low-order byte of the return value contains the lock count of the object; the high-order byte contains either LMEM_DISCARDABLE (object has been marked as discardable) or LMEM_DISCARDED (object has been discarded).
To retrieve the lock count from the return value, use the LMEM_LOCKCOUNT mask.