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.

37 lines
783 B

  1. // comtest.idl : IDL source for comtest.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (comtest.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(FEE1509A-BC8F-11D2-9D5E-0000F81EF32E),
  10. helpstring("IHelloWorld Interface"),
  11. pointer_default(unique)
  12. ]
  13. interface IHelloWorld : IUnknown
  14. {
  15. [helpstring("method Print")] HRESULT Print([in] BSTR message);
  16. };
  17. [
  18. uuid(ECE5BCF2-BC8F-11D2-9D5E-0000F81EF32E),
  19. version(1.0),
  20. helpstring("comtest 1.0 Type Library")
  21. ]
  22. library COMTESTLib
  23. {
  24. importlib("stdole2.tlb");
  25. [
  26. uuid(0B7E1310-BC90-11D2-9D5E-0000F81EF32E),
  27. helpstring("HelloWorld Class")
  28. ]
  29. coclass HelloWorld
  30. {
  31. [default] interface IHelloWorld;
  32. };
  33. };