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.

50 lines
1.2 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1994
  6. //
  7. // File: package.h
  8. //
  9. // Contents: kernel package structures
  10. //
  11. //
  12. // History: 3-18-94 MikeSw Created
  13. //
  14. //------------------------------------------------------------------------
  15. #ifndef __PACKAGE_H__
  16. #define __PACKAGE_H__
  17. typedef SECURITY_STATUS
  18. (SEC_ENTRY KspInitPackageFn)(void);
  19. typedef SECURITY_STATUS
  20. (SEC_ENTRY KspDeleteContextFn)(PCtxtHandle ulContextId);
  21. typedef SECURITY_STATUS
  22. (SEC_ENTRY KspInitContextFn)(
  23. IN PUCHAR UserSessionKey,
  24. IN PUCHAR LanmanSessionKey,
  25. IN HANDLE TokenHandle,
  26. OUT PCtxtHandle ContextHandle
  27. );
  28. #if 0
  29. typedef SECURITY_STATUS
  30. (SEC_ENTRY KspGetTokenFn)( ULONG ulContextId,
  31. HANDLE * phImpersonationToken,
  32. PACCESS_TOKEN * pAccessToken);
  33. #endif
  34. KspInitPackageFn NtlmInitialize;
  35. KspInitContextFn NtlmInitKernelContext;
  36. KspDeleteContextFn NtlmDeleteKernelContext;
  37. #if 0
  38. KspGetTokenFn NtlmGetToken;
  39. #endif
  40. #endif __PACKAGE_H__