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.

136 lines
3.9 KiB

  1. // msinfo32.idl : IDL source for msinfo32.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (msinfo32.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. #include "olectl.h"
  8. [
  9. object,
  10. uuid(2A930152-AE13-4659-A011-36377D5FC438),
  11. dual,
  12. helpstring("IMSInfo Interface"),
  13. pointer_default(unique)
  14. ]
  15. interface IMSInfo : IDispatch
  16. {
  17. [propput, id(DISPID_AUTOSIZE)]
  18. HRESULT AutoSize([in]VARIANT_BOOL vbool);
  19. [propget, id(DISPID_AUTOSIZE)]
  20. HRESULT AutoSize([out,retval]VARIANT_BOOL* pbool);
  21. [propput, id(DISPID_BACKCOLOR)]
  22. HRESULT BackColor([in]OLE_COLOR clr);
  23. [propget, id(DISPID_BACKCOLOR)]
  24. HRESULT BackColor([out,retval]OLE_COLOR* pclr);
  25. [propput, id(DISPID_BACKSTYLE)]
  26. HRESULT BackStyle([in]long style);
  27. [propget, id(DISPID_BACKSTYLE)]
  28. HRESULT BackStyle([out,retval]long* pstyle);
  29. [propput, id(DISPID_BORDERCOLOR)]
  30. HRESULT BorderColor([in]OLE_COLOR clr);
  31. [propget, id(DISPID_BORDERCOLOR)]
  32. HRESULT BorderColor([out, retval]OLE_COLOR* pclr);
  33. [propput, id(DISPID_BORDERSTYLE)]
  34. HRESULT BorderStyle([in]long style);
  35. [propget, id(DISPID_BORDERSTYLE)]
  36. HRESULT BorderStyle([out, retval]long* pstyle);
  37. [propput, id(DISPID_BORDERWIDTH)]
  38. HRESULT BorderWidth([in]long width);
  39. [propget, id(DISPID_BORDERWIDTH)]
  40. HRESULT BorderWidth([out, retval]long* width);
  41. [propputref, id(DISPID_FONT)]
  42. HRESULT Font([in]IFontDisp* pFont);
  43. [propput, id(DISPID_FONT)]
  44. HRESULT Font([in]IFontDisp* pFont);
  45. [propget, id(DISPID_FONT)]
  46. HRESULT Font([out, retval]IFontDisp** ppFont);
  47. [propput, id(DISPID_FORECOLOR)]
  48. HRESULT ForeColor([in]OLE_COLOR clr);
  49. [propget, id(DISPID_FORECOLOR)]
  50. HRESULT ForeColor([out,retval]OLE_COLOR* pclr);
  51. [propget, id(DISPID_HWND)]
  52. HRESULT Window([out, retval]LONG_PTR* phwnd);
  53. [propput, id(DISPID_BORDERVISIBLE)]
  54. HRESULT BorderVisible([in]VARIANT_BOOL vbool);
  55. [propget, id(DISPID_BORDERVISIBLE)]
  56. HRESULT BorderVisible([out, retval]VARIANT_BOOL* pbool);
  57. [propput, id(DISPID_APPEARANCE)]
  58. HRESULT Appearance([in]short appearance);
  59. [propget, id(DISPID_APPEARANCE)]
  60. HRESULT Appearance([out, retval]short* pappearance);
  61. [id(1), helpstring("method SetHistoryStream")] HRESULT SetHistoryStream(IStream * pStream);
  62. [propget, id(2), helpstring("property DCO_IUnknown")] HRESULT DCO_IUnknown([out, retval] IUnknown* *pVal);
  63. [propput, id(2), helpstring("property DCO_IUnknown")] HRESULT DCO_IUnknown([in] IUnknown* newVal);
  64. [id(5), helpstring("method SaveFile")] HRESULT SaveFile(BSTR filename, BSTR computer, BSTR category);
  65. [id(6), helpstring("method UpdateDCOProgress")] HRESULT UpdateDCOProgress(VARIANT varPctDone);
  66. };
  67. //#ifdef MSINFO_INCLUDE_PROVIDER
  68. [
  69. object,
  70. uuid(045C352A-C665-4862-B6F4-21B148BE642B),
  71. dual,
  72. helpstring("IWhqlObj Interface"),
  73. pointer_default(unique)
  74. ]
  75. interface IWhqlObj : IDispatch
  76. {
  77. };
  78. //#endif
  79. [
  80. object,
  81. uuid(CA785AEF-EA86-46E6-BE6F-9EE6CABBFA67),
  82. dual,
  83. helpstring("IMSPID Interface"),
  84. pointer_default(unique)
  85. ]
  86. interface IMSPID : IDispatch
  87. {
  88. [id(1), helpstring("Returns Installed MS Products & their PIDS")] HRESULT GetPIDInfo([in, defaultvalue(NULL)] VARIANT *pMachineName, [out, retval] VARIANT *pVal);
  89. };
  90. [
  91. uuid(7AC18319-0739-4377-8984-848573D519A5),
  92. version(1.0),
  93. helpstring("msinfo32 1.0 Type Library")
  94. ]
  95. library MSINFO32Lib
  96. {
  97. importlib("stdole32.tlb");
  98. importlib("stdole2.tlb");
  99. [
  100. uuid(273380E8-1438-4B2C-95B0-713284FBC302),
  101. helpstring("MSInfo Class")
  102. ]
  103. coclass MSInfo
  104. {
  105. [default] interface IMSInfo;
  106. };
  107. //#ifdef MSINFO_INCLUDE_PROVIDER
  108. [
  109. uuid(A0F93E27-F05D-4153-A151-F3720369A4C7),
  110. helpstring("WhqlObj Class")
  111. ]
  112. coclass WhqlObj
  113. {
  114. [default] interface IWhqlObj;
  115. };
  116. //#endif
  117. [
  118. uuid(4ECB650F-4630-41D3-AC9A-C8F926FC5907),
  119. helpstring("MSPID Class")
  120. ]
  121. coclass MSPID
  122. {
  123. [default] interface IMSPID;
  124. };
  125. };