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.

74 lines
2.2 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1992 - 1994
  6. //
  7. // File: klpcstub.h
  8. //
  9. // Contents: prototypes for lpc server stubs
  10. //
  11. //
  12. // History: 3-11-94 MikeSw Created
  13. //
  14. //------------------------------------------------------------------------
  15. LSA_DISPATCH_FN LpcLsaLookupPackage;
  16. LSA_DISPATCH_FN LpcLsaLogonUser;
  17. LSA_DISPATCH_FN LpcLsaCallPackage;
  18. LSA_DISPATCH_FN LpcLsaDeregisterLogonProcess;
  19. LSA_DISPATCH_FN LpcGetBinding;
  20. LSA_DISPATCH_FN LpcSetSession;
  21. LSA_DISPATCH_FN LpcFindPackage;
  22. LSA_DISPATCH_FN LpcEnumPackages;
  23. LSA_DISPATCH_FN LpcAcquireCreds;
  24. LSA_DISPATCH_FN LpcEstablishCreds;
  25. LSA_DISPATCH_FN LpcFreeCredHandle;
  26. LSA_DISPATCH_FN LpcInitContext;
  27. LSA_DISPATCH_FN LpcAcceptContext;
  28. LSA_DISPATCH_FN LpcApplyToken;
  29. LSA_DISPATCH_FN LpcDeleteContext;
  30. LSA_DISPATCH_FN LpcQueryPackage;
  31. LSA_DISPATCH_FN LpcGetUserInfo;
  32. LSA_DISPATCH_FN LpcGetCreds;
  33. LSA_DISPATCH_FN LpcSaveCreds;
  34. LSA_DISPATCH_FN LpcQueryCredAttributes;
  35. LSA_DISPATCH_FN LpcAddPackage;
  36. LSA_DISPATCH_FN LpcDeletePackage;
  37. LSA_DISPATCH_FN LpcEfsGenerateKey;
  38. LSA_DISPATCH_FN LpcEfsGenerateDirEfs;
  39. LSA_DISPATCH_FN LpcEfsDecryptFek;
  40. LSA_DISPATCH_FN LpcEfsGenerateSessionKey;
  41. LSA_DISPATCH_FN LpcCallback;
  42. LSA_DISPATCH_FN LpcQueryContextAttributes;
  43. SECURITY_STATUS LpcLsaPolicyChangeNotify( PSPM_LPC_MESSAGE pApiMessage );
  44. LSA_DISPATCH_FN LpcGetUserName;
  45. LSA_DISPATCH_FN LpcAddCredentials ;
  46. LSA_DISPATCH_FN LpcEnumLogonSessions ;
  47. LSA_DISPATCH_FN LpcGetLogonSessionData ;
  48. LSA_DISPATCH_FN LpcSetContextAttributes;
  49. LSA_DISPATCH_FN LpcLookupAccountName ;
  50. LSA_DISPATCH_FN LpcLookupAccountSid ;
  51. LSA_DISPATCH_FN LpcLookupWellKnownSid ;
  52. LSA_DISPATCH_FN DispatchAPI ;
  53. LSA_DISPATCH_FN DispatchAPIDirect ;
  54. extern PLSA_DISPATCH_FN DllCallbackHandler ;
  55. NTSTATUS
  56. LsapClientCallback(
  57. PSession Session,
  58. ULONG Type,
  59. PVOID Function,
  60. PVOID Argument1,
  61. PVOID Argument2,
  62. PSecBuffer Input,
  63. PSecBuffer Output
  64. );
  65. typedef PVOID (NTAPI DSA_THSave)(VOID);
  66. typedef VOID (NTAPI DSA_THRestore)(PVOID);
  67. extern DSA_THSave * GetDsaThreadState ;
  68. extern DSA_THRestore * RestoreDsaThreadState ;