summaryrefslogtreecommitdiffstats
path: root/private/ole32/dcomss/olescm/init.hxx
blob: c6056bca4d7196666d71d70f2122f1a65a1f8d99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//+-------------------------------------------------------------------
//
//  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__