mirror of https://github.com/tongzx/nt5src
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.
44 lines
596 B
44 lines
596 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
|
|
);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _KEYSVR_H_
|