Using Win32 functions in Visual FoxPro Image Gallery
Handle and Object
Code examples:
Memory usage info for current VFP session (WinNT only)
..msdn    Add comment     W32 Constants      Translate this page
The GetHandleInformation function retrieves certain properties of an object handle.
Code examples:
Memory usage info for current VFP session (WinNT only)
BOOL GetHandleInformation(
  HANDLE hObject,
  LPDWORD lpdwFlags

FoxPro declaration:
DECLARE INTEGER GetHandleInformation IN kernel32;
    INTEGER   hObject,;
    INTEGER @ lpdwFlags
[in] Handle to an object whose information is to be retrieved.

[out] Pointer to a variable that receives a set of bit flags that specify properties of the object handle.
Return value:
If the function succeeds, the return value is nonzero.
nFlags = 0
= GetHandleInformation(hProcess, @nFlags)
My comment:
You can specify a handle to one of the following types of objects: access token, event, file, file mapping, job, mailslot, mutex, pipe, printer, process, registry key, semaphore, serial communication device, socket, thread, or waitable timer.

See also: SetHandleInformation
Word Index links for the GetHandleInformation :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-07-07 16:39:06
Modified: 2010-05-27 13:43:40
Visited in last 7 days: 61
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
20 sec.Function: 'StrFormatByteSize'
43 sec.Function: 'OemToChar'
1.1 min.Function: 'GdipGetImageVerticalResolution'
1.52 min.Function: 'GetVersionEx'
1.88 min.Function: 'DrawDibDraw'
2.32 min.Function: 'GetEnvironmentVariable'
2.72 min.Function: 'SQLGetFunctions'
3.13 min.Function: 'sndPlaySound'
3.58 min.Function: 'JetSetColumn'
3.98 min.Function: 'OpenFile'
Advertise here!