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.

646 lines
17 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 shappmgrp.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 __shappmgrp_h__
  23. #define __shappmgrp_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. #ifndef __IInstalledApp_FWD_DEFINED__
  29. #define __IInstalledApp_FWD_DEFINED__
  30. typedef interface IInstalledApp IInstalledApp;
  31. #endif /* __IInstalledApp_FWD_DEFINED__ */
  32. #ifndef __IEnumInstalledApps_FWD_DEFINED__
  33. #define __IEnumInstalledApps_FWD_DEFINED__
  34. typedef interface IEnumInstalledApps IEnumInstalledApps;
  35. #endif /* __IEnumInstalledApps_FWD_DEFINED__ */
  36. #ifndef __EnumInstalledApps_FWD_DEFINED__
  37. #define __EnumInstalledApps_FWD_DEFINED__
  38. #ifdef __cplusplus
  39. typedef class EnumInstalledApps EnumInstalledApps;
  40. #else
  41. typedef struct EnumInstalledApps EnumInstalledApps;
  42. #endif /* __cplusplus */
  43. #endif /* __EnumInstalledApps_FWD_DEFINED__ */
  44. #ifndef __IShellAppManager_FWD_DEFINED__
  45. #define __IShellAppManager_FWD_DEFINED__
  46. typedef interface IShellAppManager IShellAppManager;
  47. #endif /* __IShellAppManager_FWD_DEFINED__ */
  48. #ifndef __ShellAppManager_FWD_DEFINED__
  49. #define __ShellAppManager_FWD_DEFINED__
  50. #ifdef __cplusplus
  51. typedef class ShellAppManager ShellAppManager;
  52. #else
  53. typedef struct ShellAppManager ShellAppManager;
  54. #endif /* __cplusplus */
  55. #endif /* __ShellAppManager_FWD_DEFINED__ */
  56. /* header files for imported files */
  57. #include "oleidl.h"
  58. #include "oaidl.h"
  59. #include "shappmgr.h"
  60. #ifdef __cplusplus
  61. extern "C"{
  62. #endif
  63. void * __RPC_USER MIDL_user_allocate(size_t);
  64. void __RPC_USER MIDL_user_free( void * );
  65. /* interface __MIDL_itf_shappmgrp_0000 */
  66. /* [local] */
  67. #ifndef _SHAPPMGRP_H_
  68. #define _SHAPPMGRP_H_
  69. extern RPC_IF_HANDLE __MIDL_itf_shappmgrp_0000_v0_0_c_ifspec;
  70. extern RPC_IF_HANDLE __MIDL_itf_shappmgrp_0000_v0_0_s_ifspec;
  71. #ifndef __SHAPPMGRPLib_LIBRARY_DEFINED__
  72. #define __SHAPPMGRPLib_LIBRARY_DEFINED__
  73. /* library SHAPPMGRPLib */
  74. /* [version][lcid][helpstring][uuid] */
  75. EXTERN_C const IID LIBID_SHAPPMGRPLib;
  76. #ifndef __IInstalledApp_INTERFACE_DEFINED__
  77. #define __IInstalledApp_INTERFACE_DEFINED__
  78. /* interface IInstalledApp */
  79. /* [object][helpstring][uuid] */
  80. EXTERN_C const IID IID_IInstalledApp;
  81. #if defined(__cplusplus) && !defined(CINTERFACE)
  82. MIDL_INTERFACE("1BC752DF-9046-11D1-B8B3-006008059382")
  83. IInstalledApp : public IShellApp
  84. {
  85. public:
  86. virtual HRESULT STDMETHODCALLTYPE Uninstall(
  87. HWND hwnd) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE Modify(
  89. HWND hwndParent) = 0;
  90. virtual HRESULT STDMETHODCALLTYPE Repair(
  91. /* [in] */ BOOL bReinstall) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE Upgrade( void) = 0;
  93. };
  94. #else /* C style interface */
  95. typedef struct IInstalledAppVtbl
  96. {
  97. BEGIN_INTERFACE
  98. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  99. IInstalledApp * This,
  100. /* [in] */ REFIID riid,
  101. /* [iid_is][out] */ void **ppvObject);
  102. ULONG ( STDMETHODCALLTYPE *AddRef )(
  103. IInstalledApp * This);
  104. ULONG ( STDMETHODCALLTYPE *Release )(
  105. IInstalledApp * This);
  106. HRESULT ( STDMETHODCALLTYPE *GetAppInfo )(
  107. IInstalledApp * This,
  108. /* [out][in] */ PAPPINFODATA pai);
  109. HRESULT ( STDMETHODCALLTYPE *GetPossibleActions )(
  110. IInstalledApp * This,
  111. /* [out] */ DWORD *pdwActions);
  112. HRESULT ( STDMETHODCALLTYPE *GetSlowAppInfo )(
  113. IInstalledApp * This,
  114. /* [in] */ PSLOWAPPINFO psaid);
  115. HRESULT ( STDMETHODCALLTYPE *GetCachedSlowAppInfo )(
  116. IInstalledApp * This,
  117. /* [in] */ PSLOWAPPINFO psaid);
  118. HRESULT ( STDMETHODCALLTYPE *IsInstalled )(
  119. IInstalledApp * This);
  120. HRESULT ( STDMETHODCALLTYPE *Uninstall )(
  121. IInstalledApp * This,
  122. HWND hwnd);
  123. HRESULT ( STDMETHODCALLTYPE *Modify )(
  124. IInstalledApp * This,
  125. HWND hwndParent);
  126. HRESULT ( STDMETHODCALLTYPE *Repair )(
  127. IInstalledApp * This,
  128. /* [in] */ BOOL bReinstall);
  129. HRESULT ( STDMETHODCALLTYPE *Upgrade )(
  130. IInstalledApp * This);
  131. END_INTERFACE
  132. } IInstalledAppVtbl;
  133. interface IInstalledApp
  134. {
  135. CONST_VTBL struct IInstalledAppVtbl *lpVtbl;
  136. };
  137. #ifdef COBJMACROS
  138. #define IInstalledApp_QueryInterface(This,riid,ppvObject) \
  139. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  140. #define IInstalledApp_AddRef(This) \
  141. (This)->lpVtbl -> AddRef(This)
  142. #define IInstalledApp_Release(This) \
  143. (This)->lpVtbl -> Release(This)
  144. #define IInstalledApp_GetAppInfo(This,pai) \
  145. (This)->lpVtbl -> GetAppInfo(This,pai)
  146. #define IInstalledApp_GetPossibleActions(This,pdwActions) \
  147. (This)->lpVtbl -> GetPossibleActions(This,pdwActions)
  148. #define IInstalledApp_GetSlowAppInfo(This,psaid) \
  149. (This)->lpVtbl -> GetSlowAppInfo(This,psaid)
  150. #define IInstalledApp_GetCachedSlowAppInfo(This,psaid) \
  151. (This)->lpVtbl -> GetCachedSlowAppInfo(This,psaid)
  152. #define IInstalledApp_IsInstalled(This) \
  153. (This)->lpVtbl -> IsInstalled(This)
  154. #define IInstalledApp_Uninstall(This,hwnd) \
  155. (This)->lpVtbl -> Uninstall(This,hwnd)
  156. #define IInstalledApp_Modify(This,hwndParent) \
  157. (This)->lpVtbl -> Modify(This,hwndParent)
  158. #define IInstalledApp_Repair(This,bReinstall) \
  159. (This)->lpVtbl -> Repair(This,bReinstall)
  160. #define IInstalledApp_Upgrade(This) \
  161. (This)->lpVtbl -> Upgrade(This)
  162. #endif /* COBJMACROS */
  163. #endif /* C style interface */
  164. HRESULT STDMETHODCALLTYPE IInstalledApp_Uninstall_Proxy(
  165. IInstalledApp * This,
  166. HWND hwnd);
  167. void __RPC_STUB IInstalledApp_Uninstall_Stub(
  168. IRpcStubBuffer *This,
  169. IRpcChannelBuffer *_pRpcChannelBuffer,
  170. PRPC_MESSAGE _pRpcMessage,
  171. DWORD *_pdwStubPhase);
  172. HRESULT STDMETHODCALLTYPE IInstalledApp_Modify_Proxy(
  173. IInstalledApp * This,
  174. HWND hwndParent);
  175. void __RPC_STUB IInstalledApp_Modify_Stub(
  176. IRpcStubBuffer *This,
  177. IRpcChannelBuffer *_pRpcChannelBuffer,
  178. PRPC_MESSAGE _pRpcMessage,
  179. DWORD *_pdwStubPhase);
  180. HRESULT STDMETHODCALLTYPE IInstalledApp_Repair_Proxy(
  181. IInstalledApp * This,
  182. /* [in] */ BOOL bReinstall);
  183. void __RPC_STUB IInstalledApp_Repair_Stub(
  184. IRpcStubBuffer *This,
  185. IRpcChannelBuffer *_pRpcChannelBuffer,
  186. PRPC_MESSAGE _pRpcMessage,
  187. DWORD *_pdwStubPhase);
  188. HRESULT STDMETHODCALLTYPE IInstalledApp_Upgrade_Proxy(
  189. IInstalledApp * This);
  190. void __RPC_STUB IInstalledApp_Upgrade_Stub(
  191. IRpcStubBuffer *This,
  192. IRpcChannelBuffer *_pRpcChannelBuffer,
  193. PRPC_MESSAGE _pRpcMessage,
  194. DWORD *_pdwStubPhase);
  195. #endif /* __IInstalledApp_INTERFACE_DEFINED__ */
  196. #ifndef __IEnumInstalledApps_INTERFACE_DEFINED__
  197. #define __IEnumInstalledApps_INTERFACE_DEFINED__
  198. /* interface IEnumInstalledApps */
  199. /* [object][helpstring][uuid] */
  200. EXTERN_C const IID IID_IEnumInstalledApps;
  201. #if defined(__cplusplus) && !defined(CINTERFACE)
  202. MIDL_INTERFACE("1BC752E1-9046-11D1-B8B3-006008059382")
  203. IEnumInstalledApps : public IUnknown
  204. {
  205. public:
  206. virtual HRESULT STDMETHODCALLTYPE Next(
  207. /* [out] */ IInstalledApp **pia) = 0;
  208. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  209. };
  210. #else /* C style interface */
  211. typedef struct IEnumInstalledAppsVtbl
  212. {
  213. BEGIN_INTERFACE
  214. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  215. IEnumInstalledApps * This,
  216. /* [in] */ REFIID riid,
  217. /* [iid_is][out] */ void **ppvObject);
  218. ULONG ( STDMETHODCALLTYPE *AddRef )(
  219. IEnumInstalledApps * This);
  220. ULONG ( STDMETHODCALLTYPE *Release )(
  221. IEnumInstalledApps * This);
  222. HRESULT ( STDMETHODCALLTYPE *Next )(
  223. IEnumInstalledApps * This,
  224. /* [out] */ IInstalledApp **pia);
  225. HRESULT ( STDMETHODCALLTYPE *Reset )(
  226. IEnumInstalledApps * This);
  227. END_INTERFACE
  228. } IEnumInstalledAppsVtbl;
  229. interface IEnumInstalledApps
  230. {
  231. CONST_VTBL struct IEnumInstalledAppsVtbl *lpVtbl;
  232. };
  233. #ifdef COBJMACROS
  234. #define IEnumInstalledApps_QueryInterface(This,riid,ppvObject) \
  235. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  236. #define IEnumInstalledApps_AddRef(This) \
  237. (This)->lpVtbl -> AddRef(This)
  238. #define IEnumInstalledApps_Release(This) \
  239. (This)->lpVtbl -> Release(This)
  240. #define IEnumInstalledApps_Next(This,pia) \
  241. (This)->lpVtbl -> Next(This,pia)
  242. #define IEnumInstalledApps_Reset(This) \
  243. (This)->lpVtbl -> Reset(This)
  244. #endif /* COBJMACROS */
  245. #endif /* C style interface */
  246. HRESULT STDMETHODCALLTYPE IEnumInstalledApps_Next_Proxy(
  247. IEnumInstalledApps * This,
  248. /* [out] */ IInstalledApp **pia);
  249. void __RPC_STUB IEnumInstalledApps_Next_Stub(
  250. IRpcStubBuffer *This,
  251. IRpcChannelBuffer *_pRpcChannelBuffer,
  252. PRPC_MESSAGE _pRpcMessage,
  253. DWORD *_pdwStubPhase);
  254. HRESULT STDMETHODCALLTYPE IEnumInstalledApps_Reset_Proxy(
  255. IEnumInstalledApps * This);
  256. void __RPC_STUB IEnumInstalledApps_Reset_Stub(
  257. IRpcStubBuffer *This,
  258. IRpcChannelBuffer *_pRpcChannelBuffer,
  259. PRPC_MESSAGE _pRpcMessage,
  260. DWORD *_pdwStubPhase);
  261. #endif /* __IEnumInstalledApps_INTERFACE_DEFINED__ */
  262. EXTERN_C const CLSID CLSID_EnumInstalledApps;
  263. #ifdef __cplusplus
  264. class DECLSPEC_UUID("0B124F8F-91F0-11D1-B8B5-006008059382")
  265. EnumInstalledApps;
  266. #endif
  267. #ifndef __IShellAppManager_INTERFACE_DEFINED__
  268. #define __IShellAppManager_INTERFACE_DEFINED__
  269. /* interface IShellAppManager */
  270. /* [object][helpstring][uuid] */
  271. typedef struct _ShellAppCategory
  272. {
  273. LPWSTR pszCategory;
  274. UINT idCategory;
  275. } SHELLAPPCATEGORY;
  276. typedef struct _ShellAppCategory *PSHELLAPPCATEGORY;
  277. typedef struct _ShellAppCategoryList
  278. {
  279. UINT cCategories;
  280. SHELLAPPCATEGORY *pCategory;
  281. } SHELLAPPCATEGORYLIST;
  282. typedef struct _ShellAppCategoryList *PSHELLAPPCATEGORYLIST;
  283. EXTERN_C const IID IID_IShellAppManager;
  284. #if defined(__cplusplus) && !defined(CINTERFACE)
  285. MIDL_INTERFACE("352EC2B8-8B9A-11D1-B8AE-006008059382")
  286. IShellAppManager : public IUnknown
  287. {
  288. public:
  289. virtual HRESULT STDMETHODCALLTYPE GetNumberofInstalledApps(
  290. DWORD *pdwResult) = 0;
  291. virtual HRESULT STDMETHODCALLTYPE EnumInstalledApps(
  292. IEnumInstalledApps **peia) = 0;
  293. virtual HRESULT STDMETHODCALLTYPE GetPublishedAppCategories(
  294. PSHELLAPPCATEGORYLIST pCategoryList) = 0;
  295. virtual HRESULT STDMETHODCALLTYPE EnumPublishedApps(
  296. LPCWSTR pszCategory,
  297. IEnumPublishedApps **ppepa) = 0;
  298. virtual HRESULT STDMETHODCALLTYPE InstallFromFloppyOrCDROM(
  299. HWND hwndParent) = 0;
  300. };
  301. #else /* C style interface */
  302. typedef struct IShellAppManagerVtbl
  303. {
  304. BEGIN_INTERFACE
  305. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  306. IShellAppManager * This,
  307. /* [in] */ REFIID riid,
  308. /* [iid_is][out] */ void **ppvObject);
  309. ULONG ( STDMETHODCALLTYPE *AddRef )(
  310. IShellAppManager * This);
  311. ULONG ( STDMETHODCALLTYPE *Release )(
  312. IShellAppManager * This);
  313. HRESULT ( STDMETHODCALLTYPE *GetNumberofInstalledApps )(
  314. IShellAppManager * This,
  315. DWORD *pdwResult);
  316. HRESULT ( STDMETHODCALLTYPE *EnumInstalledApps )(
  317. IShellAppManager * This,
  318. IEnumInstalledApps **peia);
  319. HRESULT ( STDMETHODCALLTYPE *GetPublishedAppCategories )(
  320. IShellAppManager * This,
  321. PSHELLAPPCATEGORYLIST pCategoryList);
  322. HRESULT ( STDMETHODCALLTYPE *EnumPublishedApps )(
  323. IShellAppManager * This,
  324. LPCWSTR pszCategory,
  325. IEnumPublishedApps **ppepa);
  326. HRESULT ( STDMETHODCALLTYPE *InstallFromFloppyOrCDROM )(
  327. IShellAppManager * This,
  328. HWND hwndParent);
  329. END_INTERFACE
  330. } IShellAppManagerVtbl;
  331. interface IShellAppManager
  332. {
  333. CONST_VTBL struct IShellAppManagerVtbl *lpVtbl;
  334. };
  335. #ifdef COBJMACROS
  336. #define IShellAppManager_QueryInterface(This,riid,ppvObject) \
  337. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  338. #define IShellAppManager_AddRef(This) \
  339. (This)->lpVtbl -> AddRef(This)
  340. #define IShellAppManager_Release(This) \
  341. (This)->lpVtbl -> Release(This)
  342. #define IShellAppManager_GetNumberofInstalledApps(This,pdwResult) \
  343. (This)->lpVtbl -> GetNumberofInstalledApps(This,pdwResult)
  344. #define IShellAppManager_EnumInstalledApps(This,peia) \
  345. (This)->lpVtbl -> EnumInstalledApps(This,peia)
  346. #define IShellAppManager_GetPublishedAppCategories(This,pCategoryList) \
  347. (This)->lpVtbl -> GetPublishedAppCategories(This,pCategoryList)
  348. #define IShellAppManager_EnumPublishedApps(This,pszCategory,ppepa) \
  349. (This)->lpVtbl -> EnumPublishedApps(This,pszCategory,ppepa)
  350. #define IShellAppManager_InstallFromFloppyOrCDROM(This,hwndParent) \
  351. (This)->lpVtbl -> InstallFromFloppyOrCDROM(This,hwndParent)
  352. #endif /* COBJMACROS */
  353. #endif /* C style interface */
  354. HRESULT STDMETHODCALLTYPE IShellAppManager_GetNumberofInstalledApps_Proxy(
  355. IShellAppManager * This,
  356. DWORD *pdwResult);
  357. void __RPC_STUB IShellAppManager_GetNumberofInstalledApps_Stub(
  358. IRpcStubBuffer *This,
  359. IRpcChannelBuffer *_pRpcChannelBuffer,
  360. PRPC_MESSAGE _pRpcMessage,
  361. DWORD *_pdwStubPhase);
  362. HRESULT STDMETHODCALLTYPE IShellAppManager_EnumInstalledApps_Proxy(
  363. IShellAppManager * This,
  364. IEnumInstalledApps **peia);
  365. void __RPC_STUB IShellAppManager_EnumInstalledApps_Stub(
  366. IRpcStubBuffer *This,
  367. IRpcChannelBuffer *_pRpcChannelBuffer,
  368. PRPC_MESSAGE _pRpcMessage,
  369. DWORD *_pdwStubPhase);
  370. HRESULT STDMETHODCALLTYPE IShellAppManager_GetPublishedAppCategories_Proxy(
  371. IShellAppManager * This,
  372. PSHELLAPPCATEGORYLIST pCategoryList);
  373. void __RPC_STUB IShellAppManager_GetPublishedAppCategories_Stub(
  374. IRpcStubBuffer *This,
  375. IRpcChannelBuffer *_pRpcChannelBuffer,
  376. PRPC_MESSAGE _pRpcMessage,
  377. DWORD *_pdwStubPhase);
  378. HRESULT STDMETHODCALLTYPE IShellAppManager_EnumPublishedApps_Proxy(
  379. IShellAppManager * This,
  380. LPCWSTR pszCategory,
  381. IEnumPublishedApps **ppepa);
  382. void __RPC_STUB IShellAppManager_EnumPublishedApps_Stub(
  383. IRpcStubBuffer *This,
  384. IRpcChannelBuffer *_pRpcChannelBuffer,
  385. PRPC_MESSAGE _pRpcMessage,
  386. DWORD *_pdwStubPhase);
  387. HRESULT STDMETHODCALLTYPE IShellAppManager_InstallFromFloppyOrCDROM_Proxy(
  388. IShellAppManager * This,
  389. HWND hwndParent);
  390. void __RPC_STUB IShellAppManager_InstallFromFloppyOrCDROM_Stub(
  391. IRpcStubBuffer *This,
  392. IRpcChannelBuffer *_pRpcChannelBuffer,
  393. PRPC_MESSAGE _pRpcMessage,
  394. DWORD *_pdwStubPhase);
  395. #endif /* __IShellAppManager_INTERFACE_DEFINED__ */
  396. EXTERN_C const CLSID CLSID_ShellAppManager;
  397. #ifdef __cplusplus
  398. class DECLSPEC_UUID("352EC2B7-8B9A-11D1-B8AE-006008059382")
  399. ShellAppManager;
  400. #endif
  401. #endif /* __SHAPPMGRPLib_LIBRARY_DEFINED__ */
  402. /* interface __MIDL_itf_shappmgrp_0268 */
  403. /* [local] */
  404. #endif // _SHAPPMGRP_H_
  405. extern RPC_IF_HANDLE __MIDL_itf_shappmgrp_0268_v0_0_c_ifspec;
  406. extern RPC_IF_HANDLE __MIDL_itf_shappmgrp_0268_v0_0_s_ifspec;
  407. /* Additional Prototypes for ALL interfaces */
  408. /* end of Additional Prototypes */
  409. #ifdef __cplusplus
  410. }
  411. #endif
  412. #endif