Leaked source code of windows server 2003
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.
 
 
 
 
 
 

49 lines
713 B

#ifndef _KEYSVR_H_
#define _KEYSVR_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct __KEYSVC_CONTEXT__ {
DWORD dwType;
LONG iRefCount;
DWORD dwAccess;
HANDLE hProfile;
LPWSTR pszServiceName;
HANDLE hLogonToken;
} KEYSVC_CONTEXT, *PKEYSVC_CONTEXT;
// provider information
typedef struct _TMP_LIST_INFO_ {
void *pInfo;
struct _TMP_LIST_INFO_ *pNext;
} TMP_LIST_INFO, *PTMP_LIST_INFO;
DWORD
StartKeyService(
VOID
);
DWORD
StopKeyService(
VOID
);
VOID
MyLogErrorMessage(
DWORD dwErr,
DWORD dwMsgId
);
#ifdef __cplusplus
}
#endif
#endif // _KEYSVR_H_