 |
LocalSize ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The LocalSize function returns the current size of the specified local memory object, in bytes. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
UINT LocalSize(
HLOCAL hMem
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE LONG LocalSize IN kernel32 INTEGER hMem
|
 |
 |
 |
| Parameters: |
 |
hMem
[in] Handle to the local memory object. This handle is returned by the LocalAlloc, LocalReAlloc, or LocalHandle function. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the size of the specified local memory object, in bytes. |
 |
 |
| My comment: |
 |
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.
|
 |
 |
| Word Index links for the LocalSize : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-11-28 13:20:27 | | Modified: | 2004-11-28 13:21:46 | Visited in last 7 days: 17 |