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.

813 lines
21 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for shappmgr.idl:
  4. Oicf, W1, 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. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __shappmgr_h__
  27. #define __shappmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IShellApp_FWD_DEFINED__
  33. #define __IShellApp_FWD_DEFINED__
  34. typedef interface IShellApp IShellApp;
  35. #endif /* __IShellApp_FWD_DEFINED__ */
  36. #ifndef __IPublishedApp_FWD_DEFINED__
  37. #define __IPublishedApp_FWD_DEFINED__
  38. typedef interface IPublishedApp IPublishedApp;
  39. #endif /* __IPublishedApp_FWD_DEFINED__ */
  40. #ifndef __IEnumPublishedApps_FWD_DEFINED__
  41. #define __IEnumPublishedApps_FWD_DEFINED__
  42. typedef interface IEnumPublishedApps IEnumPublishedApps;
  43. #endif /* __IEnumPublishedApps_FWD_DEFINED__ */
  44. #ifndef __IAppPublisher_FWD_DEFINED__
  45. #define __IAppPublisher_FWD_DEFINED__
  46. typedef interface IAppPublisher IAppPublisher;
  47. #endif /* __IAppPublisher_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "oaidl.h"
  50. #include "ocidl.h"
  51. #include "appmgmt.h"
  52. #ifdef __cplusplus
  53. extern "C"{
  54. #endif
  55. void * __RPC_USER MIDL_user_allocate(size_t);
  56. void __RPC_USER MIDL_user_free( void * );
  57. /* interface __MIDL_itf_shappmgr_0000 */
  58. /* [local] */
  59. #ifndef _SHAPPMGR_H_
  60. #define _SHAPPMGR_H_
  61. extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0000_v0_0_c_ifspec;
  62. extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0000_v0_0_s_ifspec;
  63. #ifndef __IShellApp_INTERFACE_DEFINED__
  64. #define __IShellApp_INTERFACE_DEFINED__
  65. /* interface IShellApp */
  66. /* [object][uuid] */
  67. typedef
  68. enum _tagAppInfoFlags
  69. { AIM_DISPLAYNAME = 0x1,
  70. AIM_VERSION = 0x2,
  71. AIM_PUBLISHER = 0x4,
  72. AIM_PRODUCTID = 0x8,
  73. AIM_REGISTEREDOWNER = 0x10,
  74. AIM_REGISTEREDCOMPANY = 0x20,
  75. AIM_LANGUAGE = 0x40,
  76. AIM_SUPPORTURL = 0x80,
  77. AIM_SUPPORTTELEPHONE = 0x100,
  78. AIM_HELPLINK = 0x200,
  79. AIM_INSTALLLOCATION = 0x400,
  80. AIM_INSTALLSOURCE = 0x800,
  81. AIM_INSTALLDATE = 0x1000,
  82. AIM_CONTACT = 0x4000,
  83. AIM_COMMENTS = 0x8000,
  84. AIM_IMAGE = 0x20000,
  85. AIM_READMEURL = 0x40000,
  86. AIM_UPDATEINFOURL = 0x80000
  87. } APPINFODATAFLAGS;
  88. typedef struct _AppInfoData
  89. {
  90. DWORD cbSize;
  91. DWORD dwMask;
  92. LPWSTR pszDisplayName;
  93. LPWSTR pszVersion;
  94. LPWSTR pszPublisher;
  95. LPWSTR pszProductID;
  96. LPWSTR pszRegisteredOwner;
  97. LPWSTR pszRegisteredCompany;
  98. LPWSTR pszLanguage;
  99. LPWSTR pszSupportUrl;
  100. LPWSTR pszSupportTelephone;
  101. LPWSTR pszHelpLink;
  102. LPWSTR pszInstallLocation;
  103. LPWSTR pszInstallSource;
  104. LPWSTR pszInstallDate;
  105. LPWSTR pszContact;
  106. LPWSTR pszComments;
  107. LPWSTR pszImage;
  108. LPWSTR pszReadmeUrl;
  109. LPWSTR pszUpdateInfoUrl;
  110. } APPINFODATA;
  111. typedef struct _AppInfoData *PAPPINFODATA;
  112. typedef
  113. enum _tagAppActionFlags
  114. { APPACTION_INSTALL = 0x1,
  115. APPACTION_UNINSTALL = 0x2,
  116. APPACTION_MODIFY = 0x4,
  117. APPACTION_REPAIR = 0x8,
  118. APPACTION_UPGRADE = 0x10,
  119. APPACTION_CANGETSIZE = 0x20,
  120. APPACTION_MODIFYREMOVE = 0x80,
  121. APPACTION_ADDLATER = 0x100,
  122. APPACTION_UNSCHEDULE = 0x200
  123. } APPACTIONFLAGS;
  124. typedef struct _tagSlowAppInfo
  125. {
  126. ULONGLONG ullSize;
  127. FILETIME ftLastUsed;
  128. int iTimesUsed;
  129. LPWSTR pszImage;
  130. } SLOWAPPINFO;
  131. typedef struct _tagSlowAppInfo *PSLOWAPPINFO;
  132. EXTERN_C const IID IID_IShellApp;
  133. #if defined(__cplusplus) && !defined(CINTERFACE)
  134. MIDL_INTERFACE("A3E14960-935F-11D1-B8B8-006008059382")
  135. IShellApp : public IUnknown
  136. {
  137. public:
  138. virtual HRESULT STDMETHODCALLTYPE GetAppInfo(
  139. /* [out][in] */ PAPPINFODATA pai) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE GetPossibleActions(
  141. /* [out] */ DWORD *pdwActions) = 0;
  142. virtual HRESULT STDMETHODCALLTYPE GetSlowAppInfo(
  143. /* [in] */ PSLOWAPPINFO psaid) = 0;
  144. virtual HRESULT STDMETHODCALLTYPE GetCachedSlowAppInfo(
  145. /* [in] */ PSLOWAPPINFO psaid) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE IsInstalled( void) = 0;
  147. };
  148. #else /* C style interface */
  149. typedef struct IShellAppVtbl
  150. {
  151. BEGIN_INTERFACE
  152. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  153. IShellApp * This,
  154. /* [in] */ REFIID riid,
  155. /* [iid_is][out] */ void **ppvObject);
  156. ULONG ( STDMETHODCALLTYPE *AddRef )(
  157. IShellApp * This);
  158. ULONG ( STDMETHODCALLTYPE *Release )(
  159. IShellApp * This);
  160. HRESULT ( STDMETHODCALLTYPE *GetAppInfo )(
  161. IShellApp * This,
  162. /* [out][in] */ PAPPINFODATA pai);
  163. HRESULT ( STDMETHODCALLTYPE *GetPossibleActions )(
  164. IShellApp * This,
  165. /* [out] */ DWORD *pdwActions);
  166. HRESULT ( STDMETHODCALLTYPE *GetSlowAppInfo )(
  167. IShellApp * This,
  168. /* [in] */ PSLOWAPPINFO psaid);
  169. HRESULT ( STDMETHODCALLTYPE *GetCachedSlowAppInfo )(
  170. IShellApp * This,
  171. /* [in] */ PSLOWAPPINFO psaid);
  172. HRESULT ( STDMETHODCALLTYPE *IsInstalled )(
  173. IShellApp * This);
  174. END_INTERFACE
  175. } IShellAppVtbl;
  176. interface IShellApp
  177. {
  178. CONST_VTBL struct IShellAppVtbl *lpVtbl;
  179. };
  180. #ifdef COBJMACROS
  181. #define IShellApp_QueryInterface(This,riid,ppvObject) \
  182. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183. #define IShellApp_AddRef(This) \
  184. (This)->lpVtbl -> AddRef(This)
  185. #define IShellApp_Release(This) \
  186. (This)->lpVtbl -> Release(This)
  187. #define IShellApp_GetAppInfo(This,pai) \
  188. (This)->lpVtbl -> GetAppInfo(This,pai)
  189. #define IShellApp_GetPossibleActions(This,pdwActions) \
  190. (This)->lpVtbl -> GetPossibleActions(This,pdwActions)
  191. #define IShellApp_GetSlowAppInfo(This,psaid) \
  192. (This)->lpVtbl -> GetSlowAppInfo(This,psaid)
  193. #define IShellApp_GetCachedSlowAppInfo(This,psaid) \
  194. (This)->lpVtbl -> GetCachedSlowAppInfo(This,psaid)
  195. #define IShellApp_IsInstalled(This) \
  196. (This)->lpVtbl -> IsInstalled(This)
  197. #endif /* COBJMACROS */
  198. #endif /* C style interface */
  199. HRESULT STDMETHODCALLTYPE IShellApp_GetAppInfo_Proxy(
  200. IShellApp * This,
  201. /* [out][in] */ PAPPINFODATA pai);
  202. void __RPC_STUB IShellApp_GetAppInfo_Stub(
  203. IRpcStubBuffer *This,
  204. IRpcChannelBuffer *_pRpcChannelBuffer,
  205. PRPC_MESSAGE _pRpcMessage,
  206. DWORD *_pdwStubPhase);
  207. HRESULT STDMETHODCALLTYPE IShellApp_GetPossibleActions_Proxy(
  208. IShellApp * This,
  209. /* [out] */ DWORD *pdwActions);
  210. void __RPC_STUB IShellApp_GetPossibleActions_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. HRESULT STDMETHODCALLTYPE IShellApp_GetSlowAppInfo_Proxy(
  216. IShellApp * This,
  217. /* [in] */ PSLOWAPPINFO psaid);
  218. void __RPC_STUB IShellApp_GetSlowAppInfo_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. HRESULT STDMETHODCALLTYPE IShellApp_GetCachedSlowAppInfo_Proxy(
  224. IShellApp * This,
  225. /* [in] */ PSLOWAPPINFO psaid);
  226. void __RPC_STUB IShellApp_GetCachedSlowAppInfo_Stub(
  227. IRpcStubBuffer *This,
  228. IRpcChannelBuffer *_pRpcChannelBuffer,
  229. PRPC_MESSAGE _pRpcMessage,
  230. DWORD *_pdwStubPhase);
  231. HRESULT STDMETHODCALLTYPE IShellApp_IsInstalled_Proxy(
  232. IShellApp * This);
  233. void __RPC_STUB IShellApp_IsInstalled_Stub(
  234. IRpcStubBuffer *This,
  235. IRpcChannelBuffer *_pRpcChannelBuffer,
  236. PRPC_MESSAGE _pRpcMessage,
  237. DWORD *_pdwStubPhase);
  238. #endif /* __IShellApp_INTERFACE_DEFINED__ */
  239. #ifndef __IPublishedApp_INTERFACE_DEFINED__
  240. #define __IPublishedApp_INTERFACE_DEFINED__
  241. /* interface IPublishedApp */
  242. /* [object][uuid] */
  243. typedef
  244. enum _tagPublishedAppInfoFlags
  245. { PAI_SOURCE = 0x1,
  246. PAI_ASSIGNEDTIME = 0x2,
  247. PAI_PUBLISHEDTIME = 0x4,
  248. PAI_SCHEDULEDTIME = 0x8,
  249. PAI_EXPIRETIME = 0x10
  250. } PUBAPPINFOFLAGS;
  251. typedef struct _PubAppInfo
  252. {
  253. DWORD cbSize;
  254. DWORD dwMask;
  255. LPWSTR pszSource;
  256. SYSTEMTIME stAssigned;
  257. SYSTEMTIME stPublished;
  258. SYSTEMTIME stScheduled;
  259. SYSTEMTIME stExpire;
  260. } PUBAPPINFO;
  261. typedef struct _PubAppInfo *PPUBAPPINFO;
  262. EXTERN_C const IID IID_IPublishedApp;
  263. #if defined(__cplusplus) && !defined(CINTERFACE)
  264. MIDL_INTERFACE("1BC752E0-9046-11D1-B8B3-006008059382")
  265. IPublishedApp : public IShellApp
  266. {
  267. public:
  268. virtual HRESULT STDMETHODCALLTYPE Install(
  269. /* [in] */ LPSYSTEMTIME pstInstall) = 0;
  270. virtual HRESULT STDMETHODCALLTYPE GetPublishedAppInfo(
  271. /* [out][in] */ PPUBAPPINFO ppai) = 0;
  272. virtual HRESULT STDMETHODCALLTYPE Unschedule( void) = 0;
  273. };
  274. #else /* C style interface */
  275. typedef struct IPublishedAppVtbl
  276. {
  277. BEGIN_INTERFACE
  278. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  279. IPublishedApp * This,
  280. /* [in] */ REFIID riid,
  281. /* [iid_is][out] */ void **ppvObject);
  282. ULONG ( STDMETHODCALLTYPE *AddRef )(
  283. IPublishedApp * This);
  284. ULONG ( STDMETHODCALLTYPE *Release )(
  285. IPublishedApp * This);
  286. HRESULT ( STDMETHODCALLTYPE *GetAppInfo )(
  287. IPublishedApp * This,
  288. /* [out][in] */ PAPPINFODATA pai);
  289. HRESULT ( STDMETHODCALLTYPE *GetPossibleActions )(
  290. IPublishedApp * This,
  291. /* [out] */ DWORD *pdwActions);
  292. HRESULT ( STDMETHODCALLTYPE *GetSlowAppInfo )(
  293. IPublishedApp * This,
  294. /* [in] */ PSLOWAPPINFO psaid);
  295. HRESULT ( STDMETHODCALLTYPE *GetCachedSlowAppInfo )(
  296. IPublishedApp * This,
  297. /* [in] */ PSLOWAPPINFO psaid);
  298. HRESULT ( STDMETHODCALLTYPE *IsInstalled )(
  299. IPublishedApp * This);
  300. HRESULT ( STDMETHODCALLTYPE *Install )(
  301. IPublishedApp * This,
  302. /* [in] */ LPSYSTEMTIME pstInstall);
  303. HRESULT ( STDMETHODCALLTYPE *GetPublishedAppInfo )(
  304. IPublishedApp * This,
  305. /* [out][in] */ PPUBAPPINFO ppai);
  306. HRESULT ( STDMETHODCALLTYPE *Unschedule )(
  307. IPublishedApp * This);
  308. END_INTERFACE
  309. } IPublishedAppVtbl;
  310. interface IPublishedApp
  311. {
  312. CONST_VTBL struct IPublishedAppVtbl *lpVtbl;
  313. };
  314. #ifdef COBJMACROS
  315. #define IPublishedApp_QueryInterface(This,riid,ppvObject) \
  316. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  317. #define IPublishedApp_AddRef(This) \
  318. (This)->lpVtbl -> AddRef(This)
  319. #define IPublishedApp_Release(This) \
  320. (This)->lpVtbl -> Release(This)
  321. #define IPublishedApp_GetAppInfo(This,pai) \
  322. (This)->lpVtbl -> GetAppInfo(This,pai)
  323. #define IPublishedApp_GetPossibleActions(This,pdwActions) \
  324. (This)->lpVtbl -> GetPossibleActions(This,pdwActions)
  325. #define IPublishedApp_GetSlowAppInfo(This,psaid) \
  326. (This)->lpVtbl -> GetSlowAppInfo(This,psaid)
  327. #define IPublishedApp_GetCachedSlowAppInfo(This,psaid) \
  328. (This)->lpVtbl -> GetCachedSlowAppInfo(This,psaid)
  329. #define IPublishedApp_IsInstalled(This) \
  330. (This)->lpVtbl -> IsInstalled(This)
  331. #define IPublishedApp_Install(This,pstInstall) \
  332. (This)->lpVtbl -> Install(This,pstInstall)
  333. #define IPublishedApp_GetPublishedAppInfo(This,ppai) \
  334. (This)->lpVtbl -> GetPublishedAppInfo(This,ppai)
  335. #define IPublishedApp_Unschedule(This) \
  336. (This)->lpVtbl -> Unschedule(This)
  337. #endif /* COBJMACROS */
  338. #endif /* C style interface */
  339. HRESULT STDMETHODCALLTYPE IPublishedApp_Install_Proxy(
  340. IPublishedApp * This,
  341. /* [in] */ LPSYSTEMTIME pstInstall);
  342. void __RPC_STUB IPublishedApp_Install_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. HRESULT STDMETHODCALLTYPE IPublishedApp_GetPublishedAppInfo_Proxy(
  348. IPublishedApp * This,
  349. /* [out][in] */ PPUBAPPINFO ppai);
  350. void __RPC_STUB IPublishedApp_GetPublishedAppInfo_Stub(
  351. IRpcStubBuffer *This,
  352. IRpcChannelBuffer *_pRpcChannelBuffer,
  353. PRPC_MESSAGE _pRpcMessage,
  354. DWORD *_pdwStubPhase);
  355. HRESULT STDMETHODCALLTYPE IPublishedApp_Unschedule_Proxy(
  356. IPublishedApp * This);
  357. void __RPC_STUB IPublishedApp_Unschedule_Stub(
  358. IRpcStubBuffer *This,
  359. IRpcChannelBuffer *_pRpcChannelBuffer,
  360. PRPC_MESSAGE _pRpcMessage,
  361. DWORD *_pdwStubPhase);
  362. #endif /* __IPublishedApp_INTERFACE_DEFINED__ */
  363. #ifndef __IEnumPublishedApps_INTERFACE_DEFINED__
  364. #define __IEnumPublishedApps_INTERFACE_DEFINED__
  365. /* interface IEnumPublishedApps */
  366. /* [object][uuid] */
  367. EXTERN_C const IID IID_IEnumPublishedApps;
  368. #if defined(__cplusplus) && !defined(CINTERFACE)
  369. MIDL_INTERFACE("0B124F8C-91F0-11D1-B8B5-006008059382")
  370. IEnumPublishedApps : public IUnknown
  371. {
  372. public:
  373. virtual HRESULT STDMETHODCALLTYPE Next(
  374. /* [out] */ IPublishedApp **pia) = 0;
  375. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  376. };
  377. #else /* C style interface */
  378. typedef struct IEnumPublishedAppsVtbl
  379. {
  380. BEGIN_INTERFACE
  381. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  382. IEnumPublishedApps * This,
  383. /* [in] */ REFIID riid,
  384. /* [iid_is][out] */ void **ppvObject);
  385. ULONG ( STDMETHODCALLTYPE *AddRef )(
  386. IEnumPublishedApps * This);
  387. ULONG ( STDMETHODCALLTYPE *Release )(
  388. IEnumPublishedApps * This);
  389. HRESULT ( STDMETHODCALLTYPE *Next )(
  390. IEnumPublishedApps * This,
  391. /* [out] */ IPublishedApp **pia);
  392. HRESULT ( STDMETHODCALLTYPE *Reset )(
  393. IEnumPublishedApps * This);
  394. END_INTERFACE
  395. } IEnumPublishedAppsVtbl;
  396. interface IEnumPublishedApps
  397. {
  398. CONST_VTBL struct IEnumPublishedAppsVtbl *lpVtbl;
  399. };
  400. #ifdef COBJMACROS
  401. #define IEnumPublishedApps_QueryInterface(This,riid,ppvObject) \
  402. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  403. #define IEnumPublishedApps_AddRef(This) \
  404. (This)->lpVtbl -> AddRef(This)
  405. #define IEnumPublishedApps_Release(This) \
  406. (This)->lpVtbl -> Release(This)
  407. #define IEnumPublishedApps_Next(This,pia) \
  408. (This)->lpVtbl -> Next(This,pia)
  409. #define IEnumPublishedApps_Reset(This) \
  410. (This)->lpVtbl -> Reset(This)
  411. #endif /* COBJMACROS */
  412. #endif /* C style interface */
  413. HRESULT STDMETHODCALLTYPE IEnumPublishedApps_Next_Proxy(
  414. IEnumPublishedApps * This,
  415. /* [out] */ IPublishedApp **pia);
  416. void __RPC_STUB IEnumPublishedApps_Next_Stub(
  417. IRpcStubBuffer *This,
  418. IRpcChannelBuffer *_pRpcChannelBuffer,
  419. PRPC_MESSAGE _pRpcMessage,
  420. DWORD *_pdwStubPhase);
  421. HRESULT STDMETHODCALLTYPE IEnumPublishedApps_Reset_Proxy(
  422. IEnumPublishedApps * This);
  423. void __RPC_STUB IEnumPublishedApps_Reset_Stub(
  424. IRpcStubBuffer *This,
  425. IRpcChannelBuffer *_pRpcChannelBuffer,
  426. PRPC_MESSAGE _pRpcMessage,
  427. DWORD *_pdwStubPhase);
  428. #endif /* __IEnumPublishedApps_INTERFACE_DEFINED__ */
  429. #ifndef __IAppPublisher_INTERFACE_DEFINED__
  430. #define __IAppPublisher_INTERFACE_DEFINED__
  431. /* interface IAppPublisher */
  432. /* [object][uuid] */
  433. EXTERN_C const IID IID_IAppPublisher;
  434. #if defined(__cplusplus) && !defined(CINTERFACE)
  435. MIDL_INTERFACE("07250A10-9CF9-11D1-9076-006008059382")
  436. IAppPublisher : public IUnknown
  437. {
  438. public:
  439. virtual HRESULT STDMETHODCALLTYPE GetNumberOfCategories(
  440. DWORD *pdwCat) = 0;
  441. virtual HRESULT STDMETHODCALLTYPE GetCategories(
  442. APPCATEGORYINFOLIST *pAppCategoryList) = 0;
  443. virtual HRESULT STDMETHODCALLTYPE GetNumberOfApps(
  444. DWORD *pdwApps) = 0;
  445. virtual HRESULT STDMETHODCALLTYPE EnumApps(
  446. GUID *pAppCategoryId,
  447. IEnumPublishedApps **ppepa) = 0;
  448. };
  449. #else /* C style interface */
  450. typedef struct IAppPublisherVtbl
  451. {
  452. BEGIN_INTERFACE
  453. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  454. IAppPublisher * This,
  455. /* [in] */ REFIID riid,
  456. /* [iid_is][out] */ void **ppvObject);
  457. ULONG ( STDMETHODCALLTYPE *AddRef )(
  458. IAppPublisher * This);
  459. ULONG ( STDMETHODCALLTYPE *Release )(
  460. IAppPublisher * This);
  461. HRESULT ( STDMETHODCALLTYPE *GetNumberOfCategories )(
  462. IAppPublisher * This,
  463. DWORD *pdwCat);
  464. HRESULT ( STDMETHODCALLTYPE *GetCategories )(
  465. IAppPublisher * This,
  466. APPCATEGORYINFOLIST *pAppCategoryList);
  467. HRESULT ( STDMETHODCALLTYPE *GetNumberOfApps )(
  468. IAppPublisher * This,
  469. DWORD *pdwApps);
  470. HRESULT ( STDMETHODCALLTYPE *EnumApps )(
  471. IAppPublisher * This,
  472. GUID *pAppCategoryId,
  473. IEnumPublishedApps **ppepa);
  474. END_INTERFACE
  475. } IAppPublisherVtbl;
  476. interface IAppPublisher
  477. {
  478. CONST_VTBL struct IAppPublisherVtbl *lpVtbl;
  479. };
  480. #ifdef COBJMACROS
  481. #define IAppPublisher_QueryInterface(This,riid,ppvObject) \
  482. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  483. #define IAppPublisher_AddRef(This) \
  484. (This)->lpVtbl -> AddRef(This)
  485. #define IAppPublisher_Release(This) \
  486. (This)->lpVtbl -> Release(This)
  487. #define IAppPublisher_GetNumberOfCategories(This,pdwCat) \
  488. (This)->lpVtbl -> GetNumberOfCategories(This,pdwCat)
  489. #define IAppPublisher_GetCategories(This,pAppCategoryList) \
  490. (This)->lpVtbl -> GetCategories(This,pAppCategoryList)
  491. #define IAppPublisher_GetNumberOfApps(This,pdwApps) \
  492. (This)->lpVtbl -> GetNumberOfApps(This,pdwApps)
  493. #define IAppPublisher_EnumApps(This,pAppCategoryId,ppepa) \
  494. (This)->lpVtbl -> EnumApps(This,pAppCategoryId,ppepa)
  495. #endif /* COBJMACROS */
  496. #endif /* C style interface */
  497. HRESULT STDMETHODCALLTYPE IAppPublisher_GetNumberOfCategories_Proxy(
  498. IAppPublisher * This,
  499. DWORD *pdwCat);
  500. void __RPC_STUB IAppPublisher_GetNumberOfCategories_Stub(
  501. IRpcStubBuffer *This,
  502. IRpcChannelBuffer *_pRpcChannelBuffer,
  503. PRPC_MESSAGE _pRpcMessage,
  504. DWORD *_pdwStubPhase);
  505. HRESULT STDMETHODCALLTYPE IAppPublisher_GetCategories_Proxy(
  506. IAppPublisher * This,
  507. APPCATEGORYINFOLIST *pAppCategoryList);
  508. void __RPC_STUB IAppPublisher_GetCategories_Stub(
  509. IRpcStubBuffer *This,
  510. IRpcChannelBuffer *_pRpcChannelBuffer,
  511. PRPC_MESSAGE _pRpcMessage,
  512. DWORD *_pdwStubPhase);
  513. HRESULT STDMETHODCALLTYPE IAppPublisher_GetNumberOfApps_Proxy(
  514. IAppPublisher * This,
  515. DWORD *pdwApps);
  516. void __RPC_STUB IAppPublisher_GetNumberOfApps_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. HRESULT STDMETHODCALLTYPE IAppPublisher_EnumApps_Proxy(
  522. IAppPublisher * This,
  523. GUID *pAppCategoryId,
  524. IEnumPublishedApps **ppepa);
  525. void __RPC_STUB IAppPublisher_EnumApps_Stub(
  526. IRpcStubBuffer *This,
  527. IRpcChannelBuffer *_pRpcChannelBuffer,
  528. PRPC_MESSAGE _pRpcMessage,
  529. DWORD *_pdwStubPhase);
  530. #endif /* __IAppPublisher_INTERFACE_DEFINED__ */
  531. /* interface __MIDL_itf_shappmgr_0262 */
  532. /* [local] */
  533. #endif // _SHAPPMGR_H_
  534. extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0262_v0_0_c_ifspec;
  535. extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0262_v0_0_s_ifspec;
  536. /* Additional Prototypes for ALL interfaces */
  537. /* end of Additional Prototypes */
  538. #ifdef __cplusplus
  539. }
  540. #endif
  541. #endif