 |
GlobalAlloc Add comment W32 Constants Translate this page |
 |
 |
|
The GlobalAlloc function allocates the specified number of bytes from the heap |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HGLOBAL GlobalAlloc(
UINT uFlags, // allocation attributes
SIZE_T dwBytes // number of bytes to allocate
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GlobalAlloc IN kernel32;
INTEGER wFlags,;
INTEGER dwBytes
|
 |
 |
 |
| Parameters: |
 |
uFlags
[in] Specifies how to allocate memory
dwBytes
[in] Specifies the 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: |
 |
| So the memory is allocated. What else you can do with it? I mean, could it be useful for a Foxpro application? I should think about it |
 |
 |
| Word Index links for the GlobalAlloc : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2001-11-26 16:02:07 | Visited in last 7 days: 317 |