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.

215 lines
7.3 KiB

  1. /******************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. HelpService.idl
  5. Abstract:
  6. This file contains the declaration of the set of coclasses and interfaces
  7. implemented by the Help Center Service.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 03/14/2000
  10. created
  11. Kalyani Narlanka (Kalyanin) 10/20/2000
  12. Added functionality for Unsolicited Remote Control
  13. ******************************************************************************/
  14. cpp_quote( "#include <HelpServiceDID.h>" )
  15. #include <HelpServiceDID.h>
  16. [
  17. object,
  18. uuid(833E4200-AFF7-4AC3-AAC2-9F24C1457BCE),
  19. dual,
  20. oleautomation,
  21. helpstring("IPCHService Interface"),
  22. pointer_default(unique)
  23. ]
  24. interface IPCHService : IDispatch
  25. {
  26. //
  27. // Properties
  28. //
  29. [propget, id(DISPID_PCH_SVC__REMOTESKUS)] HRESULT RemoteSKUs( [out, retval] IPCHCollection* *pVal );
  30. ////////////////////////////////////////////////////////////////////////////////
  31. //
  32. // Methods
  33. //
  34. [id(DISPID_PCH_SVC__ISTRUSTED)] HRESULT IsTrusted( [in] BSTR bstrURL, [out, retval] VARIANT_BOOL *pfTrusted );
  35. ////////////////////////////////////////
  36. [id(DISPID_PCH_SVC__UTILITY )] HRESULT Utility ( [in] BSTR bstrSKU, [in] long lLCID, [out] IPCHUtility* *pVal );
  37. [id(DISPID_PCH_SVC__REMOTEHELPCONTENTS )] HRESULT RemoteHelpContents ( [in] BSTR bstrSKU, [in] long lLCID, [out] IPCHRemoteHelpContents* *pVal );
  38. ////////////////////////////////////////
  39. [id(DISPID_PCH_SVC__REGISTERHOST )] HRESULT RegisterHost ( [in] BSTR bstrID , [in ] IUnknown* pObj );
  40. [id(DISPID_PCH_SVC__CREATESCRIPTWRAPPER)] HRESULT CreateScriptWrapper( [in] REFCLSID rclsid, [in] BSTR bstrCode, [in] BSTR bstrURL, [out] IUnknown* *ppObj );
  41. ////////////////////////////////////////
  42. [id(DISPID_PCH_SVC__TRIGGERSCHEDULEDDATACOLLECTION)] HRESULT TriggerScheduledDataCollection( [in] VARIANT_BOOL fStart );
  43. [id(DISPID_PCH_SVC__PREPAREFORSHUTDOWN )] HRESULT PrepareForShutdown ( );
  44. [id(DISPID_PCH_SVC__FORCESYSTEMRESTORE)] HRESULT ForceSystemRestore( );
  45. [id(DISPID_PCH_SVC__UPGRADEDETECTED )] HRESULT UpgradeDetected ( );
  46. [id(DISPID_PCH_SVC__MUI_INSTALL )] HRESULT MUI_Install ( [in] long LCID, [in] BSTR bstrFile );
  47. [id(DISPID_PCH_SVC__MUI_UNINSTALL )] HRESULT MUI_Uninstall ( [in] long LCID );
  48. ////////////////////////////////////////
  49. ////////////////////////////////////////
  50. [id(DISPID_PCH_SVC__REMOTECONNECTIONPARMS)] HRESULT RemoteConnectionParms( [in] BSTR bstrUserName ,
  51. [in] BSTR bstrDomainName ,
  52. [in] long lSessionID ,
  53. [in] BSTR bstrUserHelpBlob ,
  54. [out, retval] BSTR *pbstrConnectionString );
  55. [id(DISPID_PCH_SVC__REMOTEUSERSESSIONINFO)] HRESULT RemoteUserSessionInfo( [out, retval] IPCHCollection* *pVal );
  56. };
  57. [
  58. object,
  59. uuid(833E4201-AFF7-4AC3-AAC2-9F24C1457BCE),
  60. dual,
  61. oleautomation,
  62. helpstring("IPCHRemoteHelpContents Interface"),
  63. pointer_default(unique)
  64. ]
  65. interface IPCHRemoteHelpContents : IDispatch
  66. {
  67. //
  68. // Properties
  69. //
  70. [propget, id(DISPID_PCH_RHC__SKU )] HRESULT SKU ( [out, retval] BSTR *pVal );
  71. [propget, id(DISPID_PCH_RHC__LANGUAGE )] HRESULT Language ( [out, retval] long *pVal );
  72. [propget, id(DISPID_PCH_RHC__LISTOFFILES)] HRESULT ListOfFiles( [out, retval] VARIANT *pVal );
  73. //
  74. // Methods
  75. //
  76. [id(DISPID_PCH_RHC__GETDATABASE)] HRESULT GetDatabase( [out, retval] IUnknown* *pVal );
  77. [id(DISPID_PCH_RHC__GETFILE )] HRESULT GetFile ( [in] BSTR bstrFileName, [out, retval] IUnknown* *pVal );
  78. };
  79. ////////////////////////////////////////////////////////////////////////////////
  80. #ifndef NOJETBLUECOM
  81. [
  82. object,
  83. uuid(833E4F01-AFF7-4AC3-AAC2-9F24C1457BCE),
  84. dual,
  85. oleautomation,
  86. helpstring("IPCHDBCollection Interface"),
  87. pointer_default(unique)
  88. ]
  89. interface IPCHDBCollection : IDispatch
  90. {
  91. [propget, id(DISPID_NEWENUM)] HRESULT _NewEnum( [out, retval] IUnknown* *pVal );
  92. [propget, id(DISPID_VALUE) ] HRESULT Item ( [in] VARIANT vIndex, [out, retval] VARIANT *ppEntry );
  93. [propget ] HRESULT Count ( [out, retval] long *pVal );
  94. };
  95. [
  96. object,
  97. uuid(833E4F02-AFF7-4AC3-AAC2-9F24C1457BCE),
  98. dual,
  99. oleautomation,
  100. helpstring("IPCHDBColumn Interface"),
  101. pointer_default(unique)
  102. ]
  103. interface IPCHDBColumn : IDispatch
  104. {
  105. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  106. [propget] HRESULT Type ( [out, retval] long *pVal );
  107. [propget] HRESULT Bits ( [out, retval] long *pVal );
  108. [propget] HRESULT Value( [out, retval] VARIANT *pVal );
  109. [propput] HRESULT Value( [in] VARIANT newVal );
  110. };
  111. [
  112. object,
  113. uuid(833E4F03-AFF7-4AC3-AAC2-9F24C1457BCE),
  114. dual,
  115. oleautomation,
  116. helpstring("IPCHDBIndex Interface"),
  117. pointer_default(unique)
  118. ]
  119. interface IPCHDBIndex : IDispatch
  120. {
  121. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  122. [propget] HRESULT Columns( [out, retval] IPCHDBCollection* *pVal );
  123. };
  124. [
  125. object,
  126. uuid(833E4F04-AFF7-4AC3-AAC2-9F24C1457BCE),
  127. dual,
  128. oleautomation,
  129. helpstring("IPCHDBTable Interface"),
  130. pointer_default(unique)
  131. ]
  132. interface IPCHDBTable : IDispatch
  133. {
  134. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  135. [propget] HRESULT Columns( [out, retval] IPCHDBCollection* *pVal );
  136. [propget] HRESULT Indexes( [out, retval] IPCHDBCollection* *pVal );
  137. ////////////////////
  138. HRESULT SelectIndex ( [in] BSTR bstrIndex, [in] long grbit );
  139. HRESULT SetIndexRange( [in] long grbit );
  140. HRESULT PrepareInsert();
  141. HRESULT PrepareUpdate();
  142. HRESULT Move( [in] long grbit, [in] long cRow, [out, retval] VARIANT_BOOL *pfValid );
  143. HRESULT Seek( [in] long grbit, [in] VARIANT vKey, [out, retval] VARIANT_BOOL *pfValid );
  144. HRESULT UpdateRecord();
  145. HRESULT DeleteRecord();
  146. };
  147. [
  148. object,
  149. uuid(833E4F05-AFF7-4AC3-AAC2-9F24C1457BCE),
  150. dual,
  151. oleautomation,
  152. helpstring("IPCHDBDatabase Interface"),
  153. pointer_default(unique)
  154. ]
  155. interface IPCHDBDatabase : IDispatch
  156. {
  157. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  158. [propget] HRESULT Tables( [out, retval] IPCHDBCollection* *pVal );
  159. HRESULT AttachTable( [in] BSTR bstrName, [in, optional] VARIANT vXMLDef, [out,retval] IPCHDBTable* *pVal );
  160. };
  161. [
  162. object,
  163. uuid(833E4F06-AFF7-4AC3-AAC2-9F24C1457BCE),
  164. dual,
  165. oleautomation,
  166. helpstring("IPCHDBSession Interface"),
  167. pointer_default(unique)
  168. ]
  169. interface IPCHDBSession : IDispatch
  170. {
  171. [propget] HRESULT Databases( [out, retval] IPCHDBCollection* *pVal );
  172. HRESULT AttachDatabase( [in] BSTR bstrName, [in, optional] VARIANT vCreate, [out,retval] IPCHDBDatabase* *pVal );
  173. HRESULT BeginTransaction ();
  174. HRESULT CommitTransaction ();
  175. HRESULT RollbackTransaction();
  176. };
  177. #endif