/usr/i686-w64-mingw32/include/shappmgr.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error This stub requires an updated version of <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif
#ifndef __shappmgr_h__
#define __shappmgr_h__
#ifndef __IShellApp_FWD_DEFINED__
#define __IShellApp_FWD_DEFINED__
typedef struct IShellApp IShellApp;
#endif
#ifndef __IPublishedApp_FWD_DEFINED__
#define __IPublishedApp_FWD_DEFINED__
typedef struct IPublishedApp IPublishedApp;
#endif
#ifndef __IEnumPublishedApps_FWD_DEFINED__
#define __IEnumPublishedApps_FWD_DEFINED__
typedef struct IEnumPublishedApps IEnumPublishedApps;
#endif
#ifndef __IAppPublisher_FWD_DEFINED__
#define __IAppPublisher_FWD_DEFINED__
typedef struct IAppPublisher IAppPublisher;
#endif
#include "oaidl.h"
#include "ocidl.h"
#include "appmgmt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
#endif
#ifndef _SHAPPMGR_H_
#define _SHAPPMGR_H_
extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0000_v0_0_s_ifspec;
#ifndef __IShellApp_INTERFACE_DEFINED__
#define __IShellApp_INTERFACE_DEFINED__
typedef enum _tagAppInfoFlags {
AIM_DISPLAYNAME = 0x1,AIM_VERSION = 0x2,AIM_PUBLISHER = 0x4,AIM_PRODUCTID = 0x8,AIM_REGISTEREDOWNER = 0x10,AIM_REGISTEREDCOMPANY = 0x20,
AIM_LANGUAGE = 0x40,AIM_SUPPORTURL = 0x80,AIM_SUPPORTTELEPHONE = 0x100,AIM_HELPLINK = 0x200,AIM_INSTALLLOCATION = 0x400,AIM_INSTALLSOURCE = 0x800,
AIM_INSTALLDATE = 0x1000,AIM_CONTACT = 0x4000,AIM_COMMENTS = 0x8000,AIM_IMAGE = 0x20000,AIM_READMEURL = 0x40000,AIM_UPDATEINFOURL = 0x80000
} APPINFODATAFLAGS;
typedef struct _AppInfoData {
DWORD cbSize;
DWORD dwMask;
LPWSTR pszDisplayName;
LPWSTR pszVersion;
LPWSTR pszPublisher;
LPWSTR pszProductID;
LPWSTR pszRegisteredOwner;
LPWSTR pszRegisteredCompany;
LPWSTR pszLanguage;
LPWSTR pszSupportUrl;
LPWSTR pszSupportTelephone;
LPWSTR pszHelpLink;
LPWSTR pszInstallLocation;
LPWSTR pszInstallSource;
LPWSTR pszInstallDate;
LPWSTR pszContact;
LPWSTR pszComments;
LPWSTR pszImage;
LPWSTR pszReadmeUrl;
LPWSTR pszUpdateInfoUrl;
} APPINFODATA;
typedef struct _AppInfoData *PAPPINFODATA;
typedef enum _tagAppActionFlags {
APPACTION_INSTALL = 0x1,APPACTION_UNINSTALL = 0x2,APPACTION_MODIFY = 0x4,APPACTION_REPAIR = 0x8,APPACTION_UPGRADE = 0x10,
APPACTION_CANGETSIZE = 0x20,APPACTION_MODIFYREMOVE = 0x80,APPACTION_ADDLATER = 0x100,APPACTION_UNSCHEDULE = 0x200
} APPACTIONFLAGS;
typedef struct _tagSlowAppInfo {
ULONGLONG ullSize;
FILETIME ftLastUsed;
int iTimesUsed;
LPWSTR pszImage;
} SLOWAPPINFO;
typedef struct _tagSlowAppInfo *PSLOWAPPINFO;
EXTERN_C const IID IID_IShellApp;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IShellApp : public IUnknown {
public:
virtual HRESULT WINAPI GetAppInfo(PAPPINFODATA pai) = 0;
virtual HRESULT WINAPI GetPossibleActions(DWORD *pdwActions) = 0;
virtual HRESULT WINAPI GetSlowAppInfo(PSLOWAPPINFO psaid) = 0;
virtual HRESULT WINAPI GetCachedSlowAppInfo(PSLOWAPPINFO psaid) = 0;
virtual HRESULT WINAPI IsInstalled(void) = 0;
};
#else
typedef struct IShellAppVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IShellApp *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IShellApp *This);
ULONG (WINAPI *Release)(IShellApp *This);
HRESULT (WINAPI *GetAppInfo)(IShellApp *This,PAPPINFODATA pai);
HRESULT (WINAPI *GetPossibleActions)(IShellApp *This,DWORD *pdwActions);
HRESULT (WINAPI *GetSlowAppInfo)(IShellApp *This,PSLOWAPPINFO psaid);
HRESULT (WINAPI *GetCachedSlowAppInfo)(IShellApp *This,PSLOWAPPINFO psaid);
HRESULT (WINAPI *IsInstalled)(IShellApp *This);
END_INTERFACE
} IShellAppVtbl;
struct IShellApp {
CONST_VTBL struct IShellAppVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IShellApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IShellApp_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IShellApp_Release(This) (This)->lpVtbl->Release(This)
#define IShellApp_GetAppInfo(This,pai) (This)->lpVtbl->GetAppInfo(This,pai)
#define IShellApp_GetPossibleActions(This,pdwActions) (This)->lpVtbl->GetPossibleActions(This,pdwActions)
#define IShellApp_GetSlowAppInfo(This,psaid) (This)->lpVtbl->GetSlowAppInfo(This,psaid)
#define IShellApp_GetCachedSlowAppInfo(This,psaid) (This)->lpVtbl->GetCachedSlowAppInfo(This,psaid)
#define IShellApp_IsInstalled(This) (This)->lpVtbl->IsInstalled(This)
#endif
#endif
HRESULT WINAPI IShellApp_GetAppInfo_Proxy(IShellApp *This,PAPPINFODATA pai);
void __RPC_STUB IShellApp_GetAppInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IShellApp_GetPossibleActions_Proxy(IShellApp *This,DWORD *pdwActions);
void __RPC_STUB IShellApp_GetPossibleActions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IShellApp_GetSlowAppInfo_Proxy(IShellApp *This,PSLOWAPPINFO psaid);
void __RPC_STUB IShellApp_GetSlowAppInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IShellApp_GetCachedSlowAppInfo_Proxy(IShellApp *This,PSLOWAPPINFO psaid);
void __RPC_STUB IShellApp_GetCachedSlowAppInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IShellApp_IsInstalled_Proxy(IShellApp *This);
void __RPC_STUB IShellApp_IsInstalled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#ifndef __IPublishedApp_INTERFACE_DEFINED__
#define __IPublishedApp_INTERFACE_DEFINED__
typedef enum _tagPublishedAppInfoFlags {
PAI_SOURCE = 0x1,PAI_ASSIGNEDTIME = 0x2,PAI_PUBLISHEDTIME = 0x4,PAI_SCHEDULEDTIME = 0x8,PAI_EXPIRETIME = 0x10
} PUBAPPINFOFLAGS;
typedef struct _PubAppInfo {
DWORD cbSize;
DWORD dwMask;
LPWSTR pszSource;
SYSTEMTIME stAssigned;
SYSTEMTIME stPublished;
SYSTEMTIME stScheduled;
SYSTEMTIME stExpire;
} PUBAPPINFO;
typedef struct _PubAppInfo *PPUBAPPINFO;
EXTERN_C const IID IID_IPublishedApp;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IPublishedApp : public IShellApp {
public:
virtual HRESULT WINAPI Install(LPSYSTEMTIME pstInstall) = 0;
virtual HRESULT WINAPI GetPublishedAppInfo(PPUBAPPINFO ppai) = 0;
virtual HRESULT WINAPI Unschedule(void) = 0;
};
#else
typedef struct IPublishedAppVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IPublishedApp *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IPublishedApp *This);
ULONG (WINAPI *Release)(IPublishedApp *This);
HRESULT (WINAPI *GetAppInfo)(IPublishedApp *This,PAPPINFODATA pai);
HRESULT (WINAPI *GetPossibleActions)(IPublishedApp *This,DWORD *pdwActions);
HRESULT (WINAPI *GetSlowAppInfo)(IPublishedApp *This,PSLOWAPPINFO psaid);
HRESULT (WINAPI *GetCachedSlowAppInfo)(IPublishedApp *This,PSLOWAPPINFO psaid);
HRESULT (WINAPI *IsInstalled)(IPublishedApp *This);
HRESULT (WINAPI *Install)(IPublishedApp *This,LPSYSTEMTIME pstInstall);
HRESULT (WINAPI *GetPublishedAppInfo)(IPublishedApp *This,PPUBAPPINFO ppai);
HRESULT (WINAPI *Unschedule)(IPublishedApp *This);
END_INTERFACE
} IPublishedAppVtbl;
struct IPublishedApp {
CONST_VTBL struct IPublishedAppVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IPublishedApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IPublishedApp_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IPublishedApp_Release(This) (This)->lpVtbl->Release(This)
#define IPublishedApp_GetAppInfo(This,pai) (This)->lpVtbl->GetAppInfo(This,pai)
#define IPublishedApp_GetPossibleActions(This,pdwActions) (This)->lpVtbl->GetPossibleActions(This,pdwActions)
#define IPublishedApp_GetSlowAppInfo(This,psaid) (This)->lpVtbl->GetSlowAppInfo(This,psaid)
#define IPublishedApp_GetCachedSlowAppInfo(This,psaid) (This)->lpVtbl->GetCachedSlowAppInfo(This,psaid)
#define IPublishedApp_IsInstalled(This) (This)->lpVtbl->IsInstalled(This)
#define IPublishedApp_Install(This,pstInstall) (This)->lpVtbl->Install(This,pstInstall)
#define IPublishedApp_GetPublishedAppInfo(This,ppai) (This)->lpVtbl->GetPublishedAppInfo(This,ppai)
#define IPublishedApp_Unschedule(This) (This)->lpVtbl->Unschedule(This)
#endif
#endif
HRESULT WINAPI IPublishedApp_Install_Proxy(IPublishedApp *This,LPSYSTEMTIME pstInstall);
void __RPC_STUB IPublishedApp_Install_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IPublishedApp_GetPublishedAppInfo_Proxy(IPublishedApp *This,PPUBAPPINFO ppai);
void __RPC_STUB IPublishedApp_GetPublishedAppInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IPublishedApp_Unschedule_Proxy(IPublishedApp *This);
void __RPC_STUB IPublishedApp_Unschedule_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#ifndef __IEnumPublishedApps_INTERFACE_DEFINED__
#define __IEnumPublishedApps_INTERFACE_DEFINED__
EXTERN_C const IID IID_IEnumPublishedApps;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IEnumPublishedApps : public IUnknown {
public:
virtual HRESULT WINAPI Next(IPublishedApp **pia) = 0;
virtual HRESULT WINAPI Reset(void) = 0;
};
#else
typedef struct IEnumPublishedAppsVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IEnumPublishedApps *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IEnumPublishedApps *This);
ULONG (WINAPI *Release)(IEnumPublishedApps *This);
HRESULT (WINAPI *Next)(IEnumPublishedApps *This,IPublishedApp **pia);
HRESULT (WINAPI *Reset)(IEnumPublishedApps *This);
END_INTERFACE
} IEnumPublishedAppsVtbl;
struct IEnumPublishedApps {
CONST_VTBL struct IEnumPublishedAppsVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IEnumPublishedApps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IEnumPublishedApps_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IEnumPublishedApps_Release(This) (This)->lpVtbl->Release(This)
#define IEnumPublishedApps_Next(This,pia) (This)->lpVtbl->Next(This,pia)
#define IEnumPublishedApps_Reset(This) (This)->lpVtbl->Reset(This)
#endif
#endif
HRESULT WINAPI IEnumPublishedApps_Next_Proxy(IEnumPublishedApps *This,IPublishedApp **pia);
void __RPC_STUB IEnumPublishedApps_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IEnumPublishedApps_Reset_Proxy(IEnumPublishedApps *This);
void __RPC_STUB IEnumPublishedApps_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#ifndef __IAppPublisher_INTERFACE_DEFINED__
#define __IAppPublisher_INTERFACE_DEFINED__
EXTERN_C const IID IID_IAppPublisher;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IAppPublisher : public IUnknown {
public:
virtual HRESULT WINAPI GetNumberOfCategories(DWORD *pdwCat) = 0;
virtual HRESULT WINAPI GetCategories(APPCATEGORYINFOLIST *pAppCategoryList) = 0;
virtual HRESULT WINAPI GetNumberOfApps(DWORD *pdwApps) = 0;
virtual HRESULT WINAPI EnumApps(GUID *pAppCategoryId,IEnumPublishedApps **ppepa) = 0;
};
#else
typedef struct IAppPublisherVtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IAppPublisher *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IAppPublisher *This);
ULONG (WINAPI *Release)(IAppPublisher *This);
HRESULT (WINAPI *GetNumberOfCategories)(IAppPublisher *This,DWORD *pdwCat);
HRESULT (WINAPI *GetCategories)(IAppPublisher *This,APPCATEGORYINFOLIST *pAppCategoryList);
HRESULT (WINAPI *GetNumberOfApps)(IAppPublisher *This,DWORD *pdwApps);
HRESULT (WINAPI *EnumApps)(IAppPublisher *This,GUID *pAppCategoryId,IEnumPublishedApps **ppepa);
END_INTERFACE
} IAppPublisherVtbl;
struct IAppPublisher {
CONST_VTBL struct IAppPublisherVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAppPublisher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IAppPublisher_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IAppPublisher_Release(This) (This)->lpVtbl->Release(This)
#define IAppPublisher_GetNumberOfCategories(This,pdwCat) (This)->lpVtbl->GetNumberOfCategories(This,pdwCat)
#define IAppPublisher_GetCategories(This,pAppCategoryList) (This)->lpVtbl->GetCategories(This,pAppCategoryList)
#define IAppPublisher_GetNumberOfApps(This,pdwApps) (This)->lpVtbl->GetNumberOfApps(This,pdwApps)
#define IAppPublisher_EnumApps(This,pAppCategoryId,ppepa) (This)->lpVtbl->EnumApps(This,pAppCategoryId,ppepa)
#endif
#endif
HRESULT WINAPI IAppPublisher_GetNumberOfCategories_Proxy(IAppPublisher *This,DWORD *pdwCat);
void __RPC_STUB IAppPublisher_GetNumberOfCategories_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IAppPublisher_GetCategories_Proxy(IAppPublisher *This,APPCATEGORYINFOLIST *pAppCategoryList);
void __RPC_STUB IAppPublisher_GetCategories_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IAppPublisher_GetNumberOfApps_Proxy(IAppPublisher *This,DWORD *pdwApps);
void __RPC_STUB IAppPublisher_GetNumberOfApps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IAppPublisher_EnumApps_Proxy(IAppPublisher *This,GUID *pAppCategoryId,IEnumPublishedApps **ppepa);
void __RPC_STUB IAppPublisher_EnumApps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#endif
extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0266_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_shappmgr_0266_v0_0_s_ifspec;
#ifdef __cplusplus
}
#endif
#endif
|