PageRenderTime 43ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/LIBS/Extensions/inc/helpsys.h

http://sando.codeplex.com
C++ Header | 305 lines | 189 code | 92 blank | 24 comment | 2 complexity | 9108a99b80b96ed4af35a1b6437bd21c MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.0
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 7.00.0499 */
  3. /* Compiler settings for helpsys.idl:
  4. Oicf, W0, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. /* verify that the <rpcsal.h> version is high enough to compile this file*/
  18. #ifndef __REQUIRED_RPCSAL_H_VERSION__
  19. #define __REQUIRED_RPCSAL_H_VERSION__ 100
  20. #endif
  21. #include "rpc.h"
  22. #include "rpcndr.h"
  23. #ifndef __RPCNDR_H_VERSION__
  24. #error this stub requires an updated version of <rpcndr.h>
  25. #endif // __RPCNDR_H_VERSION__
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30. #ifndef __helpsys_h__
  31. #define __helpsys_h__
  32. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  33. #pragma once
  34. #endif
  35. /* Forward Declarations */
  36. #ifndef __IVsHelpSystem_FWD_DEFINED__
  37. #define __IVsHelpSystem_FWD_DEFINED__
  38. typedef interface IVsHelpSystem IVsHelpSystem;
  39. #endif /* __IVsHelpSystem_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "ocidl.h"
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif
  46. /* interface __MIDL_itf_helpsys_0000_0000 */
  47. /* [local] */
  48. #ifndef INT_TYPE
  49. #define INT_TYPE DWORD_PTR
  50. #define LCID_TYPE DWORD
  51. #endif
  52. typedef /* [public][v1_enum] */
  53. enum _VsHelpErrors
  54. { VSHELP_E_HTMLHELP_UNKNOWN = ( ( 0x80000000 | ( 4 << 16 ) ) | 0x1000 ) ,
  55. VSHELP_E_COLLECTIONDOESNOTEXIST = ( ( 0x80000000 | ( 4 << 16 ) ) | 0x1001 ) ,
  56. VSHELP_E_COLLECTIONNOTREGISTERED = ( ( 0x80000000 | ( 4 << 16 ) ) | 0x1002 ) ,
  57. VSHELP_E_REGISTRATION = ( ( 0x80000000 | ( 4 << 16 ) ) | 0x1003 ) ,
  58. VSHELP_E_PREFERREDCOLLECTION = ( ( 0x80000000 | ( 4 << 16 ) ) | 0x1004 )
  59. } VsHelpErrors;
  60. extern RPC_IF_HANDLE __MIDL_itf_helpsys_0000_0000_v0_0_c_ifspec;
  61. extern RPC_IF_HANDLE __MIDL_itf_helpsys_0000_0000_v0_0_s_ifspec;
  62. #ifndef __IVsHelpSystem_INTERFACE_DEFINED__
  63. #define __IVsHelpSystem_INTERFACE_DEFINED__
  64. /* interface IVsHelpSystem */
  65. /* [unique][helpstring][uuid][object] */
  66. typedef /* [public][v1_enum] */
  67. enum _VHS_COMMANDS
  68. { VHS_Default = 0,
  69. VHS_NoErrorMessages = 0x8,
  70. VHS_UseBrowser = 0x1,
  71. VHS_UseHelp = 0x2,
  72. VHS_Localize = 0x4,
  73. VHS_OutsideCollectionSpace = 0x10
  74. } VHS_COMMAND;
  75. EXTERN_C const IID IID_IVsHelpSystem;
  76. #if defined(__cplusplus) && !defined(CINTERFACE)
  77. MIDL_INTERFACE("854d7ac0-bc3d-11d0-b421-00a0c90f9dc4")
  78. IVsHelpSystem : public IUnknown
  79. {
  80. public:
  81. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE KeywordSearch(
  82. /* [in] */ __RPC__in LPCOLESTR pszKeyword,
  83. /* [in] */ const DWORD_PTR dwFlags,
  84. /* [in] */ DWORD_PTR dwReserved) = 0;
  85. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ALinkSearch(
  86. /* [in] */ __RPC__in LPCOLESTR pszALink,
  87. /* [in] */ const DWORD_PTR dwFlags,
  88. /* [in] */ DWORD_PTR dwReserved) = 0;
  89. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE KeywordSearchDlg(
  90. /* [in] */ __RPC__in LPCOLESTR pszKeyword,
  91. /* [in] */ const DWORD_PTR dwFlags,
  92. /* [in] */ DWORD_PTR dwReserved) = 0;
  93. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FullTextSearchDlg(
  94. /* [in] */ __RPC__in LPCOLESTR pszQuery,
  95. /* [in] */ const DWORD_PTR dwFlags,
  96. /* [in] */ DWORD_PTR dwReserved) = 0;
  97. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCurrentURL(
  98. /* [out] */ __RPC__deref_out_opt BSTR *ppszURL) = 0;
  99. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisplayTopicFromURL(
  100. /* [in] */ __RPC__in LPCOLESTR pszURL,
  101. /* [in] */ const DWORD_PTR Command) = 0;
  102. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DisplayTopicFromIdentifier(
  103. /* [in] */ __RPC__in LPCOLESTR pszFile,
  104. /* [in] */ const DWORD_PTR Id,
  105. /* [in] */ const DWORD_PTR Command) = 0;
  106. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ActivateHelpSystem(
  107. /* [in] */ const DWORD_PTR dwFlags) = 0;
  108. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Reserved(
  109. /* [in] */ VHS_COMMAND command,
  110. /* [in] */ VsHelpErrors error) = 0;
  111. };
  112. #else /* C style interface */
  113. typedef struct IVsHelpSystemVtbl
  114. {
  115. BEGIN_INTERFACE
  116. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  117. IVsHelpSystem * This,
  118. /* [in] */ __RPC__in REFIID riid,
  119. /* [iid_is][out] */
  120. __RPC__deref_out void **ppvObject);
  121. ULONG ( STDMETHODCALLTYPE *AddRef )(
  122. IVsHelpSystem * This);
  123. ULONG ( STDMETHODCALLTYPE *Release )(
  124. IVsHelpSystem * This);
  125. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *KeywordSearch )(
  126. IVsHelpSystem * This,
  127. /* [in] */ __RPC__in LPCOLESTR pszKeyword,
  128. /* [in] */ const DWORD_PTR dwFlags,
  129. /* [in] */ DWORD_PTR dwReserved);
  130. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ALinkSearch )(
  131. IVsHelpSystem * This,
  132. /* [in] */ __RPC__in LPCOLESTR pszALink,
  133. /* [in] */ const DWORD_PTR dwFlags,
  134. /* [in] */ DWORD_PTR dwReserved);
  135. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *KeywordSearchDlg )(
  136. IVsHelpSystem * This,
  137. /* [in] */ __RPC__in LPCOLESTR pszKeyword,
  138. /* [in] */ const DWORD_PTR dwFlags,
  139. /* [in] */ DWORD_PTR dwReserved);
  140. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FullTextSearchDlg )(
  141. IVsHelpSystem * This,
  142. /* [in] */ __RPC__in LPCOLESTR pszQuery,
  143. /* [in] */ const DWORD_PTR dwFlags,
  144. /* [in] */ DWORD_PTR dwReserved);
  145. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCurrentURL )(
  146. IVsHelpSystem * This,
  147. /* [out] */ __RPC__deref_out_opt BSTR *ppszURL);
  148. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisplayTopicFromURL )(
  149. IVsHelpSystem * This,
  150. /* [in] */ __RPC__in LPCOLESTR pszURL,
  151. /* [in] */ const DWORD_PTR Command);
  152. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DisplayTopicFromIdentifier )(
  153. IVsHelpSystem * This,
  154. /* [in] */ __RPC__in LPCOLESTR pszFile,
  155. /* [in] */ const DWORD_PTR Id,
  156. /* [in] */ const DWORD_PTR Command);
  157. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ActivateHelpSystem )(
  158. IVsHelpSystem * This,
  159. /* [in] */ const DWORD_PTR dwFlags);
  160. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Reserved )(
  161. IVsHelpSystem * This,
  162. /* [in] */ VHS_COMMAND command,
  163. /* [in] */ VsHelpErrors error);
  164. END_INTERFACE
  165. } IVsHelpSystemVtbl;
  166. interface IVsHelpSystem
  167. {
  168. CONST_VTBL struct IVsHelpSystemVtbl *lpVtbl;
  169. };
  170. #ifdef COBJMACROS
  171. #define IVsHelpSystem_QueryInterface(This,riid,ppvObject) \
  172. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  173. #define IVsHelpSystem_AddRef(This) \
  174. ( (This)->lpVtbl -> AddRef(This) )
  175. #define IVsHelpSystem_Release(This) \
  176. ( (This)->lpVtbl -> Release(This) )
  177. #define IVsHelpSystem_KeywordSearch(This,pszKeyword,dwFlags,dwReserved) \
  178. ( (This)->lpVtbl -> KeywordSearch(This,pszKeyword,dwFlags,dwReserved) )
  179. #define IVsHelpSystem_ALinkSearch(This,pszALink,dwFlags,dwReserved) \
  180. ( (This)->lpVtbl -> ALinkSearch(This,pszALink,dwFlags,dwReserved) )
  181. #define IVsHelpSystem_KeywordSearchDlg(This,pszKeyword,dwFlags,dwReserved) \
  182. ( (This)->lpVtbl -> KeywordSearchDlg(This,pszKeyword,dwFlags,dwReserved) )
  183. #define IVsHelpSystem_FullTextSearchDlg(This,pszQuery,dwFlags,dwReserved) \
  184. ( (This)->lpVtbl -> FullTextSearchDlg(This,pszQuery,dwFlags,dwReserved) )
  185. #define IVsHelpSystem_GetCurrentURL(This,ppszURL) \
  186. ( (This)->lpVtbl -> GetCurrentURL(This,ppszURL) )
  187. #define IVsHelpSystem_DisplayTopicFromURL(This,pszURL,Command) \
  188. ( (This)->lpVtbl -> DisplayTopicFromURL(This,pszURL,Command) )
  189. #define IVsHelpSystem_DisplayTopicFromIdentifier(This,pszFile,Id,Command) \
  190. ( (This)->lpVtbl -> DisplayTopicFromIdentifier(This,pszFile,Id,Command) )
  191. #define IVsHelpSystem_ActivateHelpSystem(This,dwFlags) \
  192. ( (This)->lpVtbl -> ActivateHelpSystem(This,dwFlags) )
  193. #define IVsHelpSystem_Reserved(This,command,error) \
  194. ( (This)->lpVtbl -> Reserved(This,command,error) )
  195. #endif /* COBJMACROS */
  196. #endif /* C style interface */
  197. #endif /* __IVsHelpSystem_INTERFACE_DEFINED__ */
  198. /* interface __MIDL_itf_helpsys_0000_0001 */
  199. /* [local] */
  200. #define SID_SVsHelpService IID_IVsHelpSystem
  201. #define SID_SHelpService IID_IVsHelpSystem
  202. extern RPC_IF_HANDLE __MIDL_itf_helpsys_0000_0001_v0_0_c_ifspec;
  203. extern RPC_IF_HANDLE __MIDL_itf_helpsys_0000_0001_v0_0_s_ifspec;
  204. /* Additional Prototypes for ALL interfaces */
  205. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  206. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  207. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  208. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  209. /* end of Additional Prototypes */
  210. #ifdef __cplusplus
  211. }
  212. #endif
  213. #endif