/usr/include/wine/windows/xmllite.h is in libwine-dev 3.0-1ubuntu1.
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 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 | /*** Autogenerated by WIDL 3.0 from xmllite.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 __xmllite_h__
#define __xmllite_h__
/* Forward declarations */
#ifndef __IXmlReader_FWD_DEFINED__
#define __IXmlReader_FWD_DEFINED__
typedef interface IXmlReader IXmlReader;
#ifdef __cplusplus
interface IXmlReader;
#endif /* __cplusplus */
#endif
#ifndef __IXmlResolver_FWD_DEFINED__
#define __IXmlResolver_FWD_DEFINED__
typedef interface IXmlResolver IXmlResolver;
#ifdef __cplusplus
interface IXmlResolver;
#endif /* __cplusplus */
#endif
#ifndef __IXmlWriter_FWD_DEFINED__
#define __IXmlWriter_FWD_DEFINED__
typedef interface IXmlWriter IXmlWriter;
#ifdef __cplusplus
interface IXmlWriter;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <unknwn.h>
#include <objidl.h>
#include <oaidl.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum XmlNodeType {
XmlNodeType_None = 0,
XmlNodeType_Element = 1,
XmlNodeType_Attribute = 2,
XmlNodeType_Text = 3,
XmlNodeType_CDATA = 4,
XmlNodeType_ProcessingInstruction = 7,
XmlNodeType_Comment = 8,
XmlNodeType_DocumentType = 10,
XmlNodeType_Whitespace = 13,
XmlNodeType_EndElement = 15,
XmlNodeType_XmlDeclaration = 17,
_XmlNodeType_Last = 17
} XmlNodeType;
/*****************************************************************************
* IXmlReader interface
*/
#ifndef __IXmlReader_INTERFACE_DEFINED__
#define __IXmlReader_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXmlReader, 0x7279fc81, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7279fc81-709d-4095-b63d-69fe4b0d9030")
IXmlReader : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetInput(
IUnknown *input) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperty(
UINT property,
LONG_PTR *value) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProperty(
UINT property,
LONG_PTR value) = 0;
virtual HRESULT STDMETHODCALLTYPE Read(
XmlNodeType *node_type) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNodeType(
XmlNodeType *node_type) = 0;
virtual HRESULT STDMETHODCALLTYPE MoveToFirstAttribute(
) = 0;
virtual HRESULT STDMETHODCALLTYPE MoveToNextAttribute(
) = 0;
virtual HRESULT STDMETHODCALLTYPE MoveToAttributeByName(
LPCWSTR local_name,
LPCWSTR namespaceUri) = 0;
virtual HRESULT STDMETHODCALLTYPE MoveToElement(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetQualifiedName(
LPCWSTR *qualifiedName,
UINT *qualifiedName_length) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNamespaceUri(
LPCWSTR *namespaceUri,
UINT *nnamespaceUri_length) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLocalName(
LPCWSTR *local_name,
UINT *locale_name_length) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrefix(
LPCWSTR *prefix,
UINT *prefix_length) = 0;
virtual HRESULT STDMETHODCALLTYPE GetValue(
LPCWSTR *value,
UINT *value_length) = 0;
virtual HRESULT STDMETHODCALLTYPE ReadValueChunk(
WCHAR *buffer,
UINT chunk_size,
UINT *read) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBaseUri(
LPCWSTR *baseUri,
UINT *baseUri_length) = 0;
virtual BOOL STDMETHODCALLTYPE IsDefault(
) = 0;
virtual BOOL STDMETHODCALLTYPE IsEmptyElement(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLineNumber(
UINT *lineNumber) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLinePosition(
UINT *linePosition) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAttributeCount(
UINT *attributeCount) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDepth(
UINT *depth) = 0;
virtual BOOL STDMETHODCALLTYPE IsEOF(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXmlReader, 0x7279fc81, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30)
#endif
#else
typedef struct IXmlReaderVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXmlReader *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXmlReader *This);
ULONG (STDMETHODCALLTYPE *Release)(
IXmlReader *This);
/*** IXmlReader methods ***/
HRESULT (STDMETHODCALLTYPE *SetInput)(
IXmlReader *This,
IUnknown *input);
HRESULT (STDMETHODCALLTYPE *GetProperty)(
IXmlReader *This,
UINT property,
LONG_PTR *value);
HRESULT (STDMETHODCALLTYPE *SetProperty)(
IXmlReader *This,
UINT property,
LONG_PTR value);
HRESULT (STDMETHODCALLTYPE *Read)(
IXmlReader *This,
XmlNodeType *node_type);
HRESULT (STDMETHODCALLTYPE *GetNodeType)(
IXmlReader *This,
XmlNodeType *node_type);
HRESULT (STDMETHODCALLTYPE *MoveToFirstAttribute)(
IXmlReader *This);
HRESULT (STDMETHODCALLTYPE *MoveToNextAttribute)(
IXmlReader *This);
HRESULT (STDMETHODCALLTYPE *MoveToAttributeByName)(
IXmlReader *This,
LPCWSTR local_name,
LPCWSTR namespaceUri);
HRESULT (STDMETHODCALLTYPE *MoveToElement)(
IXmlReader *This);
HRESULT (STDMETHODCALLTYPE *GetQualifiedName)(
IXmlReader *This,
LPCWSTR *qualifiedName,
UINT *qualifiedName_length);
HRESULT (STDMETHODCALLTYPE *GetNamespaceUri)(
IXmlReader *This,
LPCWSTR *namespaceUri,
UINT *nnamespaceUri_length);
HRESULT (STDMETHODCALLTYPE *GetLocalName)(
IXmlReader *This,
LPCWSTR *local_name,
UINT *locale_name_length);
HRESULT (STDMETHODCALLTYPE *GetPrefix)(
IXmlReader *This,
LPCWSTR *prefix,
UINT *prefix_length);
HRESULT (STDMETHODCALLTYPE *GetValue)(
IXmlReader *This,
LPCWSTR *value,
UINT *value_length);
HRESULT (STDMETHODCALLTYPE *ReadValueChunk)(
IXmlReader *This,
WCHAR *buffer,
UINT chunk_size,
UINT *read);
HRESULT (STDMETHODCALLTYPE *GetBaseUri)(
IXmlReader *This,
LPCWSTR *baseUri,
UINT *baseUri_length);
BOOL (STDMETHODCALLTYPE *IsDefault)(
IXmlReader *This);
BOOL (STDMETHODCALLTYPE *IsEmptyElement)(
IXmlReader *This);
HRESULT (STDMETHODCALLTYPE *GetLineNumber)(
IXmlReader *This,
UINT *lineNumber);
HRESULT (STDMETHODCALLTYPE *GetLinePosition)(
IXmlReader *This,
UINT *linePosition);
HRESULT (STDMETHODCALLTYPE *GetAttributeCount)(
IXmlReader *This,
UINT *attributeCount);
HRESULT (STDMETHODCALLTYPE *GetDepth)(
IXmlReader *This,
UINT *depth);
BOOL (STDMETHODCALLTYPE *IsEOF)(
IXmlReader *This);
END_INTERFACE
} IXmlReaderVtbl;
interface IXmlReader {
CONST_VTBL IXmlReaderVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXmlReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXmlReader_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXmlReader_Release(This) (This)->lpVtbl->Release(This)
/*** IXmlReader methods ***/
#define IXmlReader_SetInput(This,input) (This)->lpVtbl->SetInput(This,input)
#define IXmlReader_GetProperty(This,property,value) (This)->lpVtbl->GetProperty(This,property,value)
#define IXmlReader_SetProperty(This,property,value) (This)->lpVtbl->SetProperty(This,property,value)
#define IXmlReader_Read(This,node_type) (This)->lpVtbl->Read(This,node_type)
#define IXmlReader_GetNodeType(This,node_type) (This)->lpVtbl->GetNodeType(This,node_type)
#define IXmlReader_MoveToFirstAttribute(This) (This)->lpVtbl->MoveToFirstAttribute(This)
#define IXmlReader_MoveToNextAttribute(This) (This)->lpVtbl->MoveToNextAttribute(This)
#define IXmlReader_MoveToAttributeByName(This,local_name,namespaceUri) (This)->lpVtbl->MoveToAttributeByName(This,local_name,namespaceUri)
#define IXmlReader_MoveToElement(This) (This)->lpVtbl->MoveToElement(This)
#define IXmlReader_GetQualifiedName(This,qualifiedName,qualifiedName_length) (This)->lpVtbl->GetQualifiedName(This,qualifiedName,qualifiedName_length)
#define IXmlReader_GetNamespaceUri(This,namespaceUri,nnamespaceUri_length) (This)->lpVtbl->GetNamespaceUri(This,namespaceUri,nnamespaceUri_length)
#define IXmlReader_GetLocalName(This,local_name,locale_name_length) (This)->lpVtbl->GetLocalName(This,local_name,locale_name_length)
#define IXmlReader_GetPrefix(This,prefix,prefix_length) (This)->lpVtbl->GetPrefix(This,prefix,prefix_length)
#define IXmlReader_GetValue(This,value,value_length) (This)->lpVtbl->GetValue(This,value,value_length)
#define IXmlReader_ReadValueChunk(This,buffer,chunk_size,read) (This)->lpVtbl->ReadValueChunk(This,buffer,chunk_size,read)
#define IXmlReader_GetBaseUri(This,baseUri,baseUri_length) (This)->lpVtbl->GetBaseUri(This,baseUri,baseUri_length)
#define IXmlReader_IsDefault(This) (This)->lpVtbl->IsDefault(This)
#define IXmlReader_IsEmptyElement(This) (This)->lpVtbl->IsEmptyElement(This)
#define IXmlReader_GetLineNumber(This,lineNumber) (This)->lpVtbl->GetLineNumber(This,lineNumber)
#define IXmlReader_GetLinePosition(This,linePosition) (This)->lpVtbl->GetLinePosition(This,linePosition)
#define IXmlReader_GetAttributeCount(This,attributeCount) (This)->lpVtbl->GetAttributeCount(This,attributeCount)
#define IXmlReader_GetDepth(This,depth) (This)->lpVtbl->GetDepth(This,depth)
#define IXmlReader_IsEOF(This) (This)->lpVtbl->IsEOF(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXmlReader_QueryInterface(IXmlReader* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXmlReader_AddRef(IXmlReader* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXmlReader_Release(IXmlReader* This) {
return This->lpVtbl->Release(This);
}
/*** IXmlReader methods ***/
static FORCEINLINE HRESULT IXmlReader_SetInput(IXmlReader* This,IUnknown *input) {
return This->lpVtbl->SetInput(This,input);
}
static FORCEINLINE HRESULT IXmlReader_GetProperty(IXmlReader* This,UINT property,LONG_PTR *value) {
return This->lpVtbl->GetProperty(This,property,value);
}
static FORCEINLINE HRESULT IXmlReader_SetProperty(IXmlReader* This,UINT property,LONG_PTR value) {
return This->lpVtbl->SetProperty(This,property,value);
}
static FORCEINLINE HRESULT IXmlReader_Read(IXmlReader* This,XmlNodeType *node_type) {
return This->lpVtbl->Read(This,node_type);
}
static FORCEINLINE HRESULT IXmlReader_GetNodeType(IXmlReader* This,XmlNodeType *node_type) {
return This->lpVtbl->GetNodeType(This,node_type);
}
static FORCEINLINE HRESULT IXmlReader_MoveToFirstAttribute(IXmlReader* This) {
return This->lpVtbl->MoveToFirstAttribute(This);
}
static FORCEINLINE HRESULT IXmlReader_MoveToNextAttribute(IXmlReader* This) {
return This->lpVtbl->MoveToNextAttribute(This);
}
static FORCEINLINE HRESULT IXmlReader_MoveToAttributeByName(IXmlReader* This,LPCWSTR local_name,LPCWSTR namespaceUri) {
return This->lpVtbl->MoveToAttributeByName(This,local_name,namespaceUri);
}
static FORCEINLINE HRESULT IXmlReader_MoveToElement(IXmlReader* This) {
return This->lpVtbl->MoveToElement(This);
}
static FORCEINLINE HRESULT IXmlReader_GetQualifiedName(IXmlReader* This,LPCWSTR *qualifiedName,UINT *qualifiedName_length) {
return This->lpVtbl->GetQualifiedName(This,qualifiedName,qualifiedName_length);
}
static FORCEINLINE HRESULT IXmlReader_GetNamespaceUri(IXmlReader* This,LPCWSTR *namespaceUri,UINT *nnamespaceUri_length) {
return This->lpVtbl->GetNamespaceUri(This,namespaceUri,nnamespaceUri_length);
}
static FORCEINLINE HRESULT IXmlReader_GetLocalName(IXmlReader* This,LPCWSTR *local_name,UINT *locale_name_length) {
return This->lpVtbl->GetLocalName(This,local_name,locale_name_length);
}
static FORCEINLINE HRESULT IXmlReader_GetPrefix(IXmlReader* This,LPCWSTR *prefix,UINT *prefix_length) {
return This->lpVtbl->GetPrefix(This,prefix,prefix_length);
}
static FORCEINLINE HRESULT IXmlReader_GetValue(IXmlReader* This,LPCWSTR *value,UINT *value_length) {
return This->lpVtbl->GetValue(This,value,value_length);
}
static FORCEINLINE HRESULT IXmlReader_ReadValueChunk(IXmlReader* This,WCHAR *buffer,UINT chunk_size,UINT *read) {
return This->lpVtbl->ReadValueChunk(This,buffer,chunk_size,read);
}
static FORCEINLINE HRESULT IXmlReader_GetBaseUri(IXmlReader* This,LPCWSTR *baseUri,UINT *baseUri_length) {
return This->lpVtbl->GetBaseUri(This,baseUri,baseUri_length);
}
static FORCEINLINE BOOL IXmlReader_IsDefault(IXmlReader* This) {
return This->lpVtbl->IsDefault(This);
}
static FORCEINLINE BOOL IXmlReader_IsEmptyElement(IXmlReader* This) {
return This->lpVtbl->IsEmptyElement(This);
}
static FORCEINLINE HRESULT IXmlReader_GetLineNumber(IXmlReader* This,UINT *lineNumber) {
return This->lpVtbl->GetLineNumber(This,lineNumber);
}
static FORCEINLINE HRESULT IXmlReader_GetLinePosition(IXmlReader* This,UINT *linePosition) {
return This->lpVtbl->GetLinePosition(This,linePosition);
}
static FORCEINLINE HRESULT IXmlReader_GetAttributeCount(IXmlReader* This,UINT *attributeCount) {
return This->lpVtbl->GetAttributeCount(This,attributeCount);
}
static FORCEINLINE HRESULT IXmlReader_GetDepth(IXmlReader* This,UINT *depth) {
return This->lpVtbl->GetDepth(This,depth);
}
static FORCEINLINE BOOL IXmlReader_IsEOF(IXmlReader* This) {
return This->lpVtbl->IsEOF(This);
}
#endif
#endif
#endif
#endif /* __IXmlReader_INTERFACE_DEFINED__ */
/*****************************************************************************
* IXmlResolver interface
*/
#ifndef __IXmlResolver_INTERFACE_DEFINED__
#define __IXmlResolver_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXmlResolver, 0x7279fc82, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7279fc82-709d-4095-b63d-69fe4b0d9030")
IXmlResolver : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE ResolveUri(
LPCWSTR base_uri,
LPCWSTR public_id,
LPCWSTR system_id,
IUnknown **input) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXmlResolver, 0x7279fc82, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30)
#endif
#else
typedef struct IXmlResolverVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXmlResolver *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXmlResolver *This);
ULONG (STDMETHODCALLTYPE *Release)(
IXmlResolver *This);
/*** IXmlResolver methods ***/
HRESULT (STDMETHODCALLTYPE *ResolveUri)(
IXmlResolver *This,
LPCWSTR base_uri,
LPCWSTR public_id,
LPCWSTR system_id,
IUnknown **input);
END_INTERFACE
} IXmlResolverVtbl;
interface IXmlResolver {
CONST_VTBL IXmlResolverVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXmlResolver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXmlResolver_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXmlResolver_Release(This) (This)->lpVtbl->Release(This)
/*** IXmlResolver methods ***/
#define IXmlResolver_ResolveUri(This,base_uri,public_id,system_id,input) (This)->lpVtbl->ResolveUri(This,base_uri,public_id,system_id,input)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXmlResolver_QueryInterface(IXmlResolver* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXmlResolver_AddRef(IXmlResolver* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXmlResolver_Release(IXmlResolver* This) {
return This->lpVtbl->Release(This);
}
/*** IXmlResolver methods ***/
static FORCEINLINE HRESULT IXmlResolver_ResolveUri(IXmlResolver* This,LPCWSTR base_uri,LPCWSTR public_id,LPCWSTR system_id,IUnknown **input) {
return This->lpVtbl->ResolveUri(This,base_uri,public_id,system_id,input);
}
#endif
#endif
#endif
#endif /* __IXmlResolver_INTERFACE_DEFINED__ */
typedef enum XmlReadState {
XmlReadState_Initial = 0,
XmlReadState_Interactive = 1,
XmlReadState_Error = 2,
XmlReadState_EndOfFile = 3,
XmlReadState_Closed = 4
} XmlReadState;
typedef enum XmlConformanceLevel {
XmlConformanceLevel_Auto = 0,
XmlConformanceLevel_Fragment = 1,
XmlConformanceLevel_Document = 2,
_XmlConformanceLevel_Last = XmlConformanceLevel_Document
} XmlConformanceLevel;
typedef enum DtdProcessing {
DtdProcessing_Prohibit = 0,
DtdProcessing_Parse = 1,
_DtdProcessing_Last = DtdProcessing_Parse
} DtdProcessing;
typedef enum XmlReaderProperty {
XmlReaderProperty_MultiLanguage = 0,
XmlReaderProperty_ConformanceLevel = 1,
XmlReaderProperty_RandomAccess = 2,
XmlReaderProperty_XmlResolver = 3,
XmlReaderProperty_DtdProcessing = 4,
XmlReaderProperty_ReadState = 5,
XmlReaderProperty_MaxElementDepth = 6,
XmlReaderProperty_MaxEntityExpansion = 7,
_XmlReaderProperty_Last = XmlReaderProperty_MaxEntityExpansion
} XmlReaderProperty;
typedef enum XmlError {
MX_E_MX = 0xc00cee00,
MX_E_INPUTEND = 0xc00cee01,
MX_E_ENCODING = 0xc00cee02,
MX_E_ENCODINGSWITCH = 0xc00cee03,
MX_E_ENCODINGSIGNATURE = 0xc00cee04,
WC_E_WC = 0xc00cee20,
WC_E_WHITESPACE = 0xc00cee21,
WC_E_SEMICOLON = 0xc00cee22,
WC_E_GREATERTHAN = 0xc00cee23,
WC_E_QUOTE = 0xc00cee24,
WC_E_EQUAL = 0xc00cee25,
WC_E_LESSTHAN = 0xc00cee26,
WC_E_HEXDIGIT = 0xc00cee27,
WC_E_DIGIT = 0xc00cee28,
WC_E_LEFTBRACKET = 0xc00cee29,
WC_E_LEFTPAREN = 0xc00cee2a,
WC_E_XMLCHARACTER = 0xc00cee2b,
WC_E_NAMECHARACTER = 0xc00cee2c,
WC_E_SYNTAX = 0xc00cee2d,
WC_E_CDSECT = 0xc00cee2e,
WC_E_COMMENT = 0xc00cee2f,
WC_E_CONDSECT = 0xc00cee30,
WC_E_DECLATTLIST = 0xc00cee31,
WC_E_DECLDOCTYPE = 0xc00cee32,
WC_E_DECLELEMENT = 0xc00cee33,
WC_E_DECLENTITY = 0xc00cee34,
WC_E_DECLNOTATION = 0xc00cee35,
WC_E_NDATA = 0xc00cee36,
WC_E_PUBLIC = 0xc00cee37,
WC_E_SYSTEM = 0xc00cee38,
WC_E_NAME = 0xc00cee39,
WC_E_ROOTELEMENT = 0xc00cee3a,
WC_E_ELEMENTMATCH = 0xc00cee3b,
WC_E_UNIQUEATTRIBUTE = 0xc00cee3c,
WC_E_TEXTXMLDECL = 0xc00cee3d,
WC_E_LEADINGXML = 0xc00cee3e,
WC_E_TEXTDECL = 0xc00cee3f,
WC_E_XMLDECL = 0xc00cee40,
WC_E_ENCNAME = 0xc00cee41,
WC_E_PUBLICID = 0xc00cee42,
WC_E_PESINTERNALSUBSET = 0xc00cee43,
WC_E_PESBETWEENDECLS = 0xc00cee44,
WC_E_NORECURSION = 0xc00cee45,
WC_E_ENTITYCONTENT = 0xc00cee46,
WC_E_UNDECLAREDENTITY = 0xc00cee47,
WC_E_PARSEDENTITY = 0xc00cee48,
WC_E_NOEXTERNALENTITYREF = 0xc00cee49,
WC_E_PI = 0xc00cee4a,
WC_E_SYSTEMID = 0xc00cee4b,
WC_E_QUESTIONMARK = 0xc00cee4c,
WC_E_CDSECTEND = 0xc00cee4d,
WC_E_MOREDATA = 0xc00cee4e,
WC_E_DTDPROHIBITED = 0xc00cee4f,
WC_E_INVALIDXMLSPACE = 0xc00cee50,
NC_E_NC = 0xc00cee60,
NC_E_QNAMECHARACTER = 0xc00cee61,
NC_E_QNAMECOLON = 0xc00cee62,
NC_E_NAMECOLON = 0xc00cee63,
NC_E_DECLAREDPREFIX = 0xc00cee64,
NC_E_UNDECLAREDPREFIX = 0xc00cee65,
NC_E_EMPTYURI = 0xc00cee66,
NC_E_XMLPREFIXRESERVED = 0xc00cee67,
NC_E_XMLNSPREFIXRESERVED = 0xc00cee68,
NC_E_XMLURIRESERVED = 0xc00cee69,
NC_E_XMLNSURIRESERVED = 0xc00cee6a,
SC_E_SC = 0xc00cee80,
SC_E_MAXELEMENTDEPTH = 0xc00cee81,
SC_E_MAXENTITYEXPANSION = 0xc00cee82,
WR_E_WR = 0xc00cef00,
WR_E_NONWHITESPACE = 0xc00cef01,
WR_E_NSPREFIXDECLARED = 0xc00cef02,
WR_E_NSPREFIXWITHEMPTYNSURI = 0xc00cef03,
WR_E_DUPLICATEATTRIBUTE = 0xc00cef04,
WR_E_XMLNSPREFIXDECLARATION = 0xc00cef05,
WR_E_XMLPREFIXDECLARATION = 0xc00cef06,
WR_E_XMLURIDECLARATION = 0xc00cef07,
WR_E_XMLNSURIDECLARATION = 0xc00cef08,
WR_E_NAMESPACEUNDECLARED = 0xc00cef09,
WR_E_INVALIDXMLSPACE = 0xc00cef0a,
WR_E_INVALIDACTION = 0xc00cef0b,
WR_E_INVALIDSURROGATEPAIR = 0xc00cef0c,
XML_E_INVALID_DECIMAL = 0xc00ce01d,
XML_E_INVALID_HEXIDECIMAL = 0xc00ce01e,
XML_E_INVALID_UNICODE = 0xc00ce01f,
XML_E_INVALIDENCODING = 0xc00ce06e
} XmlError;
STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);
typedef IUnknown IXmlReaderInput;
STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,
LPCWSTR encoding, BOOL hint,
LPCWSTR base_uri, IXmlReaderInput **ppInput);
typedef enum XmlStandalone {
XmlStandalone_Omit = 0,
XmlStandalone_Yes = 1,
XmlStandalone_No = 2,
_XmlStandalone_Last = XmlStandalone_No
} XmlStandalone;
typedef enum XmlWriterProperty {
XmlWriterProperty_MultiLanguage = 0,
XmlWriterProperty_Indent = 1,
XmlWriterProperty_ByteOrderMark = 2,
XmlWriterProperty_OmitXmlDeclaration = 3,
XmlWriterProperty_ConformanceLevel = 4,
_XmlWriterProperty_Last = XmlWriterProperty_OmitXmlDeclaration
} XmlWriterProperty;
/*****************************************************************************
* IXmlWriter interface
*/
#ifndef __IXmlWriter_INTERFACE_DEFINED__
#define __IXmlWriter_INTERFACE_DEFINED__
DEFINE_GUID(IID_IXmlWriter, 0x7279fc88, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7279fc88-709d-4095-b63d-69fe4b0d9030")
IXmlWriter : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetOutput(
IUnknown *pOutput) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperty(
UINT nProperty,
LONG_PTR *ppValue) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProperty(
UINT nProperty,
LONG_PTR pValue) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteAttributes(
IXmlReader *pReader,
BOOL fWriteDefaultAttributes) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteAttributeString(
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri,
LPCWSTR pwszValue) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteCData(
LPCWSTR pwszText) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteCharEntity(
WCHAR wch) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteChars(
const WCHAR *pwch,
UINT cwch) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteComment(
LPCWSTR pwszComment) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteDocType(
LPCWSTR pwszName,
LPCWSTR pwszPublicId,
LPCWSTR pwszSystemId,
LPCWSTR pwszSubset) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteElementString(
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri,
LPCWSTR pwszValue) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteEndDocument(
) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteEndElement(
) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteEntityRef(
LPCWSTR pwszName) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteFullEndElement(
) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteName(
LPCWSTR pwszName) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteNmToken(
LPCWSTR pwszNmToken) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteNode(
IXmlReader *pReader,
BOOL fWriteDefaultAttributes) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteNodeShallow(
IXmlReader *pReader,
BOOL fWriteDefaultAttributes) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteProcessingInstruction(
LPCWSTR pwszName,
LPCWSTR pwszText) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteQualifiedName(
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteRaw(
LPCWSTR pwszData) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteRawChars(
const WCHAR *pwch,
UINT cwch) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteStartDocument(
XmlStandalone standalone) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteStartElement(
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteString(
LPCWSTR pwszText) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteSurrogateCharEntity(
WCHAR wchLow,
WCHAR wchHigh) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteWhitespace(
LPCWSTR pwszWhitespace) = 0;
virtual HRESULT STDMETHODCALLTYPE Flush(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IXmlWriter, 0x7279fc88, 0x709d, 0x4095, 0xb6,0x3d, 0x69,0xfe,0x4b,0x0d,0x90,0x30)
#endif
#else
typedef struct IXmlWriterVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IXmlWriter *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IXmlWriter *This);
ULONG (STDMETHODCALLTYPE *Release)(
IXmlWriter *This);
/*** IXmlWriter methods ***/
HRESULT (STDMETHODCALLTYPE *SetOutput)(
IXmlWriter *This,
IUnknown *pOutput);
HRESULT (STDMETHODCALLTYPE *GetProperty)(
IXmlWriter *This,
UINT nProperty,
LONG_PTR *ppValue);
HRESULT (STDMETHODCALLTYPE *SetProperty)(
IXmlWriter *This,
UINT nProperty,
LONG_PTR pValue);
HRESULT (STDMETHODCALLTYPE *WriteAttributes)(
IXmlWriter *This,
IXmlReader *pReader,
BOOL fWriteDefaultAttributes);
HRESULT (STDMETHODCALLTYPE *WriteAttributeString)(
IXmlWriter *This,
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri,
LPCWSTR pwszValue);
HRESULT (STDMETHODCALLTYPE *WriteCData)(
IXmlWriter *This,
LPCWSTR pwszText);
HRESULT (STDMETHODCALLTYPE *WriteCharEntity)(
IXmlWriter *This,
WCHAR wch);
HRESULT (STDMETHODCALLTYPE *WriteChars)(
IXmlWriter *This,
const WCHAR *pwch,
UINT cwch);
HRESULT (STDMETHODCALLTYPE *WriteComment)(
IXmlWriter *This,
LPCWSTR pwszComment);
HRESULT (STDMETHODCALLTYPE *WriteDocType)(
IXmlWriter *This,
LPCWSTR pwszName,
LPCWSTR pwszPublicId,
LPCWSTR pwszSystemId,
LPCWSTR pwszSubset);
HRESULT (STDMETHODCALLTYPE *WriteElementString)(
IXmlWriter *This,
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri,
LPCWSTR pwszValue);
HRESULT (STDMETHODCALLTYPE *WriteEndDocument)(
IXmlWriter *This);
HRESULT (STDMETHODCALLTYPE *WriteEndElement)(
IXmlWriter *This);
HRESULT (STDMETHODCALLTYPE *WriteEntityRef)(
IXmlWriter *This,
LPCWSTR pwszName);
HRESULT (STDMETHODCALLTYPE *WriteFullEndElement)(
IXmlWriter *This);
HRESULT (STDMETHODCALLTYPE *WriteName)(
IXmlWriter *This,
LPCWSTR pwszName);
HRESULT (STDMETHODCALLTYPE *WriteNmToken)(
IXmlWriter *This,
LPCWSTR pwszNmToken);
HRESULT (STDMETHODCALLTYPE *WriteNode)(
IXmlWriter *This,
IXmlReader *pReader,
BOOL fWriteDefaultAttributes);
HRESULT (STDMETHODCALLTYPE *WriteNodeShallow)(
IXmlWriter *This,
IXmlReader *pReader,
BOOL fWriteDefaultAttributes);
HRESULT (STDMETHODCALLTYPE *WriteProcessingInstruction)(
IXmlWriter *This,
LPCWSTR pwszName,
LPCWSTR pwszText);
HRESULT (STDMETHODCALLTYPE *WriteQualifiedName)(
IXmlWriter *This,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri);
HRESULT (STDMETHODCALLTYPE *WriteRaw)(
IXmlWriter *This,
LPCWSTR pwszData);
HRESULT (STDMETHODCALLTYPE *WriteRawChars)(
IXmlWriter *This,
const WCHAR *pwch,
UINT cwch);
HRESULT (STDMETHODCALLTYPE *WriteStartDocument)(
IXmlWriter *This,
XmlStandalone standalone);
HRESULT (STDMETHODCALLTYPE *WriteStartElement)(
IXmlWriter *This,
LPCWSTR pwszPrefix,
LPCWSTR pwszLocalName,
LPCWSTR pwszNamespaceUri);
HRESULT (STDMETHODCALLTYPE *WriteString)(
IXmlWriter *This,
LPCWSTR pwszText);
HRESULT (STDMETHODCALLTYPE *WriteSurrogateCharEntity)(
IXmlWriter *This,
WCHAR wchLow,
WCHAR wchHigh);
HRESULT (STDMETHODCALLTYPE *WriteWhitespace)(
IXmlWriter *This,
LPCWSTR pwszWhitespace);
HRESULT (STDMETHODCALLTYPE *Flush)(
IXmlWriter *This);
END_INTERFACE
} IXmlWriterVtbl;
interface IXmlWriter {
CONST_VTBL IXmlWriterVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IXmlWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IXmlWriter_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IXmlWriter_Release(This) (This)->lpVtbl->Release(This)
/*** IXmlWriter methods ***/
#define IXmlWriter_SetOutput(This,pOutput) (This)->lpVtbl->SetOutput(This,pOutput)
#define IXmlWriter_GetProperty(This,nProperty,ppValue) (This)->lpVtbl->GetProperty(This,nProperty,ppValue)
#define IXmlWriter_SetProperty(This,nProperty,pValue) (This)->lpVtbl->SetProperty(This,nProperty,pValue)
#define IXmlWriter_WriteAttributes(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteAttributes(This,pReader,fWriteDefaultAttributes)
#define IXmlWriter_WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) (This)->lpVtbl->WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue)
#define IXmlWriter_WriteCData(This,pwszText) (This)->lpVtbl->WriteCData(This,pwszText)
#define IXmlWriter_WriteCharEntity(This,wch) (This)->lpVtbl->WriteCharEntity(This,wch)
#define IXmlWriter_WriteChars(This,pwch,cwch) (This)->lpVtbl->WriteChars(This,pwch,cwch)
#define IXmlWriter_WriteComment(This,pwszComment) (This)->lpVtbl->WriteComment(This,pwszComment)
#define IXmlWriter_WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset) (This)->lpVtbl->WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset)
#define IXmlWriter_WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue) (This)->lpVtbl->WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue)
#define IXmlWriter_WriteEndDocument(This) (This)->lpVtbl->WriteEndDocument(This)
#define IXmlWriter_WriteEndElement(This) (This)->lpVtbl->WriteEndElement(This)
#define IXmlWriter_WriteEntityRef(This,pwszName) (This)->lpVtbl->WriteEntityRef(This,pwszName)
#define IXmlWriter_WriteFullEndElement(This) (This)->lpVtbl->WriteFullEndElement(This)
#define IXmlWriter_WriteName(This,pwszName) (This)->lpVtbl->WriteName(This,pwszName)
#define IXmlWriter_WriteNmToken(This,pwszNmToken) (This)->lpVtbl->WriteNmToken(This,pwszNmToken)
#define IXmlWriter_WriteNode(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteNode(This,pReader,fWriteDefaultAttributes)
#define IXmlWriter_WriteNodeShallow(This,pReader,fWriteDefaultAttributes) (This)->lpVtbl->WriteNodeShallow(This,pReader,fWriteDefaultAttributes)
#define IXmlWriter_WriteProcessingInstruction(This,pwszName,pwszText) (This)->lpVtbl->WriteProcessingInstruction(This,pwszName,pwszText)
#define IXmlWriter_WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri) (This)->lpVtbl->WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri)
#define IXmlWriter_WriteRaw(This,pwszData) (This)->lpVtbl->WriteRaw(This,pwszData)
#define IXmlWriter_WriteRawChars(This,pwch,cwch) (This)->lpVtbl->WriteRawChars(This,pwch,cwch)
#define IXmlWriter_WriteStartDocument(This,standalone) (This)->lpVtbl->WriteStartDocument(This,standalone)
#define IXmlWriter_WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri) (This)->lpVtbl->WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri)
#define IXmlWriter_WriteString(This,pwszText) (This)->lpVtbl->WriteString(This,pwszText)
#define IXmlWriter_WriteSurrogateCharEntity(This,wchLow,wchHigh) (This)->lpVtbl->WriteSurrogateCharEntity(This,wchLow,wchHigh)
#define IXmlWriter_WriteWhitespace(This,pwszWhitespace) (This)->lpVtbl->WriteWhitespace(This,pwszWhitespace)
#define IXmlWriter_Flush(This) (This)->lpVtbl->Flush(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IXmlWriter_QueryInterface(IXmlWriter* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IXmlWriter_AddRef(IXmlWriter* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IXmlWriter_Release(IXmlWriter* This) {
return This->lpVtbl->Release(This);
}
/*** IXmlWriter methods ***/
static FORCEINLINE HRESULT IXmlWriter_SetOutput(IXmlWriter* This,IUnknown *pOutput) {
return This->lpVtbl->SetOutput(This,pOutput);
}
static FORCEINLINE HRESULT IXmlWriter_GetProperty(IXmlWriter* This,UINT nProperty,LONG_PTR *ppValue) {
return This->lpVtbl->GetProperty(This,nProperty,ppValue);
}
static FORCEINLINE HRESULT IXmlWriter_SetProperty(IXmlWriter* This,UINT nProperty,LONG_PTR pValue) {
return This->lpVtbl->SetProperty(This,nProperty,pValue);
}
static FORCEINLINE HRESULT IXmlWriter_WriteAttributes(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) {
return This->lpVtbl->WriteAttributes(This,pReader,fWriteDefaultAttributes);
}
static FORCEINLINE HRESULT IXmlWriter_WriteAttributeString(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri,LPCWSTR pwszValue) {
return This->lpVtbl->WriteAttributeString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue);
}
static FORCEINLINE HRESULT IXmlWriter_WriteCData(IXmlWriter* This,LPCWSTR pwszText) {
return This->lpVtbl->WriteCData(This,pwszText);
}
static FORCEINLINE HRESULT IXmlWriter_WriteCharEntity(IXmlWriter* This,WCHAR wch) {
return This->lpVtbl->WriteCharEntity(This,wch);
}
static FORCEINLINE HRESULT IXmlWriter_WriteChars(IXmlWriter* This,const WCHAR *pwch,UINT cwch) {
return This->lpVtbl->WriteChars(This,pwch,cwch);
}
static FORCEINLINE HRESULT IXmlWriter_WriteComment(IXmlWriter* This,LPCWSTR pwszComment) {
return This->lpVtbl->WriteComment(This,pwszComment);
}
static FORCEINLINE HRESULT IXmlWriter_WriteDocType(IXmlWriter* This,LPCWSTR pwszName,LPCWSTR pwszPublicId,LPCWSTR pwszSystemId,LPCWSTR pwszSubset) {
return This->lpVtbl->WriteDocType(This,pwszName,pwszPublicId,pwszSystemId,pwszSubset);
}
static FORCEINLINE HRESULT IXmlWriter_WriteElementString(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri,LPCWSTR pwszValue) {
return This->lpVtbl->WriteElementString(This,pwszPrefix,pwszLocalName,pwszNamespaceUri,pwszValue);
}
static FORCEINLINE HRESULT IXmlWriter_WriteEndDocument(IXmlWriter* This) {
return This->lpVtbl->WriteEndDocument(This);
}
static FORCEINLINE HRESULT IXmlWriter_WriteEndElement(IXmlWriter* This) {
return This->lpVtbl->WriteEndElement(This);
}
static FORCEINLINE HRESULT IXmlWriter_WriteEntityRef(IXmlWriter* This,LPCWSTR pwszName) {
return This->lpVtbl->WriteEntityRef(This,pwszName);
}
static FORCEINLINE HRESULT IXmlWriter_WriteFullEndElement(IXmlWriter* This) {
return This->lpVtbl->WriteFullEndElement(This);
}
static FORCEINLINE HRESULT IXmlWriter_WriteName(IXmlWriter* This,LPCWSTR pwszName) {
return This->lpVtbl->WriteName(This,pwszName);
}
static FORCEINLINE HRESULT IXmlWriter_WriteNmToken(IXmlWriter* This,LPCWSTR pwszNmToken) {
return This->lpVtbl->WriteNmToken(This,pwszNmToken);
}
static FORCEINLINE HRESULT IXmlWriter_WriteNode(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) {
return This->lpVtbl->WriteNode(This,pReader,fWriteDefaultAttributes);
}
static FORCEINLINE HRESULT IXmlWriter_WriteNodeShallow(IXmlWriter* This,IXmlReader *pReader,BOOL fWriteDefaultAttributes) {
return This->lpVtbl->WriteNodeShallow(This,pReader,fWriteDefaultAttributes);
}
static FORCEINLINE HRESULT IXmlWriter_WriteProcessingInstruction(IXmlWriter* This,LPCWSTR pwszName,LPCWSTR pwszText) {
return This->lpVtbl->WriteProcessingInstruction(This,pwszName,pwszText);
}
static FORCEINLINE HRESULT IXmlWriter_WriteQualifiedName(IXmlWriter* This,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri) {
return This->lpVtbl->WriteQualifiedName(This,pwszLocalName,pwszNamespaceUri);
}
static FORCEINLINE HRESULT IXmlWriter_WriteRaw(IXmlWriter* This,LPCWSTR pwszData) {
return This->lpVtbl->WriteRaw(This,pwszData);
}
static FORCEINLINE HRESULT IXmlWriter_WriteRawChars(IXmlWriter* This,const WCHAR *pwch,UINT cwch) {
return This->lpVtbl->WriteRawChars(This,pwch,cwch);
}
static FORCEINLINE HRESULT IXmlWriter_WriteStartDocument(IXmlWriter* This,XmlStandalone standalone) {
return This->lpVtbl->WriteStartDocument(This,standalone);
}
static FORCEINLINE HRESULT IXmlWriter_WriteStartElement(IXmlWriter* This,LPCWSTR pwszPrefix,LPCWSTR pwszLocalName,LPCWSTR pwszNamespaceUri) {
return This->lpVtbl->WriteStartElement(This,pwszPrefix,pwszLocalName,pwszNamespaceUri);
}
static FORCEINLINE HRESULT IXmlWriter_WriteString(IXmlWriter* This,LPCWSTR pwszText) {
return This->lpVtbl->WriteString(This,pwszText);
}
static FORCEINLINE HRESULT IXmlWriter_WriteSurrogateCharEntity(IXmlWriter* This,WCHAR wchLow,WCHAR wchHigh) {
return This->lpVtbl->WriteSurrogateCharEntity(This,wchLow,wchHigh);
}
static FORCEINLINE HRESULT IXmlWriter_WriteWhitespace(IXmlWriter* This,LPCWSTR pwszWhitespace) {
return This->lpVtbl->WriteWhitespace(This,pwszWhitespace);
}
static FORCEINLINE HRESULT IXmlWriter_Flush(IXmlWriter* This) {
return This->lpVtbl->Flush(This);
}
#endif
#endif
#endif
#endif /* __IXmlWriter_INTERFACE_DEFINED__ */
STDAPI CreateXmlWriter(REFIID riid, void **ppvObject, IMalloc *pMalloc);
typedef IUnknown IXmlWriterOutput;
STDAPI CreateXmlWriterOutputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,
LPCWSTR encoding, IXmlWriterOutput **output);
STDAPI CreateXmlWriterOutputWithEncodingCodePage(IUnknown *stream, IMalloc *pMalloc,
UINT codepage, IXmlWriterOutput **output);
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __xmllite_h__ */
|