Group: Memory Management - Library: kernel32
Retrieving local computer and user names
Retrieving the name of the default printer for the current user on the local computer (Win NT/XP)
GetFileOwner - Get the owner of an NTFS file
Reading security permissions for NTFS files and folders
UINT LocalSize(
HLOCAL hMem
);
DECLARE LONG LocalSize IN kernel32 INTEGER hMem
hMem [in] Handle to the local memory object. This handle is returned by the LocalAlloc, LocalReAlloc, or LocalHandle function.
If the function succeeds, the return value is the size of the specified local memory object, in bytes.
The local functions are slower than other memory management functions and do not provide as many features. Therefore, new applications should use the heap functions.