/usr/include/wine-development/windows/shimgdata.h is in libwine-development-dev 2.0-3+b2.
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 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 | /*** Autogenerated by WIDL 2.0 from shimgdata.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 __shimgdata_h__
#define __shimgdata_h__
/* Forward declarations */
#ifndef __IShellImageDataAbort_FWD_DEFINED__
#define __IShellImageDataAbort_FWD_DEFINED__
typedef interface IShellImageDataAbort IShellImageDataAbort;
#ifdef __cplusplus
interface IShellImageDataAbort;
#endif /* __cplusplus */
#endif
#ifndef __IShellImageData_FWD_DEFINED__
#define __IShellImageData_FWD_DEFINED__
typedef interface IShellImageData IShellImageData;
#ifdef __cplusplus
interface IShellImageData;
#endif /* __cplusplus */
#endif
#ifndef __IShellImageDataFactory_FWD_DEFINED__
#define __IShellImageDataFactory_FWD_DEFINED__
typedef interface IShellImageDataFactory IShellImageDataFactory;
#ifdef __cplusplus
interface IShellImageDataFactory;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <unknwn.h>
#include <propidl.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _GDIPLUSPIXELFORMATS_H
typedef DWORD PixelFormat;
#endif
#ifndef _GDIPLUSENUMS_H
typedef DWORD InterpolationMode;
#endif
#ifndef _GDIPLUSHEADERS_H
typedef BYTE EncoderParameters;
typedef BYTE Image;
#endif
/*****************************************************************************
* IShellImageDataAbort interface
*/
#ifndef __IShellImageDataAbort_INTERFACE_DEFINED__
#define __IShellImageDataAbort_INTERFACE_DEFINED__
DEFINE_GUID(IID_IShellImageDataAbort, 0x53fb8e58, 0x50c0, 0x4003, 0xb4,0xaa, 0x0c,0x8d,0xf2,0x8e,0x7f,0x3a);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("53fb8e58-50c0-4003-b4aa-0c8df28e7f3a")
IShellImageDataAbort : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE QueryAbort(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IShellImageDataAbort, 0x53fb8e58, 0x50c0, 0x4003, 0xb4,0xaa, 0x0c,0x8d,0xf2,0x8e,0x7f,0x3a)
#endif
#else
typedef struct IShellImageDataAbortVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IShellImageDataAbort *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IShellImageDataAbort *This);
ULONG (STDMETHODCALLTYPE *Release)(
IShellImageDataAbort *This);
/*** IShellImageDataAbort methods ***/
HRESULT (STDMETHODCALLTYPE *QueryAbort)(
IShellImageDataAbort *This);
END_INTERFACE
} IShellImageDataAbortVtbl;
interface IShellImageDataAbort {
CONST_VTBL IShellImageDataAbortVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IShellImageDataAbort_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IShellImageDataAbort_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IShellImageDataAbort_Release(This) (This)->lpVtbl->Release(This)
/*** IShellImageDataAbort methods ***/
#define IShellImageDataAbort_QueryAbort(This) (This)->lpVtbl->QueryAbort(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IShellImageDataAbort_QueryInterface(IShellImageDataAbort* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IShellImageDataAbort_AddRef(IShellImageDataAbort* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IShellImageDataAbort_Release(IShellImageDataAbort* This) {
return This->lpVtbl->Release(This);
}
/*** IShellImageDataAbort methods ***/
static FORCEINLINE HRESULT IShellImageDataAbort_QueryAbort(IShellImageDataAbort* This) {
return This->lpVtbl->QueryAbort(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IShellImageDataAbort_QueryAbort_Proxy(
IShellImageDataAbort* This);
void __RPC_STUB IShellImageDataAbort_QueryAbort_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IShellImageDataAbort_INTERFACE_DEFINED__ */
/*****************************************************************************
* IShellImageData interface
*/
#ifndef __IShellImageData_INTERFACE_DEFINED__
#define __IShellImageData_INTERFACE_DEFINED__
DEFINE_GUID(IID_IShellImageData, 0xbfdeec12, 0x8040, 0x4403, 0xa5,0xea, 0x9e,0x07,0xda,0xfc,0xf5,0x30);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("bfdeec12-8040-4403-a5ea-9e07dafcf530")
IShellImageData : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Decode(
DWORD flags,
ULONG cx_desired,
ULONG cy_desired) = 0;
virtual HRESULT STDMETHODCALLTYPE Draw(
HDC hdc,
RECT *dest,
RECT *src) = 0;
virtual HRESULT STDMETHODCALLTYPE NextFrame(
) = 0;
virtual HRESULT STDMETHODCALLTYPE NextPage(
) = 0;
virtual HRESULT STDMETHODCALLTYPE PrevPage(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsTransparent(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsAnimated(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsVector(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsMultipage(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsEditable(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsPrintable(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsDecoded(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCurrentPage(
ULONG *page) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPageCount(
ULONG *count) = 0;
virtual HRESULT STDMETHODCALLTYPE SelectPage(
ULONG page) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSize(
SIZE *size) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRawDataFormat(
GUID *format) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPixelFormat(
PixelFormat *format) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDelay(
DWORD *delay) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperties(
DWORD mode,
IPropertySetStorage **props) = 0;
virtual HRESULT STDMETHODCALLTYPE Rotate(
DWORD angle) = 0;
virtual HRESULT STDMETHODCALLTYPE Scale(
ULONG cx,
ULONG cy,
InterpolationMode mode) = 0;
virtual HRESULT STDMETHODCALLTYPE DiscardEdit(
) = 0;
virtual HRESULT STDMETHODCALLTYPE SetEncoderParams(
IPropertyBag *params) = 0;
virtual HRESULT STDMETHODCALLTYPE DisplayName(
LPWSTR name,
UINT count) = 0;
virtual HRESULT STDMETHODCALLTYPE GetResolution(
ULONG *res_x,
ULONG *res_y) = 0;
virtual HRESULT STDMETHODCALLTYPE GetEncoderParams(
GUID *format,
EncoderParameters **params) = 0;
virtual HRESULT STDMETHODCALLTYPE RegisterAbort(
IShellImageDataAbort *abort,
IShellImageDataAbort **prev) = 0;
virtual HRESULT STDMETHODCALLTYPE CloneFrame(
Image **frame) = 0;
virtual HRESULT STDMETHODCALLTYPE ReplaceFrame(
Image *frame) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IShellImageData, 0xbfdeec12, 0x8040, 0x4403, 0xa5,0xea, 0x9e,0x07,0xda,0xfc,0xf5,0x30)
#endif
#else
typedef struct IShellImageDataVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IShellImageData *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IShellImageData *This);
ULONG (STDMETHODCALLTYPE *Release)(
IShellImageData *This);
/*** IShellImageData methods ***/
HRESULT (STDMETHODCALLTYPE *Decode)(
IShellImageData *This,
DWORD flags,
ULONG cx_desired,
ULONG cy_desired);
HRESULT (STDMETHODCALLTYPE *Draw)(
IShellImageData *This,
HDC hdc,
RECT *dest,
RECT *src);
HRESULT (STDMETHODCALLTYPE *NextFrame)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *NextPage)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *PrevPage)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsTransparent)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsAnimated)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsVector)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsMultipage)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsEditable)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsPrintable)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *IsDecoded)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *GetCurrentPage)(
IShellImageData *This,
ULONG *page);
HRESULT (STDMETHODCALLTYPE *GetPageCount)(
IShellImageData *This,
ULONG *count);
HRESULT (STDMETHODCALLTYPE *SelectPage)(
IShellImageData *This,
ULONG page);
HRESULT (STDMETHODCALLTYPE *GetSize)(
IShellImageData *This,
SIZE *size);
HRESULT (STDMETHODCALLTYPE *GetRawDataFormat)(
IShellImageData *This,
GUID *format);
HRESULT (STDMETHODCALLTYPE *GetPixelFormat)(
IShellImageData *This,
PixelFormat *format);
HRESULT (STDMETHODCALLTYPE *GetDelay)(
IShellImageData *This,
DWORD *delay);
HRESULT (STDMETHODCALLTYPE *GetProperties)(
IShellImageData *This,
DWORD mode,
IPropertySetStorage **props);
HRESULT (STDMETHODCALLTYPE *Rotate)(
IShellImageData *This,
DWORD angle);
HRESULT (STDMETHODCALLTYPE *Scale)(
IShellImageData *This,
ULONG cx,
ULONG cy,
InterpolationMode mode);
HRESULT (STDMETHODCALLTYPE *DiscardEdit)(
IShellImageData *This);
HRESULT (STDMETHODCALLTYPE *SetEncoderParams)(
IShellImageData *This,
IPropertyBag *params);
HRESULT (STDMETHODCALLTYPE *DisplayName)(
IShellImageData *This,
LPWSTR name,
UINT count);
HRESULT (STDMETHODCALLTYPE *GetResolution)(
IShellImageData *This,
ULONG *res_x,
ULONG *res_y);
HRESULT (STDMETHODCALLTYPE *GetEncoderParams)(
IShellImageData *This,
GUID *format,
EncoderParameters **params);
HRESULT (STDMETHODCALLTYPE *RegisterAbort)(
IShellImageData *This,
IShellImageDataAbort *abort,
IShellImageDataAbort **prev);
HRESULT (STDMETHODCALLTYPE *CloneFrame)(
IShellImageData *This,
Image **frame);
HRESULT (STDMETHODCALLTYPE *ReplaceFrame)(
IShellImageData *This,
Image *frame);
END_INTERFACE
} IShellImageDataVtbl;
interface IShellImageData {
CONST_VTBL IShellImageDataVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IShellImageData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IShellImageData_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IShellImageData_Release(This) (This)->lpVtbl->Release(This)
/*** IShellImageData methods ***/
#define IShellImageData_Decode(This,flags,cx_desired,cy_desired) (This)->lpVtbl->Decode(This,flags,cx_desired,cy_desired)
#define IShellImageData_Draw(This,hdc,dest,src) (This)->lpVtbl->Draw(This,hdc,dest,src)
#define IShellImageData_NextFrame(This) (This)->lpVtbl->NextFrame(This)
#define IShellImageData_NextPage(This) (This)->lpVtbl->NextPage(This)
#define IShellImageData_PrevPage(This) (This)->lpVtbl->PrevPage(This)
#define IShellImageData_IsTransparent(This) (This)->lpVtbl->IsTransparent(This)
#define IShellImageData_IsAnimated(This) (This)->lpVtbl->IsAnimated(This)
#define IShellImageData_IsVector(This) (This)->lpVtbl->IsVector(This)
#define IShellImageData_IsMultipage(This) (This)->lpVtbl->IsMultipage(This)
#define IShellImageData_IsEditable(This) (This)->lpVtbl->IsEditable(This)
#define IShellImageData_IsPrintable(This) (This)->lpVtbl->IsPrintable(This)
#define IShellImageData_IsDecoded(This) (This)->lpVtbl->IsDecoded(This)
#define IShellImageData_GetCurrentPage(This,page) (This)->lpVtbl->GetCurrentPage(This,page)
#define IShellImageData_GetPageCount(This,count) (This)->lpVtbl->GetPageCount(This,count)
#define IShellImageData_SelectPage(This,page) (This)->lpVtbl->SelectPage(This,page)
#define IShellImageData_GetSize(This,size) (This)->lpVtbl->GetSize(This,size)
#define IShellImageData_GetRawDataFormat(This,format) (This)->lpVtbl->GetRawDataFormat(This,format)
#define IShellImageData_GetPixelFormat(This,format) (This)->lpVtbl->GetPixelFormat(This,format)
#define IShellImageData_GetDelay(This,delay) (This)->lpVtbl->GetDelay(This,delay)
#define IShellImageData_GetProperties(This,mode,props) (This)->lpVtbl->GetProperties(This,mode,props)
#define IShellImageData_Rotate(This,angle) (This)->lpVtbl->Rotate(This,angle)
#define IShellImageData_Scale(This,cx,cy,mode) (This)->lpVtbl->Scale(This,cx,cy,mode)
#define IShellImageData_DiscardEdit(This) (This)->lpVtbl->DiscardEdit(This)
#define IShellImageData_SetEncoderParams(This,params) (This)->lpVtbl->SetEncoderParams(This,params)
#define IShellImageData_DisplayName(This,name,count) (This)->lpVtbl->DisplayName(This,name,count)
#define IShellImageData_GetResolution(This,res_x,res_y) (This)->lpVtbl->GetResolution(This,res_x,res_y)
#define IShellImageData_GetEncoderParams(This,format,params) (This)->lpVtbl->GetEncoderParams(This,format,params)
#define IShellImageData_RegisterAbort(This,abort,prev) (This)->lpVtbl->RegisterAbort(This,abort,prev)
#define IShellImageData_CloneFrame(This,frame) (This)->lpVtbl->CloneFrame(This,frame)
#define IShellImageData_ReplaceFrame(This,frame) (This)->lpVtbl->ReplaceFrame(This,frame)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IShellImageData_QueryInterface(IShellImageData* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IShellImageData_AddRef(IShellImageData* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IShellImageData_Release(IShellImageData* This) {
return This->lpVtbl->Release(This);
}
/*** IShellImageData methods ***/
static FORCEINLINE HRESULT IShellImageData_Decode(IShellImageData* This,DWORD flags,ULONG cx_desired,ULONG cy_desired) {
return This->lpVtbl->Decode(This,flags,cx_desired,cy_desired);
}
static FORCEINLINE HRESULT IShellImageData_Draw(IShellImageData* This,HDC hdc,RECT *dest,RECT *src) {
return This->lpVtbl->Draw(This,hdc,dest,src);
}
static FORCEINLINE HRESULT IShellImageData_NextFrame(IShellImageData* This) {
return This->lpVtbl->NextFrame(This);
}
static FORCEINLINE HRESULT IShellImageData_NextPage(IShellImageData* This) {
return This->lpVtbl->NextPage(This);
}
static FORCEINLINE HRESULT IShellImageData_PrevPage(IShellImageData* This) {
return This->lpVtbl->PrevPage(This);
}
static FORCEINLINE HRESULT IShellImageData_IsTransparent(IShellImageData* This) {
return This->lpVtbl->IsTransparent(This);
}
static FORCEINLINE HRESULT IShellImageData_IsAnimated(IShellImageData* This) {
return This->lpVtbl->IsAnimated(This);
}
static FORCEINLINE HRESULT IShellImageData_IsVector(IShellImageData* This) {
return This->lpVtbl->IsVector(This);
}
static FORCEINLINE HRESULT IShellImageData_IsMultipage(IShellImageData* This) {
return This->lpVtbl->IsMultipage(This);
}
static FORCEINLINE HRESULT IShellImageData_IsEditable(IShellImageData* This) {
return This->lpVtbl->IsEditable(This);
}
static FORCEINLINE HRESULT IShellImageData_IsPrintable(IShellImageData* This) {
return This->lpVtbl->IsPrintable(This);
}
static FORCEINLINE HRESULT IShellImageData_IsDecoded(IShellImageData* This) {
return This->lpVtbl->IsDecoded(This);
}
static FORCEINLINE HRESULT IShellImageData_GetCurrentPage(IShellImageData* This,ULONG *page) {
return This->lpVtbl->GetCurrentPage(This,page);
}
static FORCEINLINE HRESULT IShellImageData_GetPageCount(IShellImageData* This,ULONG *count) {
return This->lpVtbl->GetPageCount(This,count);
}
static FORCEINLINE HRESULT IShellImageData_SelectPage(IShellImageData* This,ULONG page) {
return This->lpVtbl->SelectPage(This,page);
}
static FORCEINLINE HRESULT IShellImageData_GetSize(IShellImageData* This,SIZE *size) {
return This->lpVtbl->GetSize(This,size);
}
static FORCEINLINE HRESULT IShellImageData_GetRawDataFormat(IShellImageData* This,GUID *format) {
return This->lpVtbl->GetRawDataFormat(This,format);
}
static FORCEINLINE HRESULT IShellImageData_GetPixelFormat(IShellImageData* This,PixelFormat *format) {
return This->lpVtbl->GetPixelFormat(This,format);
}
static FORCEINLINE HRESULT IShellImageData_GetDelay(IShellImageData* This,DWORD *delay) {
return This->lpVtbl->GetDelay(This,delay);
}
static FORCEINLINE HRESULT IShellImageData_GetProperties(IShellImageData* This,DWORD mode,IPropertySetStorage **props) {
return This->lpVtbl->GetProperties(This,mode,props);
}
static FORCEINLINE HRESULT IShellImageData_Rotate(IShellImageData* This,DWORD angle) {
return This->lpVtbl->Rotate(This,angle);
}
static FORCEINLINE HRESULT IShellImageData_Scale(IShellImageData* This,ULONG cx,ULONG cy,InterpolationMode mode) {
return This->lpVtbl->Scale(This,cx,cy,mode);
}
static FORCEINLINE HRESULT IShellImageData_DiscardEdit(IShellImageData* This) {
return This->lpVtbl->DiscardEdit(This);
}
static FORCEINLINE HRESULT IShellImageData_SetEncoderParams(IShellImageData* This,IPropertyBag *params) {
return This->lpVtbl->SetEncoderParams(This,params);
}
static FORCEINLINE HRESULT IShellImageData_DisplayName(IShellImageData* This,LPWSTR name,UINT count) {
return This->lpVtbl->DisplayName(This,name,count);
}
static FORCEINLINE HRESULT IShellImageData_GetResolution(IShellImageData* This,ULONG *res_x,ULONG *res_y) {
return This->lpVtbl->GetResolution(This,res_x,res_y);
}
static FORCEINLINE HRESULT IShellImageData_GetEncoderParams(IShellImageData* This,GUID *format,EncoderParameters **params) {
return This->lpVtbl->GetEncoderParams(This,format,params);
}
static FORCEINLINE HRESULT IShellImageData_RegisterAbort(IShellImageData* This,IShellImageDataAbort *abort,IShellImageDataAbort **prev) {
return This->lpVtbl->RegisterAbort(This,abort,prev);
}
static FORCEINLINE HRESULT IShellImageData_CloneFrame(IShellImageData* This,Image **frame) {
return This->lpVtbl->CloneFrame(This,frame);
}
static FORCEINLINE HRESULT IShellImageData_ReplaceFrame(IShellImageData* This,Image *frame) {
return This->lpVtbl->ReplaceFrame(This,frame);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IShellImageData_Decode_Proxy(
IShellImageData* This,
DWORD flags,
ULONG cx_desired,
ULONG cy_desired);
void __RPC_STUB IShellImageData_Decode_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_Draw_Proxy(
IShellImageData* This,
HDC hdc,
RECT *dest,
RECT *src);
void __RPC_STUB IShellImageData_Draw_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_NextFrame_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_NextFrame_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_NextPage_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_NextPage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_PrevPage_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_PrevPage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsTransparent_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsTransparent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsAnimated_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsAnimated_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsVector_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsVector_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsMultipage_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsMultipage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsEditable_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsEditable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsPrintable_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsPrintable_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_IsDecoded_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_IsDecoded_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetCurrentPage_Proxy(
IShellImageData* This,
ULONG *page);
void __RPC_STUB IShellImageData_GetCurrentPage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetPageCount_Proxy(
IShellImageData* This,
ULONG *count);
void __RPC_STUB IShellImageData_GetPageCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_SelectPage_Proxy(
IShellImageData* This,
ULONG page);
void __RPC_STUB IShellImageData_SelectPage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetSize_Proxy(
IShellImageData* This,
SIZE *size);
void __RPC_STUB IShellImageData_GetSize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetRawDataFormat_Proxy(
IShellImageData* This,
GUID *format);
void __RPC_STUB IShellImageData_GetRawDataFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetPixelFormat_Proxy(
IShellImageData* This,
PixelFormat *format);
void __RPC_STUB IShellImageData_GetPixelFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetDelay_Proxy(
IShellImageData* This,
DWORD *delay);
void __RPC_STUB IShellImageData_GetDelay_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetProperties_Proxy(
IShellImageData* This,
DWORD mode,
IPropertySetStorage **props);
void __RPC_STUB IShellImageData_GetProperties_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_Rotate_Proxy(
IShellImageData* This,
DWORD angle);
void __RPC_STUB IShellImageData_Rotate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_Scale_Proxy(
IShellImageData* This,
ULONG cx,
ULONG cy,
InterpolationMode mode);
void __RPC_STUB IShellImageData_Scale_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_DiscardEdit_Proxy(
IShellImageData* This);
void __RPC_STUB IShellImageData_DiscardEdit_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_SetEncoderParams_Proxy(
IShellImageData* This,
IPropertyBag *params);
void __RPC_STUB IShellImageData_SetEncoderParams_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_DisplayName_Proxy(
IShellImageData* This,
LPWSTR name,
UINT count);
void __RPC_STUB IShellImageData_DisplayName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetResolution_Proxy(
IShellImageData* This,
ULONG *res_x,
ULONG *res_y);
void __RPC_STUB IShellImageData_GetResolution_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_GetEncoderParams_Proxy(
IShellImageData* This,
GUID *format,
EncoderParameters **params);
void __RPC_STUB IShellImageData_GetEncoderParams_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_RegisterAbort_Proxy(
IShellImageData* This,
IShellImageDataAbort *abort,
IShellImageDataAbort **prev);
void __RPC_STUB IShellImageData_RegisterAbort_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_CloneFrame_Proxy(
IShellImageData* This,
Image **frame);
void __RPC_STUB IShellImageData_CloneFrame_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageData_ReplaceFrame_Proxy(
IShellImageData* This,
Image *frame);
void __RPC_STUB IShellImageData_ReplaceFrame_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IShellImageData_INTERFACE_DEFINED__ */
/*****************************************************************************
* IShellImageDataFactory interface
*/
#ifndef __IShellImageDataFactory_INTERFACE_DEFINED__
#define __IShellImageDataFactory_INTERFACE_DEFINED__
DEFINE_GUID(IID_IShellImageDataFactory, 0x9be8ed5c, 0xedab, 0x4d75, 0x90,0xf3, 0xbd,0x5b,0xdb,0xb2,0x1c,0x82);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9be8ed5c-edab-4d75-90f3-bd5bdbb21c82")
IShellImageDataFactory : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateIShellImageData(
IShellImageData **data) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateImageFromFile(
LPCWSTR path,
IShellImageData **data) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateImageFromStream(
IStream *stream,
IShellImageData **data) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDataFormatFromPath(
LPCWSTR path,
GUID *format) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IShellImageDataFactory, 0x9be8ed5c, 0xedab, 0x4d75, 0x90,0xf3, 0xbd,0x5b,0xdb,0xb2,0x1c,0x82)
#endif
#else
typedef struct IShellImageDataFactoryVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IShellImageDataFactory *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IShellImageDataFactory *This);
ULONG (STDMETHODCALLTYPE *Release)(
IShellImageDataFactory *This);
/*** IShellImageDataFactory methods ***/
HRESULT (STDMETHODCALLTYPE *CreateIShellImageData)(
IShellImageDataFactory *This,
IShellImageData **data);
HRESULT (STDMETHODCALLTYPE *CreateImageFromFile)(
IShellImageDataFactory *This,
LPCWSTR path,
IShellImageData **data);
HRESULT (STDMETHODCALLTYPE *CreateImageFromStream)(
IShellImageDataFactory *This,
IStream *stream,
IShellImageData **data);
HRESULT (STDMETHODCALLTYPE *GetDataFormatFromPath)(
IShellImageDataFactory *This,
LPCWSTR path,
GUID *format);
END_INTERFACE
} IShellImageDataFactoryVtbl;
interface IShellImageDataFactory {
CONST_VTBL IShellImageDataFactoryVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IShellImageDataFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IShellImageDataFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IShellImageDataFactory_Release(This) (This)->lpVtbl->Release(This)
/*** IShellImageDataFactory methods ***/
#define IShellImageDataFactory_CreateIShellImageData(This,data) (This)->lpVtbl->CreateIShellImageData(This,data)
#define IShellImageDataFactory_CreateImageFromFile(This,path,data) (This)->lpVtbl->CreateImageFromFile(This,path,data)
#define IShellImageDataFactory_CreateImageFromStream(This,stream,data) (This)->lpVtbl->CreateImageFromStream(This,stream,data)
#define IShellImageDataFactory_GetDataFormatFromPath(This,path,format) (This)->lpVtbl->GetDataFormatFromPath(This,path,format)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IShellImageDataFactory_QueryInterface(IShellImageDataFactory* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IShellImageDataFactory_AddRef(IShellImageDataFactory* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IShellImageDataFactory_Release(IShellImageDataFactory* This) {
return This->lpVtbl->Release(This);
}
/*** IShellImageDataFactory methods ***/
static FORCEINLINE HRESULT IShellImageDataFactory_CreateIShellImageData(IShellImageDataFactory* This,IShellImageData **data) {
return This->lpVtbl->CreateIShellImageData(This,data);
}
static FORCEINLINE HRESULT IShellImageDataFactory_CreateImageFromFile(IShellImageDataFactory* This,LPCWSTR path,IShellImageData **data) {
return This->lpVtbl->CreateImageFromFile(This,path,data);
}
static FORCEINLINE HRESULT IShellImageDataFactory_CreateImageFromStream(IShellImageDataFactory* This,IStream *stream,IShellImageData **data) {
return This->lpVtbl->CreateImageFromStream(This,stream,data);
}
static FORCEINLINE HRESULT IShellImageDataFactory_GetDataFormatFromPath(IShellImageDataFactory* This,LPCWSTR path,GUID *format) {
return This->lpVtbl->GetDataFormatFromPath(This,path,format);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IShellImageDataFactory_CreateIShellImageData_Proxy(
IShellImageDataFactory* This,
IShellImageData **data);
void __RPC_STUB IShellImageDataFactory_CreateIShellImageData_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageDataFactory_CreateImageFromFile_Proxy(
IShellImageDataFactory* This,
LPCWSTR path,
IShellImageData **data);
void __RPC_STUB IShellImageDataFactory_CreateImageFromFile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageDataFactory_CreateImageFromStream_Proxy(
IShellImageDataFactory* This,
IStream *stream,
IShellImageData **data);
void __RPC_STUB IShellImageDataFactory_CreateImageFromStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IShellImageDataFactory_GetDataFormatFromPath_Proxy(
IShellImageDataFactory* This,
LPCWSTR path,
GUID *format);
void __RPC_STUB IShellImageDataFactory_GetDataFormatFromPath_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IShellImageDataFactory_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __shimgdata_h__ */
|