 |
GlobalLock ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GlobalLock function locks a global memory object and returns a pointer to the first byte of the object"s memory block. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
LPVOID GlobalLock(
HGLOBAL hMem // handle to global memory object
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GlobalLock IN kernel32;
INTEGER hMem
|
 |
 |
 |
| Parameters: |
 |
hMem
[in] Handle to the global memory object. This handle is returned by either the GlobalAlloc or GlobalReAlloc function. |
 |
 |
| Return value: |
 |
If the function succeeds, the return value is a pointer to the first byte of the memory block. If the function fails, the return value is NULL.
|
 |
 |
| Word Index links for the GlobalLock : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-19 12:00:00 | | Modified: | 2001-11-26 16:03:42 | Visited in last 7 days: 26 |