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. //---------------------------------------------------------------------------
  2. // McsEnumTrustRelations.idl : IDL source for McsEnumTrustRelations.dll
  3. //
  4. // IDL source for McsEnumTrustRelations.dll: a COM object for enumerating trust relationships
  5. //
  6. // (c) Copyright 1999, Mission Critical Software, Inc., All Rights Reserved
  7. //
  8. // Proprietary and confidential to Mission Critical Software, Inc.
  9. //---------------------------------------------------------------------------
  10. // This file will be processed by the MIDL tool to
  11. // produce the type library (McsEnumTrustRelations.tlb) and marshalling code.
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. [
  15. object,
  16. uuid(8FFC5DF0-2357-11D3-AFC9-0090270D4944),
  17. dual,
  18. helpstring("ITrustEnumerator Interface"),
  19. pointer_default(unique)
  20. ]
  21. interface ITrustEnumerator : IDispatch
  22. {
  23. [id(1), helpstring("method getTrustRelations")] HRESULT getTrustRelations([in] BSTR server, [out, retval] IUnknown **enumeration);
  24. [id(2), helpstring("method createTrust")] HRESULT createTrust([in] BSTR trustingDomain, [in] BSTR trustedDomain);
  25. };
  26. [
  27. uuid(70845970-2357-11D3-AFC9-0090270D4944),
  28. version(1.0),
  29. helpstring("McsEnumTrustRelations 1.0 Type Library")
  30. ]
  31. library MCSENUMTRUSTRELATIONSLib
  32. {
  33. importlib("stdole32.tlb");
  34. importlib("stdole2.tlb");
  35. [
  36. uuid(C5044560-1F6B-11D3-AFC5-0090270D4944),
  37. helpstring("TrustEnumerator Class")
  38. ]
  39. coclass TrustEnumerator
  40. {
  41. [default] interface ITrustEnumerator;
  42. };
  43. };