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.

299 lines
13 KiB

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. HelpHost_Priv.idl
  5. Abstract:
  6. This file contains the declaration of the set of coclasses and interfaces
  7. used to control the HSS from the launch API.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 11/02/2000
  10. created
  11. ******************************************************************************/
  12. import "oaidl.idl";
  13. ///////////////////////////////////////////////////////////////////////////////
  14. ///////////////////////////////////////////////////////////////////////////////
  15. ///////////////////////////////////////////////////////////////////////////////
  16. //
  17. // Forward declaration.
  18. //
  19. interface IPCHHelpHost;
  20. //// FEATURE CUT : interface IPCHHelpHostPanes;
  21. //// FEATURE CUT : interface IPCHHelpHostPane;
  22. //// FEATURE CUT : interface IPCHHelpHostWindow;
  23. //// FEATURE CUT :
  24. //// FEATURE CUT : interface IPCHHelpHostEvents;
  25. //// FEATURE CUT : interface IPCHHelpHostNavEvents;
  26. ///////////////////////////////////////////////////////////////////////////////
  27. ///////////////////////////////////////////////////////////////////////////////
  28. ///////////////////////////////////////////////////////////////////////////////
  29. [
  30. object,
  31. uuid(BF72E210-FA10-4BB5-A348-269D7615A520),
  32. dual,
  33. oleautomation,
  34. helpstring("IPCHHelpHost Interface"),
  35. pointer_default(unique)
  36. ]
  37. interface IPCHHelpHost : IDispatch
  38. {
  39. ////////////////////////////////////////
  40. //
  41. // Read/write Properties
  42. //
  43. ////////////////////////////////////////
  44. //// FEATURE CUT : [propput] HRESULT FilterName( [in] BSTR Value );
  45. //// FEATURE CUT : [propget] HRESULT FilterName( [out, retval] BSTR *pValue );
  46. ////////////////////////////////////////
  47. //
  48. // Read-only Properties
  49. //
  50. ////////////////////////////////////////
  51. //// FEATURE CUT : [propget] HRESULT Namespace ( [out, retval] BSTR *pValue );
  52. //// FEATURE CUT : [propget] HRESULT Session ( [out, retval] IDispatch* *pValue );
  53. //// FEATURE CUT : [propget] HRESULT FilterExpression( [out, retval] BSTR *pValue );
  54. //// FEATURE CUT : [propget] HRESULT CurrentUrl ( [out, retval] BSTR *pValue );
  55. //// FEATURE CUT :
  56. //// FEATURE CUT : [propget] HRESULT Panes ( [out, retval] IPCHHelpHostPanes* *pValue );
  57. //// FEATURE CUT : [propget] HRESULT HelpHostWindow ( [out, retval] IPCHHelpHostWindow* *pValue );
  58. ////////////////////////////////////////
  59. //
  60. // Methods
  61. //
  62. ////////////////////////////////////////
  63. //// FEATURE CUT : //
  64. //// FEATURE CUT : // Initialize a session for a namespace
  65. //// FEATURE CUT : //
  66. //// FEATURE CUT : HRESULT OpenNamespace( [in] BSTR newNamespace ,
  67. //// FEATURE CUT : [in] BSTR filterName );
  68. //
  69. // Navigate to a topic
  70. //
  71. HRESULT DisplayTopicFromURL( [in] BSTR url ,
  72. [in] VARIANT options );
  73. //// FEATURE CUT : //
  74. //// FEATURE CUT : // Perform keyword or other lookup
  75. //// FEATURE CUT : //
  76. //// FEATURE CUT : HRESULT DisplayResultsFromQuery( [in] BSTR query ,
  77. //// FEATURE CUT : [in] BSTR navMoniker ,
  78. //// FEATURE CUT : [in] VARIANT options ); // show only 1
  79. //// FEATURE CUT :
  80. //// FEATURE CUT : //
  81. //// FEATURE CUT : // Show a UI element
  82. //// FEATURE CUT : //
  83. //// FEATURE CUT : // <paneName> examples :
  84. //// FEATURE CUT : //
  85. //// FEATURE CUT : // //topic/1
  86. //// FEATURE CUT : // //toc/1
  87. //// FEATURE CUT : // //index/1
  88. //// FEATURE CUT : // //search/1
  89. //// FEATURE CUT : //
  90. //// FEATURE CUT : //
  91. //// FEATURE CUT : HRESULT ShowPane( [in] BSTR paneName , // "path" style name of pane
  92. //// FEATURE CUT : [in] BSTR query , // prepopulate edit box (optional)
  93. //// FEATURE CUT : [in] BSTR navMoniker ,
  94. //// FEATURE CUT : [in] VARIANT options ); // options: hide, doquery
  95. //// FEATURE CUT :
  96. //// FEATURE CUT :
  97. //// FEATURE CUT : //
  98. //// FEATURE CUT : // Close the Help window
  99. //// FEATURE CUT : //
  100. //// FEATURE CUT : HRESULT Terminate();
  101. //// FEATURE CUT :
  102. //// FEATURE CUT :
  103. //// FEATURE CUT : //
  104. //// FEATURE CUT : // PRIVATE to the HSS
  105. //// FEATURE CUT : //
  106. //// FEATURE CUT : HRESULT PRIV_Init( [in] IUnknown* pCaller );
  107. };
  108. //// FEATURE CUT : [
  109. //// FEATURE CUT : object,
  110. //// FEATURE CUT : uuid(BF72E211-FA10-4BB5-A348-269D7615A520),
  111. //// FEATURE CUT : dual,
  112. //// FEATURE CUT : oleautomation,
  113. //// FEATURE CUT : helpstring("IPCHHelpHostPanes Interface"),
  114. //// FEATURE CUT : pointer_default(unique)
  115. //// FEATURE CUT : ]
  116. //// FEATURE CUT : interface IPCHHelpHostPanes : IDispatch
  117. //// FEATURE CUT : {
  118. //// FEATURE CUT : [propget, id(DISPID_NEWENUM)] HRESULT _NewEnum( [out, retval] IUnknown* *pVal );
  119. //// FEATURE CUT : [propget, id(DISPID_VALUE) ] HRESULT Item ( [in] VARIANT vIndex, [out, retval] VARIANT *ppEntry );
  120. //// FEATURE CUT : [propget ] HRESULT Count ( [out, retval] long *pVal );
  121. //// FEATURE CUT : };
  122. //// FEATURE CUT :
  123. //// FEATURE CUT : [
  124. //// FEATURE CUT : object,
  125. //// FEATURE CUT : uuid(BF72E212-FA10-4BB5-A348-269D7615A520),
  126. //// FEATURE CUT : dual,
  127. //// FEATURE CUT : oleautomation,
  128. //// FEATURE CUT : helpstring("IPCHHelpHostPane Interface"),
  129. //// FEATURE CUT : pointer_default(unique)
  130. //// FEATURE CUT : ]
  131. //// FEATURE CUT : interface IPCHHelpHostPane : IDispatch
  132. //// FEATURE CUT : {
  133. //// FEATURE CUT : ////////////////////////////////////////
  134. //// FEATURE CUT : //
  135. //// FEATURE CUT : // Read/write Properties
  136. //// FEATURE CUT : //
  137. //// FEATURE CUT : ////////////////////////////////////////
  138. //// FEATURE CUT :
  139. //// FEATURE CUT : [propput] HRESULT Visible ( [in ] VARIANT_BOOL Value );
  140. //// FEATURE CUT : [propget] HRESULT Visible ( [out, retval] VARIANT_BOOL *pValue );
  141. //// FEATURE CUT :
  142. //// FEATURE CUT : [propput] HRESULT NavMoniker( [in ] BSTR Value );
  143. //// FEATURE CUT : [propget] HRESULT NavMoniker( [out, retval] BSTR *pValue );
  144. //// FEATURE CUT :
  145. //// FEATURE CUT :
  146. //// FEATURE CUT : ////////////////////////////////////////
  147. //// FEATURE CUT : //
  148. //// FEATURE CUT : // Read-only Properties
  149. //// FEATURE CUT : //
  150. //// FEATURE CUT : ////////////////////////////////////////
  151. //// FEATURE CUT :
  152. //// FEATURE CUT : [propget] HRESULT Name ( [out, retval] BSTR *pValue );
  153. //// FEATURE CUT : [propget] HRESULT CurrentUrl( [out, retval] BSTR *pValue );
  154. //// FEATURE CUT : [propget] HRESULT WebBrowser( [out, retval] IDispatch* *pValue );
  155. //// FEATURE CUT :
  156. //// FEATURE CUT :
  157. //// FEATURE CUT : //
  158. //// FEATURE CUT : // Navigate to a topic
  159. //// FEATURE CUT : //
  160. //// FEATURE CUT : HRESULT DisplayTopicFromURL( [in] BSTR url ,
  161. //// FEATURE CUT : [in] VARIANT options );
  162. //// FEATURE CUT :
  163. //// FEATURE CUT : //
  164. //// FEATURE CUT : // Perform keyword or other lookup
  165. //// FEATURE CUT : //
  166. //// FEATURE CUT : HRESULT DisplayResultsFromQuery( [in] BSTR query ,
  167. //// FEATURE CUT : [in] VARIANT options ); // show only 1
  168. //// FEATURE CUT :
  169. //// FEATURE CUT : //
  170. //// FEATURE CUT : // Synchronize a navigation pane
  171. //// FEATURE CUT : //
  172. //// FEATURE CUT : HRESULT Sync( [in] BSTR url ,
  173. //// FEATURE CUT : [in] VARIANT options ); // force pane to show
  174. //// FEATURE CUT : };
  175. //// FEATURE CUT :
  176. //// FEATURE CUT : [
  177. //// FEATURE CUT : object,
  178. //// FEATURE CUT : uuid(BF72E213-FA10-4BB5-A348-269D7615A520),
  179. //// FEATURE CUT : dual,
  180. //// FEATURE CUT : oleautomation,
  181. //// FEATURE CUT : helpstring("IPCHHelpHostWindow Interface"),
  182. //// FEATURE CUT : pointer_default(unique)
  183. //// FEATURE CUT : ]
  184. //// FEATURE CUT : interface IPCHHelpHostWindow : IDispatch
  185. //// FEATURE CUT : {
  186. //// FEATURE CUT : ////////////////////////////////////////
  187. //// FEATURE CUT : //
  188. //// FEATURE CUT : // Read/write Properties
  189. //// FEATURE CUT : //
  190. //// FEATURE CUT : ////////////////////////////////////////
  191. //// FEATURE CUT :
  192. //// FEATURE CUT : //
  193. //// FEATURE CUT : // Must be set before opening the namespace.
  194. //// FEATURE CUT : //
  195. //// FEATURE CUT : [propput] HRESULT ParentWindow( [in ] long HWND );
  196. //// FEATURE CUT : [propget] HRESULT ParentWindow( [out, retval] long *pHWND );
  197. //// FEATURE CUT :
  198. //// FEATURE CUT : //
  199. //// FEATURE CUT : // Recommended to call this before showing the window. Viewers can optionally allow more dynamic setting.
  200. //// FEATURE CUT : //
  201. //// FEATURE CUT : [propput] HRESULT UILanguage( [in ] long LCID );
  202. //// FEATURE CUT : [propget] HRESULT UILanguage( [out, retval] long *pLCID );
  203. //// FEATURE CUT :
  204. //// FEATURE CUT : [propput] HRESULT Visible ( [in ] VARIANT_BOOL Value );
  205. //// FEATURE CUT : [propget] HRESULT Visible ( [out, retval] VARIANT_BOOL *pValue );
  206. //// FEATURE CUT :
  207. //// FEATURE CUT :
  208. //// FEATURE CUT : ////////////////////////////////////////
  209. //// FEATURE CUT : //
  210. //// FEATURE CUT : // Read-only Properties
  211. //// FEATURE CUT : //
  212. //// FEATURE CUT : ////////////////////////////////////////
  213. //// FEATURE CUT :
  214. //// FEATURE CUT : [propget] HRESULT OriginX ( [out, retval] long *pValue );
  215. //// FEATURE CUT : [propget] HRESULT OriginY ( [out, retval] long *pValue );
  216. //// FEATURE CUT : [propget] HRESULT Width ( [out, retval] long *pValue );
  217. //// FEATURE CUT : [propget] HRESULT Height ( [out, retval] long *pValue );
  218. //// FEATURE CUT :
  219. //// FEATURE CUT :
  220. //// FEATURE CUT : //
  221. //// FEATURE CUT : // PRIVATE to the HSS
  222. //// FEATURE CUT : //
  223. //// FEATURE CUT : [propget] HRESULT PRIV_Window( [out, retval] long *pHWND );
  224. //// FEATURE CUT :
  225. //// FEATURE CUT :
  226. //// FEATURE CUT : ////////////////////////////////////////
  227. //// FEATURE CUT : //
  228. //// FEATURE CUT : // Methods
  229. //// FEATURE CUT : //
  230. //// FEATURE CUT : ////////////////////////////////////////
  231. //// FEATURE CUT :
  232. //// FEATURE CUT : //
  233. //// FEATURE CUT : // Set the window position and size
  234. //// FEATURE CUT : //
  235. //// FEATURE CUT : HRESULT MoveWindow( [in] long originX, [in] long originY , // corner
  236. //// FEATURE CUT : [in] long width , [in] long height ); // size
  237. //// FEATURE CUT : };
  238. //// FEATURE CUT :
  239. //// FEATURE CUT : ////////////////////////////////////////////////////////////////////////////////
  240. //// FEATURE CUT :
  241. //// FEATURE CUT : [
  242. //// FEATURE CUT : object,
  243. //// FEATURE CUT : uuid(BF72E220-FA10-4BB5-A348-269D7615A520),
  244. //// FEATURE CUT : dual,
  245. //// FEATURE CUT : oleautomation,
  246. //// FEATURE CUT : helpstring("IPCHHelpHostEvents Interface"),
  247. //// FEATURE CUT : pointer_default(unique)
  248. //// FEATURE CUT : ]
  249. //// FEATURE CUT : interface IPCHHelpHostEvents : IDispatch
  250. //// FEATURE CUT : {
  251. //// FEATURE CUT : HRESULT OnFilterSelectionChanged( [in] BSTR filterName );
  252. //// FEATURE CUT : HRESULT OnFilterModified ( [in] BSTR filterName );
  253. //// FEATURE CUT : HRESULT OnFilterAdded ( [in] BSTR filterName );
  254. //// FEATURE CUT : HRESULT OnFilterDeleted ( [in] BSTR filterName );
  255. //// FEATURE CUT : HRESULT OnNamespaceChanged ( [in] BSTR newNamespace, [in] BSTR newFilter );
  256. //// FEATURE CUT :
  257. //// FEATURE CUT : HRESULT OnPaneOpened( [in] IPCHHelpHostPane* newPane );
  258. //// FEATURE CUT : HRESULT OnPaneClosed( [in] IPCHHelpHostPane* oldPane );
  259. //// FEATURE CUT :
  260. //// FEATURE CUT : HRESULT OnClose();
  261. //// FEATURE CUT : };
  262. //// FEATURE CUT :
  263. //// FEATURE CUT : [
  264. //// FEATURE CUT : object,
  265. //// FEATURE CUT : uuid(BF72E221-FA10-4BB5-A348-269D7615A520),
  266. //// FEATURE CUT : dual,
  267. //// FEATURE CUT : oleautomation,
  268. //// FEATURE CUT : helpstring("IPCHHelpHostNavEvents Interface"),
  269. //// FEATURE CUT : pointer_default(unique)
  270. //// FEATURE CUT : ]
  271. //// FEATURE CUT : interface IPCHHelpHostNavEvents : IDispatch
  272. //// FEATURE CUT : {
  273. //// FEATURE CUT : HRESULT OnBeforeNavigate ( [in] BSTR url, [in] IPCHHelpHostPane* pane, [in, out] VARIANT_BOOL *pCancel );
  274. //// FEATURE CUT : HRESULT OnDownloadBegin ( [in] BSTR url, [in] IPCHHelpHostPane* pane );
  275. //// FEATURE CUT : HRESULT OnDownloadComplete( [in] BSTR url, [in] IPCHHelpHostPane* pane );
  276. //// FEATURE CUT : HRESULT OnNavigateComplete( [in] BSTR url, [in] IPCHHelpHostPane* pane );
  277. //// FEATURE CUT : HRESULT OnDocumentComplete( [in] BSTR url, [in] IPCHHelpHostPane* pane );
  278. //// FEATURE CUT : };