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.

749 lines
21 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 5.03.0279 */
  4. /* Compiler settings for shhelper.idl:
  5. Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  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. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  13. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  14. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  15. #endif
  16. #include "rpc.h"
  17. #include "rpcndr.h"
  18. #ifndef __RPCNDR_H_VERSION__
  19. #error this stub requires an updated version of <rpcndr.h>
  20. #endif // __RPCNDR_H_VERSION__
  21. #ifndef COM_NO_WINDOWS_H
  22. #include "windows.h"
  23. #include "ole2.h"
  24. #endif /*COM_NO_WINDOWS_H*/
  25. #ifndef __shhelper_h__
  26. #define __shhelper_h__
  27. /* Forward Declarations */
  28. #ifndef __IShellMoniker_FWD_DEFINED__
  29. #define __IShellMoniker_FWD_DEFINED__
  30. typedef interface IShellMoniker IShellMoniker;
  31. #endif /* __IShellMoniker_FWD_DEFINED__ */
  32. #ifndef __IStorageDescriptor_FWD_DEFINED__
  33. #define __IStorageDescriptor_FWD_DEFINED__
  34. typedef interface IStorageDescriptor IStorageDescriptor;
  35. #endif /* __IStorageDescriptor_FWD_DEFINED__ */
  36. #ifndef __IFileSystemDescriptor_FWD_DEFINED__
  37. #define __IFileSystemDescriptor_FWD_DEFINED__
  38. typedef interface IFileSystemDescriptor IFileSystemDescriptor;
  39. #endif /* __IFileSystemDescriptor_FWD_DEFINED__ */
  40. #ifndef __IMonikerHelper_FWD_DEFINED__
  41. #define __IMonikerHelper_FWD_DEFINED__
  42. typedef interface IMonikerHelper IMonikerHelper;
  43. #endif /* __IMonikerHelper_FWD_DEFINED__ */
  44. #ifndef __ShellMoniker_FWD_DEFINED__
  45. #define __ShellMoniker_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class ShellMoniker ShellMoniker;
  48. #else
  49. typedef struct ShellMoniker ShellMoniker;
  50. #endif /* __cplusplus */
  51. #endif /* __ShellMoniker_FWD_DEFINED__ */
  52. #ifndef __MonikerHelper_FWD_DEFINED__
  53. #define __MonikerHelper_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class MonikerHelper MonikerHelper;
  56. #else
  57. typedef struct MonikerHelper MonikerHelper;
  58. #endif /* __cplusplus */
  59. #endif /* __MonikerHelper_FWD_DEFINED__ */
  60. /* header files for imported files */
  61. #include "oaidl.h"
  62. #include "shobjidl.h"
  63. #ifdef __cplusplus
  64. extern "C"{
  65. #endif
  66. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  67. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  68. /* interface __MIDL_itf_shhelper_0000 */
  69. /* [local] */
  70. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0000_v0_0_c_ifspec;
  71. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0000_v0_0_s_ifspec;
  72. #ifndef __IShellMoniker_INTERFACE_DEFINED__
  73. #define __IShellMoniker_INTERFACE_DEFINED__
  74. /* interface IShellMoniker */
  75. /* [unique][object][uuid][helpstring] */
  76. EXTERN_C const IID IID_IShellMoniker;
  77. #if defined(__cplusplus) && !defined(CINTERFACE)
  78. MIDL_INTERFACE("1079acf9-29bd-11d3-8e0d-00c04f6837d5")
  79. IShellMoniker : public IUnknown
  80. {
  81. public:
  82. virtual HRESULT STDMETHODCALLTYPE BindToObject(
  83. /* [in] */ IBindCtx __RPC_FAR *pbc,
  84. /* [in] */ REFIID riid,
  85. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut) = 0;
  86. virtual HRESULT STDMETHODCALLTYPE BindToStorage(
  87. /* [in] */ IBindCtx __RPC_FAR *pbc,
  88. /* [in] */ REFIID riid,
  89. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut) = 0;
  90. virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
  91. /* [in] */ IBindCtx __RPC_FAR *pbc,
  92. /* [in] */ SHGDNF shgdnFlags,
  93. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName) = 0;
  94. virtual HRESULT STDMETHODCALLTYPE GetAttributes(
  95. /* [in] */ SFGAOF sfgaoMask,
  96. /* [out] */ SFGAOF __RPC_FAR *psfgaoFlags) = 0;
  97. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  98. /* [in] */ IBindCtx __RPC_FAR *pbc,
  99. /* [in] */ REFFMTID fmtid,
  100. /* [in] */ PROPID pid,
  101. /* [out] */ VARIANT __RPC_FAR *pv) = 0;
  102. };
  103. #else /* C style interface */
  104. typedef struct IShellMonikerVtbl
  105. {
  106. BEGIN_INTERFACE
  107. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  108. IShellMoniker __RPC_FAR * This,
  109. /* [in] */ REFIID riid,
  110. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  111. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  112. IShellMoniker __RPC_FAR * This);
  113. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  114. IShellMoniker __RPC_FAR * This);
  115. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BindToObject )(
  116. IShellMoniker __RPC_FAR * This,
  117. /* [in] */ IBindCtx __RPC_FAR *pbc,
  118. /* [in] */ REFIID riid,
  119. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut);
  120. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BindToStorage )(
  121. IShellMoniker __RPC_FAR * This,
  122. /* [in] */ IBindCtx __RPC_FAR *pbc,
  123. /* [in] */ REFIID riid,
  124. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut);
  125. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDisplayName )(
  126. IShellMoniker __RPC_FAR * This,
  127. /* [in] */ IBindCtx __RPC_FAR *pbc,
  128. /* [in] */ SHGDNF shgdnFlags,
  129. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  130. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAttributes )(
  131. IShellMoniker __RPC_FAR * This,
  132. /* [in] */ SFGAOF sfgaoMask,
  133. /* [out] */ SFGAOF __RPC_FAR *psfgaoFlags);
  134. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProperty )(
  135. IShellMoniker __RPC_FAR * This,
  136. /* [in] */ IBindCtx __RPC_FAR *pbc,
  137. /* [in] */ REFFMTID fmtid,
  138. /* [in] */ PROPID pid,
  139. /* [out] */ VARIANT __RPC_FAR *pv);
  140. END_INTERFACE
  141. } IShellMonikerVtbl;
  142. interface IShellMoniker
  143. {
  144. CONST_VTBL struct IShellMonikerVtbl __RPC_FAR *lpVtbl;
  145. };
  146. #ifdef COBJMACROS
  147. #define IShellMoniker_QueryInterface(This,riid,ppvObject) \
  148. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  149. #define IShellMoniker_AddRef(This) \
  150. (This)->lpVtbl -> AddRef(This)
  151. #define IShellMoniker_Release(This) \
  152. (This)->lpVtbl -> Release(This)
  153. #define IShellMoniker_BindToObject(This,pbc,riid,ppvOut) \
  154. (This)->lpVtbl -> BindToObject(This,pbc,riid,ppvOut)
  155. #define IShellMoniker_BindToStorage(This,pbc,riid,ppvOut) \
  156. (This)->lpVtbl -> BindToStorage(This,pbc,riid,ppvOut)
  157. #define IShellMoniker_GetDisplayName(This,pbc,shgdnFlags,ppszName) \
  158. (This)->lpVtbl -> GetDisplayName(This,pbc,shgdnFlags,ppszName)
  159. #define IShellMoniker_GetAttributes(This,sfgaoMask,psfgaoFlags) \
  160. (This)->lpVtbl -> GetAttributes(This,sfgaoMask,psfgaoFlags)
  161. #define IShellMoniker_GetProperty(This,pbc,fmtid,pid,pv) \
  162. (This)->lpVtbl -> GetProperty(This,pbc,fmtid,pid,pv)
  163. #endif /* COBJMACROS */
  164. #endif /* C style interface */
  165. HRESULT STDMETHODCALLTYPE IShellMoniker_BindToObject_Proxy(
  166. IShellMoniker __RPC_FAR * This,
  167. /* [in] */ IBindCtx __RPC_FAR *pbc,
  168. /* [in] */ REFIID riid,
  169. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut);
  170. void __RPC_STUB IShellMoniker_BindToObject_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. HRESULT STDMETHODCALLTYPE IShellMoniker_BindToStorage_Proxy(
  176. IShellMoniker __RPC_FAR * This,
  177. /* [in] */ IBindCtx __RPC_FAR *pbc,
  178. /* [in] */ REFIID riid,
  179. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvOut);
  180. void __RPC_STUB IShellMoniker_BindToStorage_Stub(
  181. IRpcStubBuffer *This,
  182. IRpcChannelBuffer *_pRpcChannelBuffer,
  183. PRPC_MESSAGE _pRpcMessage,
  184. DWORD *_pdwStubPhase);
  185. HRESULT STDMETHODCALLTYPE IShellMoniker_GetDisplayName_Proxy(
  186. IShellMoniker __RPC_FAR * This,
  187. /* [in] */ IBindCtx __RPC_FAR *pbc,
  188. /* [in] */ SHGDNF shgdnFlags,
  189. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  190. void __RPC_STUB IShellMoniker_GetDisplayName_Stub(
  191. IRpcStubBuffer *This,
  192. IRpcChannelBuffer *_pRpcChannelBuffer,
  193. PRPC_MESSAGE _pRpcMessage,
  194. DWORD *_pdwStubPhase);
  195. HRESULT STDMETHODCALLTYPE IShellMoniker_GetAttributes_Proxy(
  196. IShellMoniker __RPC_FAR * This,
  197. /* [in] */ SFGAOF sfgaoMask,
  198. /* [out] */ SFGAOF __RPC_FAR *psfgaoFlags);
  199. void __RPC_STUB IShellMoniker_GetAttributes_Stub(
  200. IRpcStubBuffer *This,
  201. IRpcChannelBuffer *_pRpcChannelBuffer,
  202. PRPC_MESSAGE _pRpcMessage,
  203. DWORD *_pdwStubPhase);
  204. HRESULT STDMETHODCALLTYPE IShellMoniker_GetProperty_Proxy(
  205. IShellMoniker __RPC_FAR * This,
  206. /* [in] */ IBindCtx __RPC_FAR *pbc,
  207. /* [in] */ REFFMTID fmtid,
  208. /* [in] */ PROPID pid,
  209. /* [out] */ VARIANT __RPC_FAR *pv);
  210. void __RPC_STUB IShellMoniker_GetProperty_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. #endif /* __IShellMoniker_INTERFACE_DEFINED__ */
  216. /* interface __MIDL_itf_shhelper_0162 */
  217. /* [local] */
  218. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0162_v0_0_c_ifspec;
  219. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0162_v0_0_s_ifspec;
  220. #ifndef __IStorageDescriptor_INTERFACE_DEFINED__
  221. #define __IStorageDescriptor_INTERFACE_DEFINED__
  222. /* interface IStorageDescriptor */
  223. /* [unique][object][uuid][helpstring] */
  224. EXTERN_C const IID IID_IStorageDescriptor;
  225. #if defined(__cplusplus) && !defined(CINTERFACE)
  226. MIDL_INTERFACE("1079acfa-29bd-11d3-8e0d-00c04f6837d5")
  227. IStorageDescriptor : public IUnknown
  228. {
  229. public:
  230. virtual HRESULT STDMETHODCALLTYPE GetStgDescription(
  231. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName) = 0;
  232. };
  233. #else /* C style interface */
  234. typedef struct IStorageDescriptorVtbl
  235. {
  236. BEGIN_INTERFACE
  237. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  238. IStorageDescriptor __RPC_FAR * This,
  239. /* [in] */ REFIID riid,
  240. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  241. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  242. IStorageDescriptor __RPC_FAR * This);
  243. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  244. IStorageDescriptor __RPC_FAR * This);
  245. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStgDescription )(
  246. IStorageDescriptor __RPC_FAR * This,
  247. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  248. END_INTERFACE
  249. } IStorageDescriptorVtbl;
  250. interface IStorageDescriptor
  251. {
  252. CONST_VTBL struct IStorageDescriptorVtbl __RPC_FAR *lpVtbl;
  253. };
  254. #ifdef COBJMACROS
  255. #define IStorageDescriptor_QueryInterface(This,riid,ppvObject) \
  256. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  257. #define IStorageDescriptor_AddRef(This) \
  258. (This)->lpVtbl -> AddRef(This)
  259. #define IStorageDescriptor_Release(This) \
  260. (This)->lpVtbl -> Release(This)
  261. #define IStorageDescriptor_GetStgDescription(This,ppszName) \
  262. (This)->lpVtbl -> GetStgDescription(This,ppszName)
  263. #endif /* COBJMACROS */
  264. #endif /* C style interface */
  265. HRESULT STDMETHODCALLTYPE IStorageDescriptor_GetStgDescription_Proxy(
  266. IStorageDescriptor __RPC_FAR * This,
  267. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  268. void __RPC_STUB IStorageDescriptor_GetStgDescription_Stub(
  269. IRpcStubBuffer *This,
  270. IRpcChannelBuffer *_pRpcChannelBuffer,
  271. PRPC_MESSAGE _pRpcMessage,
  272. DWORD *_pdwStubPhase);
  273. #endif /* __IStorageDescriptor_INTERFACE_DEFINED__ */
  274. /* interface __MIDL_itf_shhelper_0163 */
  275. /* [local] */
  276. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0163_v0_0_c_ifspec;
  277. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0163_v0_0_s_ifspec;
  278. #ifndef __IFileSystemDescriptor_INTERFACE_DEFINED__
  279. #define __IFileSystemDescriptor_INTERFACE_DEFINED__
  280. /* interface IFileSystemDescriptor */
  281. /* [unique][object][uuid][helpstring] */
  282. EXTERN_C const IID IID_IFileSystemDescriptor;
  283. #if defined(__cplusplus) && !defined(CINTERFACE)
  284. MIDL_INTERFACE("1079acfb-29bd-11d3-8e0d-00c04f6837d5")
  285. IFileSystemDescriptor : public IStorageDescriptor
  286. {
  287. public:
  288. virtual HRESULT STDMETHODCALLTYPE GetFSPath(
  289. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName) = 0;
  290. };
  291. #else /* C style interface */
  292. typedef struct IFileSystemDescriptorVtbl
  293. {
  294. BEGIN_INTERFACE
  295. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  296. IFileSystemDescriptor __RPC_FAR * This,
  297. /* [in] */ REFIID riid,
  298. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  299. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  300. IFileSystemDescriptor __RPC_FAR * This);
  301. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  302. IFileSystemDescriptor __RPC_FAR * This);
  303. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStgDescription )(
  304. IFileSystemDescriptor __RPC_FAR * This,
  305. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  306. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFSPath )(
  307. IFileSystemDescriptor __RPC_FAR * This,
  308. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  309. END_INTERFACE
  310. } IFileSystemDescriptorVtbl;
  311. interface IFileSystemDescriptor
  312. {
  313. CONST_VTBL struct IFileSystemDescriptorVtbl __RPC_FAR *lpVtbl;
  314. };
  315. #ifdef COBJMACROS
  316. #define IFileSystemDescriptor_QueryInterface(This,riid,ppvObject) \
  317. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  318. #define IFileSystemDescriptor_AddRef(This) \
  319. (This)->lpVtbl -> AddRef(This)
  320. #define IFileSystemDescriptor_Release(This) \
  321. (This)->lpVtbl -> Release(This)
  322. #define IFileSystemDescriptor_GetStgDescription(This,ppszName) \
  323. (This)->lpVtbl -> GetStgDescription(This,ppszName)
  324. #define IFileSystemDescriptor_GetFSPath(This,ppszName) \
  325. (This)->lpVtbl -> GetFSPath(This,ppszName)
  326. #endif /* COBJMACROS */
  327. #endif /* C style interface */
  328. HRESULT STDMETHODCALLTYPE IFileSystemDescriptor_GetFSPath_Proxy(
  329. IFileSystemDescriptor __RPC_FAR * This,
  330. /* [string][out] */ LPOLESTR __RPC_FAR *ppszName);
  331. void __RPC_STUB IFileSystemDescriptor_GetFSPath_Stub(
  332. IRpcStubBuffer *This,
  333. IRpcChannelBuffer *_pRpcChannelBuffer,
  334. PRPC_MESSAGE _pRpcMessage,
  335. DWORD *_pdwStubPhase);
  336. #endif /* __IFileSystemDescriptor_INTERFACE_DEFINED__ */
  337. /* interface __MIDL_itf_shhelper_0164 */
  338. /* [local] */
  339. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0164_v0_0_c_ifspec;
  340. extern RPC_IF_HANDLE __MIDL_itf_shhelper_0164_v0_0_s_ifspec;
  341. #ifndef __IMonikerHelper_INTERFACE_DEFINED__
  342. #define __IMonikerHelper_INTERFACE_DEFINED__
  343. /* interface IMonikerHelper */
  344. /* [object][uuid][helpstring] */
  345. // flags for IMonikerHelper methods
  346. // MKHELPF_INIT_READONLY read only helper, Commit fails with E_ACCESSDENIED
  347. // MKHELPF_INIT_SAVEAS write only helper, no download required for GLP
  348. // MKHELPF_FORCEROUNDTRIP never use local cache (always roundtrip)
  349. // MKHELPF_NOPROGRESSUI no progress will be displayed, only errors/confirmations
  350. // MKHELPF_NOUI overrides all other UI flags
  351. /* [v1_enum] */
  352. enum __MIDL_IMonikerHelper_0001
  353. { MKHELPF_INIT_READONLY = 0x1,
  354. MKHELPF_INIT_SAVEAS = 0x2,
  355. MKHELPF_FORCEROUNDTRIP = 0x10,
  356. MKHELPF_NOPROGRESSUI = 0x20,
  357. MKHELPF_NOUI = 0x40
  358. };
  359. typedef DWORD MKHELPF;
  360. EXTERN_C const IID IID_IMonikerHelper;
  361. #if defined(__cplusplus) && !defined(CINTERFACE)
  362. MIDL_INTERFACE("679d9e36-f8f9-11d2-8deb-00c04f6837d5")
  363. IMonikerHelper : public IUnknown
  364. {
  365. public:
  366. virtual HRESULT STDMETHODCALLTYPE Init(
  367. /* [in] */ MKHELPF flags,
  368. /* [in] */ IMoniker __RPC_FAR *pmk) = 0;
  369. virtual HRESULT STDMETHODCALLTYPE GetLocalPath(
  370. /* [in] */ MKHELPF flags,
  371. /* [in] */ HWND hwnd,
  372. /* [in] */ LPCWSTR pszTitle,
  373. /* [size_is][out] */ LPWSTR pszOut,
  374. /* [out][in] */ DWORD __RPC_FAR *pcchOut) = 0;
  375. virtual HRESULT STDMETHODCALLTYPE Commit(
  376. /* [in] */ MKHELPF flags,
  377. /* [in] */ HWND hwnd,
  378. /* [in] */ LPCWSTR pszTitle) = 0;
  379. };
  380. #else /* C style interface */
  381. typedef struct IMonikerHelperVtbl
  382. {
  383. BEGIN_INTERFACE
  384. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  385. IMonikerHelper __RPC_FAR * This,
  386. /* [in] */ REFIID riid,
  387. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  388. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  389. IMonikerHelper __RPC_FAR * This);
  390. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  391. IMonikerHelper __RPC_FAR * This);
  392. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )(
  393. IMonikerHelper __RPC_FAR * This,
  394. /* [in] */ MKHELPF flags,
  395. /* [in] */ IMoniker __RPC_FAR *pmk);
  396. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLocalPath )(
  397. IMonikerHelper __RPC_FAR * This,
  398. /* [in] */ MKHELPF flags,
  399. /* [in] */ HWND hwnd,
  400. /* [in] */ LPCWSTR pszTitle,
  401. /* [size_is][out] */ LPWSTR pszOut,
  402. /* [out][in] */ DWORD __RPC_FAR *pcchOut);
  403. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Commit )(
  404. IMonikerHelper __RPC_FAR * This,
  405. /* [in] */ MKHELPF flags,
  406. /* [in] */ HWND hwnd,
  407. /* [in] */ LPCWSTR pszTitle);
  408. END_INTERFACE
  409. } IMonikerHelperVtbl;
  410. interface IMonikerHelper
  411. {
  412. CONST_VTBL struct IMonikerHelperVtbl __RPC_FAR *lpVtbl;
  413. };
  414. #ifdef COBJMACROS
  415. #define IMonikerHelper_QueryInterface(This,riid,ppvObject) \
  416. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  417. #define IMonikerHelper_AddRef(This) \
  418. (This)->lpVtbl -> AddRef(This)
  419. #define IMonikerHelper_Release(This) \
  420. (This)->lpVtbl -> Release(This)
  421. #define IMonikerHelper_Init(This,flags,pmk) \
  422. (This)->lpVtbl -> Init(This,flags,pmk)
  423. #define IMonikerHelper_GetLocalPath(This,flags,hwnd,pszTitle,pszOut,pcchOut) \
  424. (This)->lpVtbl -> GetLocalPath(This,flags,hwnd,pszTitle,pszOut,pcchOut)
  425. #define IMonikerHelper_Commit(This,flags,hwnd,pszTitle) \
  426. (This)->lpVtbl -> Commit(This,flags,hwnd,pszTitle)
  427. #endif /* COBJMACROS */
  428. #endif /* C style interface */
  429. HRESULT STDMETHODCALLTYPE IMonikerHelper_Init_Proxy(
  430. IMonikerHelper __RPC_FAR * This,
  431. /* [in] */ MKHELPF flags,
  432. /* [in] */ IMoniker __RPC_FAR *pmk);
  433. void __RPC_STUB IMonikerHelper_Init_Stub(
  434. IRpcStubBuffer *This,
  435. IRpcChannelBuffer *_pRpcChannelBuffer,
  436. PRPC_MESSAGE _pRpcMessage,
  437. DWORD *_pdwStubPhase);
  438. HRESULT STDMETHODCALLTYPE IMonikerHelper_GetLocalPath_Proxy(
  439. IMonikerHelper __RPC_FAR * This,
  440. /* [in] */ MKHELPF flags,
  441. /* [in] */ HWND hwnd,
  442. /* [in] */ LPCWSTR pszTitle,
  443. /* [size_is][out] */ LPWSTR pszOut,
  444. /* [out][in] */ DWORD __RPC_FAR *pcchOut);
  445. void __RPC_STUB IMonikerHelper_GetLocalPath_Stub(
  446. IRpcStubBuffer *This,
  447. IRpcChannelBuffer *_pRpcChannelBuffer,
  448. PRPC_MESSAGE _pRpcMessage,
  449. DWORD *_pdwStubPhase);
  450. HRESULT STDMETHODCALLTYPE IMonikerHelper_Commit_Proxy(
  451. IMonikerHelper __RPC_FAR * This,
  452. /* [in] */ MKHELPF flags,
  453. /* [in] */ HWND hwnd,
  454. /* [in] */ LPCWSTR pszTitle);
  455. void __RPC_STUB IMonikerHelper_Commit_Stub(
  456. IRpcStubBuffer *This,
  457. IRpcChannelBuffer *_pRpcChannelBuffer,
  458. PRPC_MESSAGE _pRpcMessage,
  459. DWORD *_pdwStubPhase);
  460. #endif /* __IMonikerHelper_INTERFACE_DEFINED__ */
  461. #ifndef __ShellHelpers_LIBRARY_DEFINED__
  462. #define __ShellHelpers_LIBRARY_DEFINED__
  463. /* library ShellHelpers */
  464. /* [restricted][version][helpstring][uuid] */
  465. EXTERN_C const IID LIBID_ShellHelpers;
  466. EXTERN_C const CLSID CLSID_ShellMoniker;
  467. #ifdef __cplusplus
  468. class DECLSPEC_UUID("1079acf8-29bd-11d3-8e0d-00c04f6837d5")
  469. ShellMoniker;
  470. #endif
  471. EXTERN_C const CLSID CLSID_MonikerHelper;
  472. #ifdef __cplusplus
  473. class DECLSPEC_UUID("679d9e37-f8f9-11d2-8deb-00c04f6837d5")
  474. MonikerHelper;
  475. #endif
  476. #endif /* __ShellHelpers_LIBRARY_DEFINED__ */
  477. /* Additional Prototypes for ALL interfaces */
  478. unsigned long __RPC_USER HWND_UserSize( unsigned long __RPC_FAR *, unsigned long , HWND __RPC_FAR * );
  479. unsigned char __RPC_FAR * __RPC_USER HWND_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  480. unsigned char __RPC_FAR * __RPC_USER HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  481. void __RPC_USER HWND_UserFree( unsigned long __RPC_FAR *, HWND __RPC_FAR * );
  482. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  483. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  484. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  485. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  486. /* end of Additional Prototypes */
  487. #ifdef __cplusplus
  488. }
  489. #endif
  490. #endif