Using Win32 functions in Visual FoxPro Image Gallery
Service
..msdn
CloseServiceHandle
ControlService
CreateService
DeleteService
EnumServicesStatus
GetUserObjectInformation
LockServiceDatabase
OpenSCManager
OpenService
StartService
UnlockServiceDatabase
Code examples:
Obtaining a handle to the desktop associated with the calling thread
GetUserObjectInformation
..msdn    Add comment     W32 Constants      Translate this page
The GetUserObjectInformation function retrieves information about a window station or desktop object.
Code examples:
Obtaining a handle to the desktop associated with the calling thread
Declaration:
BOOL GetUserObjectInformation(
  HANDLE hObj,            // handle to object
  int nIndex,             // type of information to retrieve
  PVOID pvInfo,           // information buffer
  DWORD nLength,          // size of the buffer
  LPDWORD lpnLengthNeeded // receives required buffer size
);
FoxPro declaration:
DECLARE INTEGER GetUserObjectInformation IN user32;
    INTEGER   hObj,;
    INTEGER   nIndex,;
    STRING  @ pvInfo,;
    INTEGER   nLength,;
    INTEGER @ lpnLengthNeeded
Parameters:
hObj
[in] Handle to the window station or desktop object for which to return information.

nIndex
[in] Specifies the object information to be retrieved.

pvInfo
[out] Pointer to a buffer to receive the object information.

nLength
[in] Specifies the size, in bytes, of the buffer pointed to by the pvInfo parameter.

lpnLengthNeeded
[out] Pointer to a variable receiving the number of bytes required to store the requested information.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetUserObjectInformation :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-02 18:23:09
Modified: 2002-01-02 18:25:25
Visited in last 7 days: 21
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.212.93)
12 sec.Function: 'SQLTables'
22 sec.Function: 'GdipGetFontCollectionFamilyCount'
34 sec.Function: 'GdipFillRectangle'
46 sec.Function: 'GdipGetSmoothingMode'
57 sec.Function: 'SQLGetConnectAttr'
1.17 min.Function: 'SQLNativeSql'
1.35 min.
Function group: 'System Shutdown'
1.52 min.Function: 'Sleep'
1.72 min.Function: 'GetWindowContextHelpId'
1.92 min.Function: 'GetMonitorInfo'
Google
Advertise here!