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.

381 lines
12 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.02.88 */
  3. /* at Wed Nov 19 15:26:49 1997
  4. */
  5. /* Compiler settings for x:\dev-vs\devbin\htmlhelp\v6\idl\HelpSys.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __HelpSys_h__
  17. #define __HelpSys_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IVsHelpSystem_FWD_DEFINED__
  23. #define __IVsHelpSystem_FWD_DEFINED__
  24. typedef interface IVsHelpSystem IVsHelpSystem;
  25. #endif /* __IVsHelpSystem_FWD_DEFINED__ */
  26. /* header files for imported files */
  27. #include "oaidl.h"
  28. #include "ocidl.h"
  29. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  30. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  31. /****************************************
  32. * Generated header for interface: __MIDL_itf_HelpSys_0000
  33. * at Wed Nov 19 15:26:49 1997
  34. * using MIDL 3.02.88
  35. ****************************************/
  36. /* [local] */
  37. typedef /* [v1_enum] */
  38. enum _VHS_COMMANDS
  39. { VHS_Default = 0,
  40. VHS_NoErrorMessages = 0x8,
  41. VHS_UseBrowser = 0x1,
  42. VHS_UseHelp = 0x2,
  43. VHS_Localize = 0x4
  44. } VHS_COMMAND;
  45. extern RPC_IF_HANDLE __MIDL_itf_HelpSys_0000_v0_0_c_ifspec;
  46. extern RPC_IF_HANDLE __MIDL_itf_HelpSys_0000_v0_0_s_ifspec;
  47. #ifndef __IVsHelpSystem_INTERFACE_DEFINED__
  48. #define __IVsHelpSystem_INTERFACE_DEFINED__
  49. /****************************************
  50. * Generated header for interface: IVsHelpSystem
  51. * at Wed Nov 19 15:26:49 1997
  52. * using MIDL 3.02.88
  53. ****************************************/
  54. /* [unique][helpstring][uuid][object] */
  55. EXTERN_C const IID IID_IVsHelpSystem;
  56. #if defined(__cplusplus) && !defined(CINTERFACE)
  57. interface DECLSPEC_UUID("854d7ac0-bc3d-11d0-b421-00a0c90f9dc4")
  58. IVsHelpSystem : public IUnknown
  59. {
  60. public:
  61. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE KeywordSearch(
  62. /* [in] */ LPCOLESTR pszKeyword,
  63. /* [in] */ const DWORD dwFlags,
  64. /* [in] */ DWORD dwReserved) = 0;
  65. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ALinkSearch(
  66. /* [in] */ LPCOLESTR pszALink,
  67. /* [in] */ const DWORD dwFlags,
  68. /* [in] */ DWORD dwReserved) = 0;
  69. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE KeywordSearchDlg(
  70. /* [in] */ LPCOLESTR pszKeyword,
  71. /* [in] */ const DWORD dwFlags,
  72. /* [in] */ DWORD dwReserved) = 0;
  73. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FullTextSearchDlg(
  74. /* [in] */ LPCOLESTR pszQuery,
  75. /* [in] */ const DWORD dwFlags,
  76. /* [in] */ DWORD dwReserved) = 0;
  77. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCurrentURL(
  78. /* [out] */ BSTR __RPC_FAR *ppszURL) = 0;
  79. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisplayTopicFromURL(
  80. /* [in] */ LPCOLESTR pszURL,
  81. /* [in] */ const DWORD Command) = 0;
  82. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisplayTopicFromIdentifier(
  83. /* [in] */ LPCOLESTR pszFile,
  84. /* [in] */ const DWORD Id,
  85. /* [in] */ const DWORD Command) = 0;
  86. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ActivateHelpSystem(
  87. /* [in] */ const DWORD dwFlags) = 0;
  88. };
  89. #else /* C style interface */
  90. typedef struct IVsHelpSystemVtbl
  91. {
  92. BEGIN_INTERFACE
  93. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  94. IVsHelpSystem __RPC_FAR * This,
  95. /* [in] */ REFIID riid,
  96. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  97. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  98. IVsHelpSystem __RPC_FAR * This);
  99. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  100. IVsHelpSystem __RPC_FAR * This);
  101. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *KeywordSearch )(
  102. IVsHelpSystem __RPC_FAR * This,
  103. /* [in] */ LPCOLESTR pszKeyword,
  104. /* [in] */ const DWORD dwFlags,
  105. /* [in] */ DWORD dwReserved);
  106. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ALinkSearch )(
  107. IVsHelpSystem __RPC_FAR * This,
  108. /* [in] */ LPCOLESTR pszALink,
  109. /* [in] */ const DWORD dwFlags,
  110. /* [in] */ DWORD dwReserved);
  111. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *KeywordSearchDlg )(
  112. IVsHelpSystem __RPC_FAR * This,
  113. /* [in] */ LPCOLESTR pszKeyword,
  114. /* [in] */ const DWORD dwFlags,
  115. /* [in] */ DWORD dwReserved);
  116. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FullTextSearchDlg )(
  117. IVsHelpSystem __RPC_FAR * This,
  118. /* [in] */ LPCOLESTR pszQuery,
  119. /* [in] */ const DWORD dwFlags,
  120. /* [in] */ DWORD dwReserved);
  121. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCurrentURL )(
  122. IVsHelpSystem __RPC_FAR * This,
  123. /* [out] */ BSTR __RPC_FAR *ppszURL);
  124. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DisplayTopicFromURL )(
  125. IVsHelpSystem __RPC_FAR * This,
  126. /* [in] */ LPCOLESTR pszURL,
  127. /* [in] */ const DWORD Command);
  128. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DisplayTopicFromIdentifier )(
  129. IVsHelpSystem __RPC_FAR * This,
  130. /* [in] */ LPCOLESTR pszFile,
  131. /* [in] */ const DWORD Id,
  132. /* [in] */ const DWORD Command);
  133. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivateHelpSystem )(
  134. IVsHelpSystem __RPC_FAR * This,
  135. /* [in] */ const DWORD dwFlags);
  136. END_INTERFACE
  137. } IVsHelpSystemVtbl;
  138. interface IVsHelpSystem
  139. {
  140. CONST_VTBL struct IVsHelpSystemVtbl __RPC_FAR *lpVtbl;
  141. };
  142. #ifdef COBJMACROS
  143. #define IVsHelpSystem_QueryInterface(This,riid,ppvObject) \
  144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  145. #define IVsHelpSystem_AddRef(This) \
  146. (This)->lpVtbl -> AddRef(This)
  147. #define IVsHelpSystem_Release(This) \
  148. (This)->lpVtbl -> Release(This)
  149. #define IVsHelpSystem_KeywordSearch(This,pszKeyword,dwFlags,dwReserved) \
  150. (This)->lpVtbl -> KeywordSearch(This,pszKeyword,dwFlags,dwReserved)
  151. #define IVsHelpSystem_ALinkSearch(This,pszALink,dwFlags,dwReserved) \
  152. (This)->lpVtbl -> ALinkSearch(This,pszALink,dwFlags,dwReserved)
  153. #define IVsHelpSystem_KeywordSearchDlg(This,pszKeyword,dwFlags,dwReserved) \
  154. (This)->lpVtbl -> KeywordSearchDlg(This,pszKeyword,dwFlags,dwReserved)
  155. #define IVsHelpSystem_FullTextSearchDlg(This,pszQuery,dwFlags,dwReserved) \
  156. (This)->lpVtbl -> FullTextSearchDlg(This,pszQuery,dwFlags,dwReserved)
  157. #define IVsHelpSystem_GetCurrentURL(This,ppszURL) \
  158. (This)->lpVtbl -> GetCurrentURL(This,ppszURL)
  159. #define IVsHelpSystem_DisplayTopicFromURL(This,pszURL,Command) \
  160. (This)->lpVtbl -> DisplayTopicFromURL(This,pszURL,Command)
  161. #define IVsHelpSystem_DisplayTopicFromIdentifier(This,pszFile,Id,Command) \
  162. (This)->lpVtbl -> DisplayTopicFromIdentifier(This,pszFile,Id,Command)
  163. #define IVsHelpSystem_ActivateHelpSystem(This,dwFlags) \
  164. (This)->lpVtbl -> ActivateHelpSystem(This,dwFlags)
  165. #endif /* COBJMACROS */
  166. #endif /* C style interface */
  167. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_KeywordSearch_Proxy(
  168. IVsHelpSystem __RPC_FAR * This,
  169. /* [in] */ LPCOLESTR pszKeyword,
  170. /* [in] */ const DWORD dwFlags,
  171. /* [in] */ DWORD dwReserved);
  172. void __RPC_STUB IVsHelpSystem_KeywordSearch_Stub(
  173. IRpcStubBuffer *This,
  174. IRpcChannelBuffer *_pRpcChannelBuffer,
  175. PRPC_MESSAGE _pRpcMessage,
  176. DWORD *_pdwStubPhase);
  177. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_ALinkSearch_Proxy(
  178. IVsHelpSystem __RPC_FAR * This,
  179. /* [in] */ LPCOLESTR pszALink,
  180. /* [in] */ const DWORD dwFlags,
  181. /* [in] */ DWORD dwReserved);
  182. void __RPC_STUB IVsHelpSystem_ALinkSearch_Stub(
  183. IRpcStubBuffer *This,
  184. IRpcChannelBuffer *_pRpcChannelBuffer,
  185. PRPC_MESSAGE _pRpcMessage,
  186. DWORD *_pdwStubPhase);
  187. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_KeywordSearchDlg_Proxy(
  188. IVsHelpSystem __RPC_FAR * This,
  189. /* [in] */ LPCOLESTR pszKeyword,
  190. /* [in] */ const DWORD dwFlags,
  191. /* [in] */ DWORD dwReserved);
  192. void __RPC_STUB IVsHelpSystem_KeywordSearchDlg_Stub(
  193. IRpcStubBuffer *This,
  194. IRpcChannelBuffer *_pRpcChannelBuffer,
  195. PRPC_MESSAGE _pRpcMessage,
  196. DWORD *_pdwStubPhase);
  197. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_FullTextSearchDlg_Proxy(
  198. IVsHelpSystem __RPC_FAR * This,
  199. /* [in] */ LPCOLESTR pszQuery,
  200. /* [in] */ const DWORD dwFlags,
  201. /* [in] */ DWORD dwReserved);
  202. void __RPC_STUB IVsHelpSystem_FullTextSearchDlg_Stub(
  203. IRpcStubBuffer *This,
  204. IRpcChannelBuffer *_pRpcChannelBuffer,
  205. PRPC_MESSAGE _pRpcMessage,
  206. DWORD *_pdwStubPhase);
  207. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_GetCurrentURL_Proxy(
  208. IVsHelpSystem __RPC_FAR * This,
  209. /* [out] */ BSTR __RPC_FAR *ppszURL);
  210. void __RPC_STUB IVsHelpSystem_GetCurrentURL_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_DisplayTopicFromURL_Proxy(
  216. IVsHelpSystem __RPC_FAR * This,
  217. /* [in] */ LPCOLESTR pszURL,
  218. /* [in] */ const DWORD Command);
  219. void __RPC_STUB IVsHelpSystem_DisplayTopicFromURL_Stub(
  220. IRpcStubBuffer *This,
  221. IRpcChannelBuffer *_pRpcChannelBuffer,
  222. PRPC_MESSAGE _pRpcMessage,
  223. DWORD *_pdwStubPhase);
  224. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_DisplayTopicFromIdentifier_Proxy(
  225. IVsHelpSystem __RPC_FAR * This,
  226. /* [in] */ LPCOLESTR pszFile,
  227. /* [in] */ const DWORD Id,
  228. /* [in] */ const DWORD Command);
  229. void __RPC_STUB IVsHelpSystem_DisplayTopicFromIdentifier_Stub(
  230. IRpcStubBuffer *This,
  231. IRpcChannelBuffer *_pRpcChannelBuffer,
  232. PRPC_MESSAGE _pRpcMessage,
  233. DWORD *_pdwStubPhase);
  234. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IVsHelpSystem_ActivateHelpSystem_Proxy(
  235. IVsHelpSystem __RPC_FAR * This,
  236. /* [in] */ const DWORD dwFlags);
  237. void __RPC_STUB IVsHelpSystem_ActivateHelpSystem_Stub(
  238. IRpcStubBuffer *This,
  239. IRpcChannelBuffer *_pRpcChannelBuffer,
  240. PRPC_MESSAGE _pRpcMessage,
  241. DWORD *_pdwStubPhase);
  242. #endif /* __IVsHelpSystem_INTERFACE_DEFINED__ */
  243. /****************************************
  244. * Generated header for interface: __MIDL_itf_HelpSys_0136
  245. * at Wed Nov 19 15:26:49 1997
  246. * using MIDL 3.02.88
  247. ****************************************/
  248. /* [local] */
  249. #define SID_SVsHelpService IID_IVsHelpSystem
  250. #define SID_SHelpService IID_IVsHelpSystem
  251. enum VsHelpErrors
  252. { VSHELP_E_HTMLHELP_UNKNOWN = 0x80000000 | 4 << 16 | 0x1000,
  253. VSHELP_E_COLLECTIONDOESNOTEXIST = 0x80000000 | 4 << 16 | 0x1001,
  254. VSHELP_E_COLLECTIONNOTREGISTERED = 0x80000000 | 4 << 16 | 0x1002,
  255. VSHELP_E_REGISTRATION = 0x80000000 | 4 << 16 | 0x1003,
  256. VSHELP_E_PREFERREDCOLLECTION = 0x80000000 | 4 << 16 | 0x1004
  257. };
  258. extern RPC_IF_HANDLE __MIDL_itf_HelpSys_0136_v0_0_c_ifspec;
  259. extern RPC_IF_HANDLE __MIDL_itf_HelpSys_0136_v0_0_s_ifspec;
  260. /* Additional Prototypes for ALL interfaces */
  261. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  262. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  263. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  264. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  265. /* end of Additional Prototypes */
  266. #ifdef __cplusplus
  267. }
  268. #endif
  269. #endif