Using Win32 functions in Visual FoxPro Image Gallery
Handle and Object
..msdn
CloseHandle
DuplicateHandle
GetHandleInformation
SetHandleInformation
Code examples:
Memory usage info for current VFP session (WinNT only)
GetHandleInformation
..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)
Declaration:
BOOL GetHandleInformation(
  HANDLE hObject,
  LPDWORD lpdwFlags
);

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

lpdwFlags
[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.
Usage:
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  
FreeTranslation.com 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: 31
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
17 sec.Function: 'GetUserDefaultLCID'
34 sec.Function: 'GetConsoleWindow'
48 sec.Function: 'ReleaseSemaphore'
1.08 min.Function: 'waveOutGetErrorText'
1.37 min.Function: 'DragDetect'
1.65 min.Function: 'timeGetDevCaps'
1.93 min.Function: 'waveOutGetPosition'
2.25 min.Function: 'SHParseDisplayName'
2.6 min.Function: 'WTSSendMessage'
2.93 min.Function: 'OemToChar'
Google
Advertise here!