Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RegQueryInfoKey
Message
From
12/12/2003 03:41:12
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
RegQueryInfoKey
Miscellaneous
Thread ID:
00858489
Message ID:
00858489
Views:
52
Hi All,

could please somebody point out how to use API Function RegQueryInfoKey?

Declaration

LONG RegQueryInfoKey(
HKEY hKey, // handle to key
LPTSTR lpClass, // class buffer
LPDWORD lpcClass, // size of class buffer
LPDWORD lpReserved, // reserved
LPDWORD lpcSubKeys, // number of subkeys
LPDWORD lpcMaxSubKeyLen, // longest subkey name
LPDWORD lpcMaxClassLen, // longest class string
LPDWORD lpcValues, // number of value entries
LPDWORD lpcMaxValueNameLen, // longest value name
LPDWORD lpcMaxValueLen, // longest value data
LPDWORD lpcbSecurityDescriptor, // descriptor length
PFILETIME lpftLastWriteTime // last write time
);

Declaration of the PFILETIME struct:

typedef struct _FILETIME {
DWORD dwLowDateTime;
DWORD dwHighDateTime;
} FILETIME, *PFILETIME;
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Next
Reply
Map
View

Click here to load this message in the networking platform