Source code of Windows XP (NT5)
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.

95 lines
2.7 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 LpcPing;
  20. LSA_DISPATCH_FN LpcDetach;
  21. LSA_DISPATCH_FN LpcGetState;
  22. LSA_DISPATCH_FN LpcGetBinding;
  23. LSA_DISPATCH_FN LpcSetSession;
  24. LSA_DISPATCH_FN LpcFindPackage;
  25. LSA_DISPATCH_FN LpcEnumPackages;
  26. LSA_DISPATCH_FN LpcAcquireCreds;
  27. LSA_DISPATCH_FN LpcEstablishCreds;
  28. LSA_DISPATCH_FN LpcFreeCredHandle;
  29. LSA_DISPATCH_FN LpcLogonUser;
  30. LSA_DISPATCH_FN LpcInitContext;
  31. LSA_DISPATCH_FN LpcAcceptContext;
  32. LSA_DISPATCH_FN LpcApplyToken;
  33. LSA_DISPATCH_FN LpcDeleteContext;
  34. LSA_DISPATCH_FN LpcSecPkgControl;
  35. LSA_DISPATCH_FN LpcQueryPackage;
  36. LSA_DISPATCH_FN LpcFindDC;
  37. LSA_DISPATCH_FN LpcFindDomain;
  38. LSA_DISPATCH_FN LpcGetUserInfo;
  39. LSA_DISPATCH_FN LpcGetCreds;
  40. LSA_DISPATCH_FN LpcSaveCreds;
  41. LSA_DISPATCH_FN LpcDeleteCreds;
  42. LSA_DISPATCH_FN LpcParseName;
  43. LSA_DISPATCH_FN LpcFindRemoteDomain;
  44. LSA_DISPATCH_FN LpcQueryCredAttributes;
  45. LSA_DISPATCH_FN LpcChangeState;
  46. LSA_DISPATCH_FN LpcQueryState;
  47. LSA_DISPATCH_FN LpcStoreSecret;
  48. LSA_DISPATCH_FN LpcRetrieveSecret;
  49. LSA_DISPATCH_FN LpcEnumerateSecrets;
  50. LSA_DISPATCH_FN LpcLocatorOp;
  51. LSA_DISPATCH_FN LpcGrantProxy;
  52. LSA_DISPATCH_FN LpcRevokeProxy;
  53. LSA_DISPATCH_FN LpcInvokeProxy;
  54. LSA_DISPATCH_FN LpcRenewProxy;
  55. LSA_DISPATCH_FN LpcAddPackage;
  56. LSA_DISPATCH_FN LpcDeletePackage;
  57. LSA_DISPATCH_FN LpcEfsGenerateKey;
  58. LSA_DISPATCH_FN LpcEfsGenerateDirEfs;
  59. LSA_DISPATCH_FN LpcEfsDecryptFek;
  60. LSA_DISPATCH_FN LpcEfsGenerateSessionKey;
  61. LSA_DISPATCH_FN LpcQueryContextAttributes;
  62. LSA_DISPATCH_FN LpcSetContextAttributes;
  63. LSA_DISPATCH_FN LpcCallback;
  64. SECURITY_STATUS LpcLsaPolicyChangeNotify( PSPM_LPC_MESSAGE pApiMessage );
  65. LSA_DISPATCH_FN LpcGetUserName;
  66. LSA_DISPATCH_FN LpcAddCredentials ;
  67. LSA_DISPATCH_FN LpcEnumLogonSessions ;
  68. LSA_DISPATCH_FN LpcGetLogonSessionData ;
  69. LSA_DISPATCH_FN LpcLookupAccountName ;
  70. LSA_DISPATCH_FN LpcLookupAccountSid ;
  71. LSA_DISPATCH_FN DispatchAPI ;
  72. LSA_DISPATCH_FN DispatchAPIDirect ;
  73. extern PLSA_DISPATCH_FN DllCallbackHandler ;
  74. NTSTATUS
  75. LsapClientCallback(
  76. PSession Session,
  77. ULONG Type,
  78. PVOID Function,
  79. PVOID Argument1,
  80. PVOID Argument2,
  81. PSecBuffer Input,
  82. PSecBuffer Output
  83. );
  84. typedef PVOID (NTAPI DSA_THSave)(VOID);
  85. typedef VOID (NTAPI DSA_THRestore)(PVOID);
  86. extern BOOL fAllowInProcSessions ;
  87. extern DSA_THSave * GetDsaThreadState ;
  88. extern DSA_THRestore * RestoreDsaThreadState ;