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

  1. #ifndef _KEYSVR_H_
  2. #define _KEYSVR_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. typedef struct __KEYSVC_CONTEXT__ {
  7. DWORD dwType;
  8. LONG iRefCount;
  9. DWORD dwAccess;
  10. HANDLE hProfile;
  11. LPWSTR pszServiceName;
  12. HANDLE hLogonToken;
  13. } KEYSVC_CONTEXT, *PKEYSVC_CONTEXT;
  14. // provider information
  15. typedef struct _TMP_LIST_INFO_ {
  16. void *pInfo;
  17. struct _TMP_LIST_INFO_ *pNext;
  18. } TMP_LIST_INFO, *PTMP_LIST_INFO;
  19. DWORD
  20. StartKeyService(
  21. VOID
  22. );
  23. DWORD
  24. StopKeyService(
  25. VOID
  26. );
  27. VOID
  28. MyLogErrorMessage(
  29. DWORD dwErr,
  30. DWORD dwMsgId
  31. );
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35. #endif // _KEYSVR_H_