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.

127 lines
4.0 KiB

  1. // certmap.odl : type library source for OLE Control project.
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (certmap.tlb) that will become a resource in
  4. // certmap.ocx.
  5. #include <olectl.h>
  6. #include <idispids.h>
  7. [ uuid(BBD8F298-6F61-11D0-A26E-08002B2C6F32), version(1.0),
  8. helpstring("certmap OLE Control module"), control ]
  9. library CERTMAPLib
  10. {
  11. importlib(STDOLE_TLB);
  12. importlib(STDTYPE_TLB);
  13. // Primary dispatch interface for CCertmapCtrl
  14. [ uuid(BBD8F299-6F61-11D0-A26E-08002B2C6F32),
  15. helpstring("Dispatch interface for Microsoft Certificate Mapper"), hidden ]
  16. dispinterface _DCertmap
  17. {
  18. properties:
  19. // NOTE - ClassWizard will maintain property information here.
  20. // Use extreme caution when editing this section.
  21. //{{AFX_ODL_PROP(CCertmapCtrl)
  22. [id(DISPID_FONT), bindable] IFontDisp* Font;
  23. [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  24. [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  25. [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  26. //}}AFX_ODL_PROP
  27. methods:
  28. // NOTE - ClassWizard will maintain method information here.
  29. // Use extreme caution when editing this section.
  30. //{{AFX_ODL_METHOD(CCertmapCtrl)
  31. [id(1)] void SetServerInstance(BSTR szServerInstance);
  32. [id(2)] void SetMachineName(BSTR szMachineName);
  33. [id(DISPID_DOCLICK)] void DoClick();
  34. //}}AFX_ODL_METHOD
  35. };
  36. // Event dispatch interface for CCertmapCtrl
  37. [ uuid(BBD8F29A-6F61-11D0-A26E-08002B2C6F32),
  38. helpstring("Event interface for Microsoft Certificate Mapper") ]
  39. dispinterface _DCertmapEvents
  40. {
  41. properties:
  42. // Event interface has no properties
  43. methods:
  44. // NOTE - ClassWizard will maintain event information here.
  45. // Use extreme caution when editing this section.
  46. //{{AFX_ODL_EVENT(CCertmapCtrl)
  47. [id(DISPID_CLICK)] void Click();
  48. [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
  49. //}}AFX_ODL_EVENT
  50. };
  51. // Class information for CCertmapCtrl
  52. [ uuid(BBD8F29B-6F61-11D0-A26E-08002B2C6F32),
  53. helpstring("Microsoft Certificate Mapper"), control ]
  54. coclass Certmap
  55. {
  56. [default] dispinterface _DCertmap;
  57. [default, source] dispinterface _DCertmapEvents;
  58. };
  59. // Primary dispatch interface for CCertAuthCtrl
  60. [ uuid(0996FF6D-B6A1-11D0-9292-00C04FB6678B),
  61. helpstring("Dispatch interface for Certificate Authority Control"), hidden ]
  62. dispinterface _DCertAuth
  63. {
  64. properties:
  65. // NOTE - ClassWizard will maintain property information here.
  66. // Use extreme caution when editing this section.
  67. //{{AFX_ODL_PROP(CCertAuthCtrl)
  68. [id(DISPID_FONT), bindable] IFontDisp* Font;
  69. [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  70. [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  71. [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  72. //}}AFX_ODL_PROP
  73. methods:
  74. // NOTE - ClassWizard will maintain method information here.
  75. // Use extreme caution when editing this section.
  76. //{{AFX_ODL_METHOD(CCertAuthCtrl)
  77. [id(1)] void SetMachineName(BSTR szMachineName);
  78. [id(2)] void SetServerInstance(BSTR szServerInstance);
  79. [id(DISPID_DOCLICK)] void DoClick(long dwButtonNumber);
  80. //}}AFX_ODL_METHOD
  81. [id(DISPID_ABOUTBOX)] void AboutBox();
  82. };
  83. // Event dispatch interface for CCertAuthCtrl
  84. [ uuid(0996FF6E-B6A1-11D0-9292-00C04FB6678B),
  85. helpstring("Event interface for Certificate Authority Control") ]
  86. dispinterface _DCertAuthEvents
  87. {
  88. properties:
  89. // Event interface has no properties
  90. methods:
  91. // NOTE - ClassWizard will maintain event information here.
  92. // Use extreme caution when editing this section.
  93. //{{AFX_ODL_EVENT(CCertAuthCtrl)
  94. [id(DISPID_CLICK)] void Click();
  95. //}}AFX_ODL_EVENT
  96. };
  97. // Class information for CCertAuthCtrl
  98. [ uuid(0996FF6F-B6A1-11D0-9292-00C04FB6678B),
  99. helpstring("Certificate Authority Control"), control ]
  100. coclass CertAuth
  101. {
  102. [default] dispinterface _DCertAuth;
  103. [default, source] dispinterface _DCertAuthEvents;
  104. };
  105. //{{AFX_APPEND_ODL}}
  106. };