Windows NT 4.0 source code leak
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.

67 lines
1.3 KiB

4 years ago
  1. /*
  2. * hello.odl
  3. *
  4. *
  5. *
  6. IDispatch* Hello.Application {D3CE6D43-F1AF-1068-9FBB-08002B32372A}
  7. Type library: hello.tlb {D3CE6D44-F1AF-1068-9FBB-08002B32372A}
  8. Interface: IHello {D3CE6D45-F1AF-1068-9FBB-08002B32372A}
  9. *
  10. *
  11. *
  12. */
  13. [
  14. uuid(D3CE6D44-F1AF-1068-9FBB-08002B32372A),
  15. helpstring("OLE Automation Hello 1.0 Type Library"),
  16. lcid(0x0409),
  17. version(1.0)
  18. ]
  19. library Hello
  20. {
  21. #ifdef WIN32
  22. importlib("stdole32.tlb");
  23. #else
  24. importlib("stdole.tlb");
  25. #endif
  26. [
  27. // The uuid for the interface IID_IHelloPro.
  28. odl,
  29. uuid(D3CE6D45-F1AF-1068-9FBB-08002B32372A),
  30. helpstring("Hello")
  31. ]
  32. interface _IHello : IUnknown
  33. {
  34. [id(0), propput]
  35. void HelloMessage([in] BSTR b);
  36. [id (0), propget, helpstring("The message that will be displayed.")]
  37. BSTR HelloMessage();
  38. BSTR SayHello(void);
  39. }
  40. [
  41. uuid(D3CE6D46-F1AF-1068-9FBB-08002B32372A),
  42. helpstring("Hello DispInterface")
  43. ]
  44. dispinterface _DHello
  45. {
  46. interface _IHello;
  47. }
  48. [ // The uuid for the class we expose. Same as registry
  49. // entry for hello.hello
  50. uuid(D3CE6D43-F1AF-1068-9FBB-08002B32372A),
  51. helpstring("Hello")
  52. ]
  53. coclass Hello
  54. {
  55. dispinterface _DHello;
  56. interface _IHello;
  57. }
  58. };