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.

218 lines
7.6 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. [propget, id(DISPID_PCH_SVC__REMOTEMODEMCONNECTED)] HRESULT RemoteModemConnected ( [out, retval] VARIANT_BOOL *pVal );
  57. };
  58. [
  59. object,
  60. uuid(833E4201-AFF7-4AC3-AAC2-9F24C1457BCE),
  61. dual,
  62. oleautomation,
  63. helpstring("IPCHRemoteHelpContents Interface"),
  64. pointer_default(unique)
  65. ]
  66. interface IPCHRemoteHelpContents : IDispatch
  67. {
  68. //
  69. // Properties
  70. //
  71. [propget, id(DISPID_PCH_RHC__SKU )] HRESULT SKU ( [out, retval] BSTR *pVal );
  72. [propget, id(DISPID_PCH_RHC__LANGUAGE )] HRESULT Language ( [out, retval] long *pVal );
  73. [propget, id(DISPID_PCH_RHC__LISTOFFILES)] HRESULT ListOfFiles( [out, retval] VARIANT *pVal );
  74. //
  75. // Methods
  76. //
  77. [id(DISPID_PCH_RHC__GETDATABASE)] HRESULT GetDatabase( [out, retval] IUnknown* *pVal );
  78. [id(DISPID_PCH_RHC__GETFILE )] HRESULT GetFile ( [in] BSTR bstrFileName, [out, retval] IUnknown* *pVal );
  79. };
  80. ////////////////////////////////////////////////////////////////////////////////
  81. #ifndef NOJETBLUECOM
  82. [
  83. object,
  84. uuid(833E4F01-AFF7-4AC3-AAC2-9F24C1457BCE),
  85. dual,
  86. oleautomation,
  87. helpstring("IPCHDBCollection Interface"),
  88. pointer_default(unique)
  89. ]
  90. interface IPCHDBCollection : IDispatch
  91. {
  92. [propget, id(DISPID_NEWENUM)] HRESULT _NewEnum( [out, retval] IUnknown* *pVal );
  93. [propget, id(DISPID_VALUE) ] HRESULT Item ( [in] VARIANT vIndex, [out, retval] VARIANT *ppEntry );
  94. [propget ] HRESULT Count ( [out, retval] long *pVal );
  95. };
  96. [
  97. object,
  98. uuid(833E4F02-AFF7-4AC3-AAC2-9F24C1457BCE),
  99. dual,
  100. oleautomation,
  101. helpstring("IPCHDBColumn Interface"),
  102. pointer_default(unique)
  103. ]
  104. interface IPCHDBColumn : IDispatch
  105. {
  106. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  107. [propget] HRESULT Type ( [out, retval] long *pVal );
  108. [propget] HRESULT Bits ( [out, retval] long *pVal );
  109. [propget] HRESULT Value( [out, retval] VARIANT *pVal );
  110. [propput] HRESULT Value( [in] VARIANT newVal );
  111. };
  112. [
  113. object,
  114. uuid(833E4F03-AFF7-4AC3-AAC2-9F24C1457BCE),
  115. dual,
  116. oleautomation,
  117. helpstring("IPCHDBIndex Interface"),
  118. pointer_default(unique)
  119. ]
  120. interface IPCHDBIndex : IDispatch
  121. {
  122. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  123. [propget] HRESULT Columns( [out, retval] IPCHDBCollection* *pVal );
  124. };
  125. [
  126. object,
  127. uuid(833E4F04-AFF7-4AC3-AAC2-9F24C1457BCE),
  128. dual,
  129. oleautomation,
  130. helpstring("IPCHDBTable Interface"),
  131. pointer_default(unique)
  132. ]
  133. interface IPCHDBTable : IDispatch
  134. {
  135. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  136. [propget] HRESULT Columns( [out, retval] IPCHDBCollection* *pVal );
  137. [propget] HRESULT Indexes( [out, retval] IPCHDBCollection* *pVal );
  138. ////////////////////
  139. HRESULT SelectIndex ( [in] BSTR bstrIndex, [in] long grbit );
  140. HRESULT SetIndexRange( [in] long grbit );
  141. HRESULT PrepareInsert();
  142. HRESULT PrepareUpdate();
  143. HRESULT Move( [in] long grbit, [in] long cRow, [out, retval] VARIANT_BOOL *pfValid );
  144. HRESULT Seek( [in] long grbit, [in] VARIANT vKey, [out, retval] VARIANT_BOOL *pfValid );
  145. HRESULT UpdateRecord();
  146. HRESULT DeleteRecord();
  147. };
  148. [
  149. object,
  150. uuid(833E4F05-AFF7-4AC3-AAC2-9F24C1457BCE),
  151. dual,
  152. oleautomation,
  153. helpstring("IPCHDBDatabase Interface"),
  154. pointer_default(unique)
  155. ]
  156. interface IPCHDBDatabase : IDispatch
  157. {
  158. [propget] HRESULT Name ( [out, retval] BSTR *pVal );
  159. [propget] HRESULT Tables( [out, retval] IPCHDBCollection* *pVal );
  160. HRESULT AttachTable( [in] BSTR bstrName, [in, optional] VARIANT vXMLDef, [out,retval] IPCHDBTable* *pVal );
  161. };
  162. [
  163. object,
  164. uuid(833E4F06-AFF7-4AC3-AAC2-9F24C1457BCE),
  165. dual,
  166. oleautomation,
  167. helpstring("IPCHDBSession Interface"),
  168. pointer_default(unique)
  169. ]
  170. interface IPCHDBSession : IDispatch
  171. {
  172. [propget] HRESULT Databases( [out, retval] IPCHDBCollection* *pVal );
  173. HRESULT AttachDatabase( [in] BSTR bstrName, [in, optional] VARIANT vCreate, [out,retval] IPCHDBDatabase* *pVal );
  174. HRESULT BeginTransaction ();
  175. HRESULT CommitTransaction ();
  176. HRESULT RollbackTransaction();
  177. };
  178. #endif