/usr/include/wine/windows/iimgctx.h is in libwine-dev 1.8.7-2.
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 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | /*** Autogenerated by WIDL 1.8.7 from iimgctx.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __iimgctx_h__
#define __iimgctx_h__
/* Forward declarations */
#ifndef __IImgCtx_FWD_DEFINED__
#define __IImgCtx_FWD_DEFINED__
typedef interface IImgCtx IImgCtx;
#ifdef __cplusplus
interface IImgCtx;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <unknwn.h>
#ifdef __cplusplus
extern "C" {
#endif
#define IMGCHG_SIZE 0x0001
#define IMGCHG_VIEW 0x0002
#define IMGCHG_COMPLETE 0x0004
#define IMGCHG_ANIMATE 0x0008
#define IMGCHG_MASK 0x000f
#define IMGLOAD_NOTLOADED 0x00100000
#define IMGLOAD_LOADING 0x00200000
#define IMGLOAD_STOPPED 0x00400000
#define IMGLOAD_ERROR 0x00800000
#define IMGLOAD_COMPLETE 0x01000000
#define IMGLOAD_MASK 0x01f00000
#define IMGBITS_NONE 0x02000000
#define IMGBITS_PARTIAL 0x04000000
#define IMGBITS_TOTAL 0x08000000
#define IMGBITS_MASK 0x0e000000
#define IMGANIM_ANIMATED 0x10000000
#define IMGANIM_MASK 0x10000000
#define IMGTRANS_OPAQUE 0x20000000
#define IMGTRANS_MASK 0x20000000
#define DWN_COLORMODE 0x0000003f
#define DWN_DOWNLOADONLY 0x00000040
#define DWN_FORCEDITHER 0x00000080
#define DWN_RAWIMAGE 0x00000100
#define DWN_MIRRORIMAGE 0x00000200
typedef void (__stdcall *PFNIMGCTXCALLBACK)(void *a,void *b);
/*****************************************************************************
* IImgCtx interface
*/
#ifndef __IImgCtx_INTERFACE_DEFINED__
#define __IImgCtx_INTERFACE_DEFINED__
DEFINE_GUID(IID_IImgCtx, 0x3050f3d7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("3050f3d7-98b5-11cf-bb82-00aa00bdce0b")
IImgCtx : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Load(
LPCWSTR url,
DWORD flags) = 0;
virtual HRESULT STDMETHODCALLTYPE SelectChanges(
ULONG changeon,
ULONG changeoff,
BOOL signal) = 0;
virtual HRESULT STDMETHODCALLTYPE SetCallback(
void (__stdcall * fn)(void *a,void *b),
void *priv) = 0;
virtual HRESULT STDMETHODCALLTYPE Disconnect(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetUpdateRects(
RECT *rect,
RECT *img,
LONG *pcrc) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStateInfo(
ULONG *state,
SIZE *size,
BOOL clear_changes) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPalette(
HPALETTE *hpal) = 0;
virtual HRESULT STDMETHODCALLTYPE Draw(
HDC hdc,
RECT *bounds) = 0;
virtual HRESULT STDMETHODCALLTYPE Tile(
HDC hdc,
POINT *backorg,
RECT *clip,
SIZE *size) = 0;
virtual HRESULT STDMETHODCALLTYPE StretchBlt(
HDC hdc,
int dstX,
int dstY,
int dstXE,
int dstYE,
int srcX,
int srcY,
int srcXE,
int srcYE,
DWORD rop) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IImgCtx, 0x3050f3d7, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
#endif
#else
typedef struct IImgCtxVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IImgCtx *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IImgCtx *This);
ULONG (STDMETHODCALLTYPE *Release)(
IImgCtx *This);
/*** IImgCtx methods ***/
HRESULT (STDMETHODCALLTYPE *Load)(
IImgCtx *This,
LPCWSTR url,
DWORD flags);
HRESULT (STDMETHODCALLTYPE *SelectChanges)(
IImgCtx *This,
ULONG changeon,
ULONG changeoff,
BOOL signal);
HRESULT (STDMETHODCALLTYPE *SetCallback)(
IImgCtx *This,
void (__stdcall * fn)(void *a,void *b),
void *priv);
HRESULT (STDMETHODCALLTYPE *Disconnect)(
IImgCtx *This);
HRESULT (STDMETHODCALLTYPE *GetUpdateRects)(
IImgCtx *This,
RECT *rect,
RECT *img,
LONG *pcrc);
HRESULT (STDMETHODCALLTYPE *GetStateInfo)(
IImgCtx *This,
ULONG *state,
SIZE *size,
BOOL clear_changes);
HRESULT (STDMETHODCALLTYPE *GetPalette)(
IImgCtx *This,
HPALETTE *hpal);
HRESULT (STDMETHODCALLTYPE *Draw)(
IImgCtx *This,
HDC hdc,
RECT *bounds);
HRESULT (STDMETHODCALLTYPE *Tile)(
IImgCtx *This,
HDC hdc,
POINT *backorg,
RECT *clip,
SIZE *size);
HRESULT (STDMETHODCALLTYPE *StretchBlt)(
IImgCtx *This,
HDC hdc,
int dstX,
int dstY,
int dstXE,
int dstYE,
int srcX,
int srcY,
int srcXE,
int srcYE,
DWORD rop);
END_INTERFACE
} IImgCtxVtbl;
interface IImgCtx {
CONST_VTBL IImgCtxVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IImgCtx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IImgCtx_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IImgCtx_Release(This) (This)->lpVtbl->Release(This)
/*** IImgCtx methods ***/
#define IImgCtx_Load(This,url,flags) (This)->lpVtbl->Load(This,url,flags)
#define IImgCtx_SelectChanges(This,changeon,changeoff,signal) (This)->lpVtbl->SelectChanges(This,changeon,changeoff,signal)
#define IImgCtx_SetCallback(This,fn,priv) (This)->lpVtbl->SetCallback(This,fn,priv)
#define IImgCtx_Disconnect(This) (This)->lpVtbl->Disconnect(This)
#define IImgCtx_GetUpdateRects(This,rect,img,pcrc) (This)->lpVtbl->GetUpdateRects(This,rect,img,pcrc)
#define IImgCtx_GetStateInfo(This,state,size,clear_changes) (This)->lpVtbl->GetStateInfo(This,state,size,clear_changes)
#define IImgCtx_GetPalette(This,hpal) (This)->lpVtbl->GetPalette(This,hpal)
#define IImgCtx_Draw(This,hdc,bounds) (This)->lpVtbl->Draw(This,hdc,bounds)
#define IImgCtx_Tile(This,hdc,backorg,clip,size) (This)->lpVtbl->Tile(This,hdc,backorg,clip,size)
#define IImgCtx_StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop) (This)->lpVtbl->StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IImgCtx_QueryInterface(IImgCtx* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IImgCtx_AddRef(IImgCtx* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IImgCtx_Release(IImgCtx* This) {
return This->lpVtbl->Release(This);
}
/*** IImgCtx methods ***/
static FORCEINLINE HRESULT IImgCtx_Load(IImgCtx* This,LPCWSTR url,DWORD flags) {
return This->lpVtbl->Load(This,url,flags);
}
static FORCEINLINE HRESULT IImgCtx_SelectChanges(IImgCtx* This,ULONG changeon,ULONG changeoff,BOOL signal) {
return This->lpVtbl->SelectChanges(This,changeon,changeoff,signal);
}
static FORCEINLINE HRESULT IImgCtx_SetCallback(IImgCtx* This,void (__stdcall * fn)(void *a,void *b),void *priv) {
return This->lpVtbl->SetCallback(This,fn,priv);
}
static FORCEINLINE HRESULT IImgCtx_Disconnect(IImgCtx* This) {
return This->lpVtbl->Disconnect(This);
}
static FORCEINLINE HRESULT IImgCtx_GetUpdateRects(IImgCtx* This,RECT *rect,RECT *img,LONG *pcrc) {
return This->lpVtbl->GetUpdateRects(This,rect,img,pcrc);
}
static FORCEINLINE HRESULT IImgCtx_GetStateInfo(IImgCtx* This,ULONG *state,SIZE *size,BOOL clear_changes) {
return This->lpVtbl->GetStateInfo(This,state,size,clear_changes);
}
static FORCEINLINE HRESULT IImgCtx_GetPalette(IImgCtx* This,HPALETTE *hpal) {
return This->lpVtbl->GetPalette(This,hpal);
}
static FORCEINLINE HRESULT IImgCtx_Draw(IImgCtx* This,HDC hdc,RECT *bounds) {
return This->lpVtbl->Draw(This,hdc,bounds);
}
static FORCEINLINE HRESULT IImgCtx_Tile(IImgCtx* This,HDC hdc,POINT *backorg,RECT *clip,SIZE *size) {
return This->lpVtbl->Tile(This,hdc,backorg,clip,size);
}
static FORCEINLINE HRESULT IImgCtx_StretchBlt(IImgCtx* This,HDC hdc,int dstX,int dstY,int dstXE,int dstYE,int srcX,int srcY,int srcXE,int srcYE,DWORD rop) {
return This->lpVtbl->StretchBlt(This,hdc,dstX,dstY,dstXE,dstYE,srcX,srcY,srcXE,srcYE,rop);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IImgCtx_Load_Proxy(
IImgCtx* This,
LPCWSTR url,
DWORD flags);
void __RPC_STUB IImgCtx_Load_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_SelectChanges_Proxy(
IImgCtx* This,
ULONG changeon,
ULONG changeoff,
BOOL signal);
void __RPC_STUB IImgCtx_SelectChanges_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_SetCallback_Proxy(
IImgCtx* This,
void (__stdcall * fn)(void *a,void *b),
void *priv);
void __RPC_STUB IImgCtx_SetCallback_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_Disconnect_Proxy(
IImgCtx* This);
void __RPC_STUB IImgCtx_Disconnect_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_GetUpdateRects_Proxy(
IImgCtx* This,
RECT *rect,
RECT *img,
LONG *pcrc);
void __RPC_STUB IImgCtx_GetUpdateRects_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_GetStateInfo_Proxy(
IImgCtx* This,
ULONG *state,
SIZE *size,
BOOL clear_changes);
void __RPC_STUB IImgCtx_GetStateInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_GetPalette_Proxy(
IImgCtx* This,
HPALETTE *hpal);
void __RPC_STUB IImgCtx_GetPalette_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_Draw_Proxy(
IImgCtx* This,
HDC hdc,
RECT *bounds);
void __RPC_STUB IImgCtx_Draw_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_Tile_Proxy(
IImgCtx* This,
HDC hdc,
POINT *backorg,
RECT *clip,
SIZE *size);
void __RPC_STUB IImgCtx_Tile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IImgCtx_StretchBlt_Proxy(
IImgCtx* This,
HDC hdc,
int dstX,
int dstY,
int dstXE,
int dstYE,
int srcX,
int srcY,
int srcXE,
int srcYE,
DWORD rop);
void __RPC_STUB IImgCtx_StretchBlt_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IImgCtx_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __iimgctx_h__ */
|