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.

70 lines
2.0 KiB

  1. // CertWiz.odl : type library source for ActiveX Control project.
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (CertWiz.tlb) that will become a resource in
  4. // CertWiz.ocx.
  5. #include <olectl.h>
  6. #include <idispids.h>
  7. [ uuid(D4BE862F-0C85-11D2-91B1-00C04F8C8761), version(1.0),
  8. helpfile("CertWiz.hlp"),
  9. helpstring("CertWiz ActiveX Control module"),
  10. control ]
  11. library CERTWIZLib
  12. {
  13. importlib(STDOLE_TLB);
  14. importlib(STDTYPE_TLB);
  15. // Primary dispatch interface for CCertWizCtrl
  16. [ uuid(D4BE8630-0C85-11D2-91B1-00C04F8C8761),
  17. helpstring("Dispatch interface for CertWiz Control"), hidden ]
  18. dispinterface _DCertWiz
  19. {
  20. properties:
  21. // NOTE - ClassWizard will maintain property information here.
  22. // Use extreme caution when editing this section.
  23. //{{AFX_ODL_PROP(CCertWizCtrl)
  24. //}}AFX_ODL_PROP
  25. methods:
  26. // NOTE - ClassWizard will maintain method information here.
  27. // Use extreme caution when editing this section.
  28. //{{AFX_ODL_METHOD(CCertWizCtrl)
  29. [id(1)] void SetMachineName(BSTR MachineName);
  30. [id(2)] void SetServerInstance(BSTR InstanceName);
  31. [id(DISPID_DOCLICK)] void DoClick();
  32. //}}AFX_ODL_METHOD
  33. };
  34. // Event dispatch interface for CCertWizCtrl
  35. [ uuid(D4BE8631-0C85-11D2-91B1-00C04F8C8761),
  36. helpstring("Event interface for CertWiz Control") ]
  37. dispinterface _DCertWizEvents
  38. {
  39. properties:
  40. // Event interface has no properties
  41. methods:
  42. // NOTE - ClassWizard will maintain event information here.
  43. // Use extreme caution when editing this section.
  44. //{{AFX_ODL_EVENT(CCertWizCtrl)
  45. //}}AFX_ODL_EVENT
  46. };
  47. // Class information for CCertWizCtrl
  48. [ uuid(D4BE8632-0C85-11D2-91B1-00C04F8C8761),
  49. helpstring("CertWiz Control"), control ]
  50. coclass CertWiz
  51. {
  52. [default] dispinterface _DCertWiz;
  53. [default, source] dispinterface _DCertWizEvents;
  54. };
  55. //{{AFX_APPEND_ODL}}
  56. //}}AFX_APPEND_ODL}}
  57. };