 |
LocalAlloc ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The LocalAlloc function allocates the specified number of bytes from the heap. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HLOCAL LocalAlloc(
UINT uFlags,
SIZE_T uBytes
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER LocalAlloc IN kernel32;
INTEGER uFlags,;
INTEGER uBytes
|
 |
 |
 |
| Parameters: |
 |
uFlags
[in] Memory allocation attributes.
uBytes
[in] Number of bytes to allocate. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the newly allocated memory object. |
 |
 |
| My comment: |
 |
Windows memory management does not provide a separate local heap and global heap.
|
 |
 |
| Word Index links for the LocalAlloc : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-10-16 14:55:53 | | Modified: | 2003-10-16 14:58:07 | Visited in last 7 days: 26 |