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.

67 lines
2.2 KiB

  1. // HotfixManager.idl : IDL source for HotfixManager.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (HotfixManager.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(692E94C7-A5AC-401B-A471-BCD101B456F4),
  11. dual,
  12. helpstring("IHotfixOCX Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IHotfixOCX : IDispatch
  16. {
  17. [propputref, id(DISPID_FONT)]
  18. HRESULT Font([in]IFontDisp* pFont);
  19. [propput, id(DISPID_FONT)]
  20. HRESULT Font([in]IFontDisp* pFont);
  21. [propget, id(DISPID_FONT)]
  22. HRESULT Font([out, retval]IFontDisp** ppFont);
  23. [propget, id(1), helpstring("property Command")] HRESULT Command([out, retval] long *pVal);
  24. [propput, id(1), helpstring("property Command")] HRESULT Command([in] long newVal);
  25. [propget, id(2), helpstring("property ComputerName")] HRESULT ComputerName([out, retval] BSTR *pVal);
  26. [propput, id(2), helpstring("property ComputerName")] HRESULT ComputerName([in] BSTR newVal);
  27. [propget, id(3), helpstring("property ProductName")] HRESULT ProductName([out, retval] BSTR *pVal);
  28. [propput, id(3), helpstring("property ProductName")] HRESULT ProductName([in] BSTR newVal);
  29. [propget, id(4), helpstring("property ViewState")] HRESULT ViewState([out, retval] long *pVal);
  30. [propget, id(5), helpstring("property Remoted")] HRESULT Remoted([out, retval] BOOL *pVal);
  31. [propget, id(6), helpstring("property HaveHotfix")] HRESULT HaveHotfix([out, retval] BOOL *pVal);
  32. [propget, id(7), helpstring("property CurrentState")] HRESULT CurrentState([out, retval] long *pVal);
  33. };
  34. [
  35. uuid(8384D1FB-F41D-4540-B0CA-C026DA8364BD),
  36. version(1.0),
  37. helpstring("HotfixManager 1.0 Type Library")
  38. ]
  39. library HOTFIXMANAGERLib
  40. {
  41. importlib("stdole2.tlb");
  42. [
  43. uuid(7E2DCE25-E11D-45D6-9AE7-AD522D915FFC),
  44. helpstring("_IHotfixOCXEvents Interface")
  45. ]
  46. dispinterface _IHotfixOCXEvents
  47. {
  48. properties:
  49. methods:
  50. };
  51. [
  52. uuid(883B970F-690C-45F2-8A3A-F4283E078118),
  53. helpstring("HotfixOCX Class")
  54. ]
  55. coclass HotfixOCX
  56. {
  57. [default] interface IHotfixOCX;
  58. [default, source] dispinterface _IHotfixOCXEvents;
  59. };
  60. };