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.

47 lines
1.4 KiB

  1. // TrustMgr.idl : IDL source for TrustMgr.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (TrustMgr.tlb) and marshalling code.
  5. //import "..\..\Common\IDL\McsPI.idl";
  6. import "McsPI.idl";
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9. [
  10. object,
  11. uuid(F88BBE74-7BF0-4F8B-B3B4-78BDC9E7E771),
  12. helpstring("ITrust Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface ITrust : IUnknown
  16. {
  17. [helpstring("method QueryTrust")] HRESULT QueryTrust(BSTR domainSource, BSTR domainTrust, [out]IUnknown ** pVarSet);
  18. [helpstring("method CreateTrust")] HRESULT CreateTrust(BSTR domTrusting, BSTR domTrusted, BOOL bBidirectional);
  19. [helpstring("method QueryTrusts")] HRESULT QueryTrusts(BSTR domainSource,BSTR domainTarget,[in]BSTR sLogFile,[out]IUnknown **pVarSet);
  20. [helpstring("method CreateTrustWithCreds")] HRESULT CreateTrustWithCreds(BSTR domTrusting, BSTR domTrusted,BSTR credTrustingDomain, BSTR credTrustingAccount, BSTR credTrustingPassword,BSTR credTrustedDomain, BSTR credTrustedAccount, BSTR credTrustedPassword, BOOL bBidirectional);
  21. };
  22. [
  23. uuid(E899F47D-AD4C-4056-8CFB-E7B5DFB7D977),
  24. version(1.0),
  25. helpstring("TrustMgr 1.0 Type Library")
  26. ]
  27. library TRUSTMGRLib
  28. {
  29. importlib("stdole32.tlb");
  30. importlib("stdole2.tlb");
  31. [
  32. uuid(508A9D69-1515-4D83-842F-32123B345C28),
  33. helpstring("Trust Class")
  34. ]
  35. coclass Trust
  36. {
  37. [default] interface ITrust;
  38. interface IMcsDomPlugIn;
  39. };
  40. };