Using Win32 functions in Visual FoxPro Image Gallery
Memory Management
..msdn
CopyMemory
FillMemory
GetProcessHeap
GetProcessHeaps
GlobalAlloc
GlobalFree
GlobalLock
GlobalMemoryStatus
GlobalReAlloc
GlobalSize
GlobalUnlock
HeapAlloc
HeapCompact
HeapFree
HeapLock
HeapReAlloc
HeapSize
HeapUnlock
HeapValidate
HeapWalk
LocalAlloc
LocalFree
LocalSize
VirtualAllocEx
VirtualFreeEx
ZeroMemory
Code examples:
Copying strings through the global memory block
Enumerating network resources
Opening the Page Setup dialog box to specify the attributes of a printed page
Passing data records between VFP applications via the Clipboard
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:
Enumerating network resources
Passing data records between VFP applications via the Clipboard
Copying strings through the global memory block
Opening the Page Setup dialog box to specify the attributes of a printed page
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-09-19 12:00:00
Modified: 2001-11-26 16:03:42
Visited in last 7 days: 19
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.0.87)
2 sec.Example: 'A client for testing non-blocking Winsock server'
6 sec.Function: 'WNetAddConnection'
Function group: 'Windows Networking'
29 sec.Example: 'How to delete a service object'
34 sec.Example: 'Exporting DLL icon resources as .ICO files'
Google
Advertise here!