mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
//+-------------------------------------------------------------------
|
|
//
|
|
// File: init.hxx
|
|
//
|
|
// Contents: Common stuff for reading OLE registry settings
|
|
//
|
|
// History: 20-May-96 t-adame Created
|
|
//
|
|
//---------------------------------------------------------------------
|
|
|
|
#ifndef __INIT_HXX__
|
|
#define __INIT_HXX__
|
|
|
|
extern WCHAR wszInProcServer[]; // name of InProc server subkey
|
|
|
|
LONG
|
|
QueryStripRegValue(HKEY hkey, // handle of key to query
|
|
LPCWSTR pwszSubKey, // address of name of subkey to query
|
|
LPWSTR pwszValue, // address of buffer for returned string
|
|
PLONG pcbValue); // address of buffer for size of returned string
|
|
LONG
|
|
QueryStripRegNamedValue(HKEY hkey, // handle of key to query
|
|
LPCWSTR pwszSubKey, // address of name of value to query
|
|
LPWSTR pwszValue, // address of buffer for returned string
|
|
PLONG pcbValue, // address of buffer for size of returned string
|
|
BOOL* fValueRead); // whether or not the value was read
|
|
|
|
#endif // __INIT_HXX__
|
|
|
|
|