source: GTP/trunk/App/Games/Jungle_Rumble/src/Debug/msxml.tli @ 1378

Revision 1378, 53.4 KB checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1// Created by Microsoft (R) C/C++ Compiler Version 13.10.3077 (2e450c46).
2//
3// c:\_stuff_\_uni_cg_insti_\gametools project\gtp_libs\gtp\trunk\app\games\jungle_rumble\src\debug\msxml.tli
4//
5// Wrapper implementations for Win32 type library msxml.dll
6// compiler-generated file created 09/15/06 at 16:11:04 - DO NOT EDIT!
7
8#pragma once
9
10//
11// interface IXMLDOMImplementation wrapper method implementations
12//
13
14inline VARIANT_BOOL IXMLDOMImplementation::hasFeature ( _bstr_t feature, _bstr_t version ) {
15    VARIANT_BOOL _result = 0;
16    HRESULT _hr = raw_hasFeature(feature, version, &_result);
17    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
18    return _result;
19}
20
21//
22// interface IXMLDOMParseError wrapper method implementations
23//
24
25inline long IXMLDOMParseError::GeterrorCode ( ) {
26    long _result = 0;
27    HRESULT _hr = get_errorCode(&_result);
28    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
29    return _result;
30}
31
32inline _bstr_t IXMLDOMParseError::Geturl ( ) {
33    BSTR _result = 0;
34    HRESULT _hr = get_url(&_result);
35    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
36    return _bstr_t(_result, false);
37}
38
39inline _bstr_t IXMLDOMParseError::Getreason ( ) {
40    BSTR _result = 0;
41    HRESULT _hr = get_reason(&_result);
42    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
43    return _bstr_t(_result, false);
44}
45
46inline _bstr_t IXMLDOMParseError::GetsrcText ( ) {
47    BSTR _result = 0;
48    HRESULT _hr = get_srcText(&_result);
49    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
50    return _bstr_t(_result, false);
51}
52
53inline long IXMLDOMParseError::Getline ( ) {
54    long _result = 0;
55    HRESULT _hr = get_line(&_result);
56    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
57    return _result;
58}
59
60inline long IXMLDOMParseError::Getlinepos ( ) {
61    long _result = 0;
62    HRESULT _hr = get_linepos(&_result);
63    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
64    return _result;
65}
66
67inline long IXMLDOMParseError::Getfilepos ( ) {
68    long _result = 0;
69    HRESULT _hr = get_filepos(&_result);
70    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
71    return _result;
72}
73
74//
75// dispinterface XMLDOMDocumentEvents wrapper method implementations
76//
77
78inline HRESULT XMLDOMDocumentEvents::ondataavailable ( ) {
79    return _com_dispatch_method(this, 0xc6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
80}
81
82inline HRESULT XMLDOMDocumentEvents::onreadystatechange ( ) {
83    return _com_dispatch_method(this, DISPID_READYSTATECHANGE, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
84}
85
86//
87// interface IXMLHttpRequest wrapper method implementations
88//
89
90inline HRESULT IXMLHttpRequest::open ( _bstr_t bstrMethod, _bstr_t bstrUrl, const _variant_t & varAsync, const _variant_t & bstrUser, const _variant_t & bstrPassword ) {
91    HRESULT _hr = raw_open(bstrMethod, bstrUrl, varAsync, bstrUser, bstrPassword);
92    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
93    return _hr;
94}
95
96inline HRESULT IXMLHttpRequest::setRequestHeader ( _bstr_t bstrHeader, _bstr_t bstrValue ) {
97    HRESULT _hr = raw_setRequestHeader(bstrHeader, bstrValue);
98    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
99    return _hr;
100}
101
102inline _bstr_t IXMLHttpRequest::getResponseHeader ( _bstr_t bstrHeader ) {
103    BSTR _result = 0;
104    HRESULT _hr = raw_getResponseHeader(bstrHeader, &_result);
105    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
106    return _bstr_t(_result, false);
107}
108
109inline _bstr_t IXMLHttpRequest::getAllResponseHeaders ( ) {
110    BSTR _result = 0;
111    HRESULT _hr = raw_getAllResponseHeaders(&_result);
112    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
113    return _bstr_t(_result, false);
114}
115
116inline HRESULT IXMLHttpRequest::send ( const _variant_t & varBody ) {
117    HRESULT _hr = raw_send(varBody);
118    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
119    return _hr;
120}
121
122inline HRESULT IXMLHttpRequest::abort ( ) {
123    HRESULT _hr = raw_abort();
124    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
125    return _hr;
126}
127
128inline long IXMLHttpRequest::Getstatus ( ) {
129    long _result = 0;
130    HRESULT _hr = get_status(&_result);
131    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
132    return _result;
133}
134
135inline _bstr_t IXMLHttpRequest::GetstatusText ( ) {
136    BSTR _result = 0;
137    HRESULT _hr = get_statusText(&_result);
138    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
139    return _bstr_t(_result, false);
140}
141
142inline IDispatchPtr IXMLHttpRequest::GetresponseXML ( ) {
143    IDispatch * _result = 0;
144    HRESULT _hr = get_responseXML(&_result);
145    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
146    return IDispatchPtr(_result, false);
147}
148
149inline _bstr_t IXMLHttpRequest::GetresponseText ( ) {
150    BSTR _result = 0;
151    HRESULT _hr = get_responseText(&_result);
152    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
153    return _bstr_t(_result, false);
154}
155
156inline _variant_t IXMLHttpRequest::GetresponseBody ( ) {
157    VARIANT _result;
158    VariantInit(&_result);
159    HRESULT _hr = get_responseBody(&_result);
160    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
161    return _variant_t(_result, false);
162}
163
164inline _variant_t IXMLHttpRequest::GetresponseStream ( ) {
165    VARIANT _result;
166    VariantInit(&_result);
167    HRESULT _hr = get_responseStream(&_result);
168    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
169    return _variant_t(_result, false);
170}
171
172inline long IXMLHttpRequest::GetreadyState ( ) {
173    long _result = 0;
174    HRESULT _hr = get_readyState(&_result);
175    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
176    return _result;
177}
178
179inline void IXMLHttpRequest::Putonreadystatechange ( IDispatch * _arg1 ) {
180    HRESULT _hr = put_onreadystatechange(_arg1);
181    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
182}
183
184//
185// interface IXMLElementCollection wrapper method implementations
186//
187
188inline void IXMLElementCollection::Putlength ( long p ) {
189    HRESULT _hr = put_length(p);
190    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
191}
192
193inline long IXMLElementCollection::Getlength ( ) {
194    long _result = 0;
195    HRESULT _hr = get_length(&_result);
196    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
197    return _result;
198}
199
200inline IUnknownPtr IXMLElementCollection::Get_newEnum ( ) {
201    IUnknown * _result = 0;
202    HRESULT _hr = get__newEnum(&_result);
203    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
204    return IUnknownPtr(_result, false);
205}
206
207inline IDispatchPtr IXMLElementCollection::item ( const _variant_t & var1, const _variant_t & var2 ) {
208    IDispatch * _result = 0;
209    HRESULT _hr = raw_item(var1, var2, &_result);
210    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
211    return IDispatchPtr(_result, false);
212}
213
214//
215// interface IXMLElement wrapper method implementations
216//
217
218inline _bstr_t IXMLElement::GettagName ( ) {
219    BSTR _result = 0;
220    HRESULT _hr = get_tagName(&_result);
221    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
222    return _bstr_t(_result, false);
223}
224
225inline void IXMLElement::PuttagName ( _bstr_t p ) {
226    HRESULT _hr = put_tagName(p);
227    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
228}
229
230inline IXMLElementPtr IXMLElement::Getparent ( ) {
231    struct IXMLElement * _result = 0;
232    HRESULT _hr = get_parent(&_result);
233    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
234    return IXMLElementPtr(_result, false);
235}
236
237inline HRESULT IXMLElement::setAttribute ( _bstr_t strPropertyName, const _variant_t & PropertyValue ) {
238    HRESULT _hr = raw_setAttribute(strPropertyName, PropertyValue);
239    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
240    return _hr;
241}
242
243inline _variant_t IXMLElement::getAttribute ( _bstr_t strPropertyName ) {
244    VARIANT _result;
245    VariantInit(&_result);
246    HRESULT _hr = raw_getAttribute(strPropertyName, &_result);
247    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
248    return _variant_t(_result, false);
249}
250
251inline HRESULT IXMLElement::removeAttribute ( _bstr_t strPropertyName ) {
252    HRESULT _hr = raw_removeAttribute(strPropertyName);
253    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
254    return _hr;
255}
256
257inline IXMLElementCollectionPtr IXMLElement::Getchildren ( ) {
258    struct IXMLElementCollection * _result = 0;
259    HRESULT _hr = get_children(&_result);
260    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
261    return IXMLElementCollectionPtr(_result, false);
262}
263
264inline long IXMLElement::Gettype ( ) {
265    long _result = 0;
266    HRESULT _hr = get_type(&_result);
267    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
268    return _result;
269}
270
271inline _bstr_t IXMLElement::Gettext ( ) {
272    BSTR _result = 0;
273    HRESULT _hr = get_text(&_result);
274    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
275    return _bstr_t(_result, false);
276}
277
278inline void IXMLElement::Puttext ( _bstr_t p ) {
279    HRESULT _hr = put_text(p);
280    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
281}
282
283inline HRESULT IXMLElement::addChild ( struct IXMLElement * pChildElem, long lIndex, long lReserved ) {
284    HRESULT _hr = raw_addChild(pChildElem, lIndex, lReserved);
285    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
286    return _hr;
287}
288
289inline HRESULT IXMLElement::removeChild ( struct IXMLElement * pChildElem ) {
290    HRESULT _hr = raw_removeChild(pChildElem);
291    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
292    return _hr;
293}
294
295//
296// interface IXMLDocument wrapper method implementations
297//
298
299inline IXMLElementPtr IXMLDocument::Getroot ( ) {
300    struct IXMLElement * _result = 0;
301    HRESULT _hr = get_root(&_result);
302    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
303    return IXMLElementPtr(_result, false);
304}
305
306inline _bstr_t IXMLDocument::GetfileSize ( ) {
307    BSTR _result = 0;
308    HRESULT _hr = get_fileSize(&_result);
309    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
310    return _bstr_t(_result, false);
311}
312
313inline _bstr_t IXMLDocument::GetfileModifiedDate ( ) {
314    BSTR _result = 0;
315    HRESULT _hr = get_fileModifiedDate(&_result);
316    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
317    return _bstr_t(_result, false);
318}
319
320inline _bstr_t IXMLDocument::GetfileUpdatedDate ( ) {
321    BSTR _result = 0;
322    HRESULT _hr = get_fileUpdatedDate(&_result);
323    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
324    return _bstr_t(_result, false);
325}
326
327inline _bstr_t IXMLDocument::Geturl ( ) {
328    BSTR _result = 0;
329    HRESULT _hr = get_url(&_result);
330    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
331    return _bstr_t(_result, false);
332}
333
334inline void IXMLDocument::Puturl ( _bstr_t p ) {
335    HRESULT _hr = put_url(p);
336    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
337}
338
339inline _bstr_t IXMLDocument::GetmimeType ( ) {
340    BSTR _result = 0;
341    HRESULT _hr = get_mimeType(&_result);
342    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
343    return _bstr_t(_result, false);
344}
345
346inline long IXMLDocument::GetreadyState ( ) {
347    long _result = 0;
348    HRESULT _hr = get_readyState(&_result);
349    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
350    return _result;
351}
352
353inline _bstr_t IXMLDocument::Getcharset ( ) {
354    BSTR _result = 0;
355    HRESULT _hr = get_charset(&_result);
356    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
357    return _bstr_t(_result, false);
358}
359
360inline void IXMLDocument::Putcharset ( _bstr_t p ) {
361    HRESULT _hr = put_charset(p);
362    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
363}
364
365inline _bstr_t IXMLDocument::Getversion ( ) {
366    BSTR _result = 0;
367    HRESULT _hr = get_version(&_result);
368    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
369    return _bstr_t(_result, false);
370}
371
372inline _bstr_t IXMLDocument::Getdoctype ( ) {
373    BSTR _result = 0;
374    HRESULT _hr = get_doctype(&_result);
375    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
376    return _bstr_t(_result, false);
377}
378
379inline _bstr_t IXMLDocument::GetdtdURL ( ) {
380    BSTR _result = 0;
381    HRESULT _hr = get_dtdURL(&_result);
382    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
383    return _bstr_t(_result, false);
384}
385
386inline IXMLElementPtr IXMLDocument::createElement ( const _variant_t & vType, const _variant_t & var1 ) {
387    struct IXMLElement * _result = 0;
388    HRESULT _hr = raw_createElement(vType, var1, &_result);
389    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
390    return IXMLElementPtr(_result, false);
391}
392
393//
394// interface IXMLElement2 wrapper method implementations
395//
396
397inline _bstr_t IXMLElement2::GettagName ( ) {
398    BSTR _result = 0;
399    HRESULT _hr = get_tagName(&_result);
400    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
401    return _bstr_t(_result, false);
402}
403
404inline void IXMLElement2::PuttagName ( _bstr_t p ) {
405    HRESULT _hr = put_tagName(p);
406    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
407}
408
409inline IXMLElement2Ptr IXMLElement2::Getparent ( ) {
410    struct IXMLElement2 * _result = 0;
411    HRESULT _hr = get_parent(&_result);
412    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
413    return IXMLElement2Ptr(_result, false);
414}
415
416inline HRESULT IXMLElement2::setAttribute ( _bstr_t strPropertyName, const _variant_t & PropertyValue ) {
417    HRESULT _hr = raw_setAttribute(strPropertyName, PropertyValue);
418    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
419    return _hr;
420}
421
422inline _variant_t IXMLElement2::getAttribute ( _bstr_t strPropertyName ) {
423    VARIANT _result;
424    VariantInit(&_result);
425    HRESULT _hr = raw_getAttribute(strPropertyName, &_result);
426    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
427    return _variant_t(_result, false);
428}
429
430inline HRESULT IXMLElement2::removeAttribute ( _bstr_t strPropertyName ) {
431    HRESULT _hr = raw_removeAttribute(strPropertyName);
432    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
433    return _hr;
434}
435
436inline IXMLElementCollectionPtr IXMLElement2::Getchildren ( ) {
437    struct IXMLElementCollection * _result = 0;
438    HRESULT _hr = get_children(&_result);
439    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
440    return IXMLElementCollectionPtr(_result, false);
441}
442
443inline long IXMLElement2::Gettype ( ) {
444    long _result = 0;
445    HRESULT _hr = get_type(&_result);
446    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
447    return _result;
448}
449
450inline _bstr_t IXMLElement2::Gettext ( ) {
451    BSTR _result = 0;
452    HRESULT _hr = get_text(&_result);
453    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
454    return _bstr_t(_result, false);
455}
456
457inline void IXMLElement2::Puttext ( _bstr_t p ) {
458    HRESULT _hr = put_text(p);
459    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
460}
461
462inline HRESULT IXMLElement2::addChild ( struct IXMLElement2 * pChildElem, long lIndex, long lReserved ) {
463    HRESULT _hr = raw_addChild(pChildElem, lIndex, lReserved);
464    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
465    return _hr;
466}
467
468inline HRESULT IXMLElement2::removeChild ( struct IXMLElement2 * pChildElem ) {
469    HRESULT _hr = raw_removeChild(pChildElem);
470    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
471    return _hr;
472}
473
474inline IXMLElementCollectionPtr IXMLElement2::Getattributes ( ) {
475    struct IXMLElementCollection * _result = 0;
476    HRESULT _hr = get_attributes(&_result);
477    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
478    return IXMLElementCollectionPtr(_result, false);
479}
480
481//
482// interface IXMLDocument2 wrapper method implementations
483//
484
485inline IXMLElement2Ptr IXMLDocument2::Getroot ( ) {
486    struct IXMLElement2 * _result = 0;
487    HRESULT _hr = get_root(&_result);
488    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
489    return IXMLElement2Ptr(_result, false);
490}
491
492inline _bstr_t IXMLDocument2::GetfileSize ( ) {
493    BSTR _result = 0;
494    HRESULT _hr = get_fileSize(&_result);
495    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
496    return _bstr_t(_result, false);
497}
498
499inline _bstr_t IXMLDocument2::GetfileModifiedDate ( ) {
500    BSTR _result = 0;
501    HRESULT _hr = get_fileModifiedDate(&_result);
502    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
503    return _bstr_t(_result, false);
504}
505
506inline _bstr_t IXMLDocument2::GetfileUpdatedDate ( ) {
507    BSTR _result = 0;
508    HRESULT _hr = get_fileUpdatedDate(&_result);
509    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
510    return _bstr_t(_result, false);
511}
512
513inline _bstr_t IXMLDocument2::Geturl ( ) {
514    BSTR _result = 0;
515    HRESULT _hr = get_url(&_result);
516    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
517    return _bstr_t(_result, false);
518}
519
520inline void IXMLDocument2::Puturl ( _bstr_t p ) {
521    HRESULT _hr = put_url(p);
522    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
523}
524
525inline _bstr_t IXMLDocument2::GetmimeType ( ) {
526    BSTR _result = 0;
527    HRESULT _hr = get_mimeType(&_result);
528    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
529    return _bstr_t(_result, false);
530}
531
532inline long IXMLDocument2::GetreadyState ( ) {
533    long _result = 0;
534    HRESULT _hr = get_readyState(&_result);
535    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
536    return _result;
537}
538
539inline _bstr_t IXMLDocument2::Getcharset ( ) {
540    BSTR _result = 0;
541    HRESULT _hr = get_charset(&_result);
542    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
543    return _bstr_t(_result, false);
544}
545
546inline void IXMLDocument2::Putcharset ( _bstr_t p ) {
547    HRESULT _hr = put_charset(p);
548    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
549}
550
551inline _bstr_t IXMLDocument2::Getversion ( ) {
552    BSTR _result = 0;
553    HRESULT _hr = get_version(&_result);
554    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
555    return _bstr_t(_result, false);
556}
557
558inline _bstr_t IXMLDocument2::Getdoctype ( ) {
559    BSTR _result = 0;
560    HRESULT _hr = get_doctype(&_result);
561    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
562    return _bstr_t(_result, false);
563}
564
565inline _bstr_t IXMLDocument2::GetdtdURL ( ) {
566    BSTR _result = 0;
567    HRESULT _hr = get_dtdURL(&_result);
568    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
569    return _bstr_t(_result, false);
570}
571
572inline IXMLElement2Ptr IXMLDocument2::createElement ( const _variant_t & vType, const _variant_t & var1 ) {
573    struct IXMLElement2 * _result = 0;
574    HRESULT _hr = raw_createElement(vType, var1, &_result);
575    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
576    return IXMLElement2Ptr(_result, false);
577}
578
579inline VARIANT_BOOL IXMLDocument2::Getasync ( ) {
580    VARIANT_BOOL _result = 0;
581    HRESULT _hr = get_async(&_result);
582    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
583    return _result;
584}
585
586inline void IXMLDocument2::Putasync ( VARIANT_BOOL pf ) {
587    HRESULT _hr = put_async(pf);
588    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
589}
590
591//
592// interface IXMLAttribute wrapper method implementations
593//
594
595inline _bstr_t IXMLAttribute::Getname ( ) {
596    BSTR _result = 0;
597    HRESULT _hr = get_name(&_result);
598    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
599    return _bstr_t(_result, false);
600}
601
602inline _bstr_t IXMLAttribute::Getvalue ( ) {
603    BSTR _result = 0;
604    HRESULT _hr = get_value(&_result);
605    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
606    return _bstr_t(_result, false);
607}
608
609//
610// interface IXMLError wrapper method implementations
611//
612
613inline HRESULT IXMLError::GetErrorInfo ( struct _xml_error * pErrorReturn ) {
614    HRESULT _hr = raw_GetErrorInfo(pErrorReturn);
615    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
616    return _hr;
617}
618
619//
620// interface IXMLDOMNode wrapper method implementations
621//
622
623inline _bstr_t IXMLDOMNode::GetnodeName ( ) {
624    BSTR _result = 0;
625    HRESULT _hr = get_nodeName(&_result);
626    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
627    return _bstr_t(_result, false);
628}
629
630inline _variant_t IXMLDOMNode::GetnodeValue ( ) {
631    VARIANT _result;
632    VariantInit(&_result);
633    HRESULT _hr = get_nodeValue(&_result);
634    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
635    return _variant_t(_result, false);
636}
637
638inline void IXMLDOMNode::PutnodeValue ( const _variant_t & value ) {
639    HRESULT _hr = put_nodeValue(value);
640    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
641}
642
643inline DOMNodeType IXMLDOMNode::GetnodeType ( ) {
644    DOMNodeType _result;
645    HRESULT _hr = get_nodeType(&_result);
646    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
647    return _result;
648}
649
650inline IXMLDOMNodePtr IXMLDOMNode::GetparentNode ( ) {
651    struct IXMLDOMNode * _result = 0;
652    HRESULT _hr = get_parentNode(&_result);
653    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
654    return IXMLDOMNodePtr(_result, false);
655}
656
657inline IXMLDOMNodeListPtr IXMLDOMNode::GetchildNodes ( ) {
658    struct IXMLDOMNodeList * _result = 0;
659    HRESULT _hr = get_childNodes(&_result);
660    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
661    return IXMLDOMNodeListPtr(_result, false);
662}
663
664inline IXMLDOMNodePtr IXMLDOMNode::GetfirstChild ( ) {
665    struct IXMLDOMNode * _result = 0;
666    HRESULT _hr = get_firstChild(&_result);
667    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
668    return IXMLDOMNodePtr(_result, false);
669}
670
671inline IXMLDOMNodePtr IXMLDOMNode::GetlastChild ( ) {
672    struct IXMLDOMNode * _result = 0;
673    HRESULT _hr = get_lastChild(&_result);
674    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
675    return IXMLDOMNodePtr(_result, false);
676}
677
678inline IXMLDOMNodePtr IXMLDOMNode::GetpreviousSibling ( ) {
679    struct IXMLDOMNode * _result = 0;
680    HRESULT _hr = get_previousSibling(&_result);
681    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
682    return IXMLDOMNodePtr(_result, false);
683}
684
685inline IXMLDOMNodePtr IXMLDOMNode::GetnextSibling ( ) {
686    struct IXMLDOMNode * _result = 0;
687    HRESULT _hr = get_nextSibling(&_result);
688    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
689    return IXMLDOMNodePtr(_result, false);
690}
691
692inline IXMLDOMNamedNodeMapPtr IXMLDOMNode::Getattributes ( ) {
693    struct IXMLDOMNamedNodeMap * _result = 0;
694    HRESULT _hr = get_attributes(&_result);
695    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
696    return IXMLDOMNamedNodeMapPtr(_result, false);
697}
698
699inline IXMLDOMNodePtr IXMLDOMNode::insertBefore ( struct IXMLDOMNode * newChild, const _variant_t & refChild ) {
700    struct IXMLDOMNode * _result = 0;
701    HRESULT _hr = raw_insertBefore(newChild, refChild, &_result);
702    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
703    return IXMLDOMNodePtr(_result, false);
704}
705
706inline IXMLDOMNodePtr IXMLDOMNode::replaceChild ( struct IXMLDOMNode * newChild, struct IXMLDOMNode * oldChild ) {
707    struct IXMLDOMNode * _result = 0;
708    HRESULT _hr = raw_replaceChild(newChild, oldChild, &_result);
709    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
710    return IXMLDOMNodePtr(_result, false);
711}
712
713inline IXMLDOMNodePtr IXMLDOMNode::removeChild ( struct IXMLDOMNode * childNode ) {
714    struct IXMLDOMNode * _result = 0;
715    HRESULT _hr = raw_removeChild(childNode, &_result);
716    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
717    return IXMLDOMNodePtr(_result, false);
718}
719
720inline IXMLDOMNodePtr IXMLDOMNode::appendChild ( struct IXMLDOMNode * newChild ) {
721    struct IXMLDOMNode * _result = 0;
722    HRESULT _hr = raw_appendChild(newChild, &_result);
723    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
724    return IXMLDOMNodePtr(_result, false);
725}
726
727inline VARIANT_BOOL IXMLDOMNode::hasChildNodes ( ) {
728    VARIANT_BOOL _result = 0;
729    HRESULT _hr = raw_hasChildNodes(&_result);
730    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
731    return _result;
732}
733
734inline IXMLDOMDocumentPtr IXMLDOMNode::GetownerDocument ( ) {
735    struct IXMLDOMDocument * _result = 0;
736    HRESULT _hr = get_ownerDocument(&_result);
737    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
738    return IXMLDOMDocumentPtr(_result, false);
739}
740
741inline IXMLDOMNodePtr IXMLDOMNode::cloneNode ( VARIANT_BOOL deep ) {
742    struct IXMLDOMNode * _result = 0;
743    HRESULT _hr = raw_cloneNode(deep, &_result);
744    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
745    return IXMLDOMNodePtr(_result, false);
746}
747
748inline _bstr_t IXMLDOMNode::GetnodeTypeString ( ) {
749    BSTR _result = 0;
750    HRESULT _hr = get_nodeTypeString(&_result);
751    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
752    return _bstr_t(_result, false);
753}
754
755inline _bstr_t IXMLDOMNode::Gettext ( ) {
756    BSTR _result = 0;
757    HRESULT _hr = get_text(&_result);
758    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
759    return _bstr_t(_result, false);
760}
761
762inline void IXMLDOMNode::Puttext ( _bstr_t text ) {
763    HRESULT _hr = put_text(text);
764    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
765}
766
767inline VARIANT_BOOL IXMLDOMNode::Getspecified ( ) {
768    VARIANT_BOOL _result = 0;
769    HRESULT _hr = get_specified(&_result);
770    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
771    return _result;
772}
773
774inline IXMLDOMNodePtr IXMLDOMNode::Getdefinition ( ) {
775    struct IXMLDOMNode * _result = 0;
776    HRESULT _hr = get_definition(&_result);
777    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
778    return IXMLDOMNodePtr(_result, false);
779}
780
781inline _variant_t IXMLDOMNode::GetnodeTypedValue ( ) {
782    VARIANT _result;
783    VariantInit(&_result);
784    HRESULT _hr = get_nodeTypedValue(&_result);
785    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
786    return _variant_t(_result, false);
787}
788
789inline void IXMLDOMNode::PutnodeTypedValue ( const _variant_t & typedValue ) {
790    HRESULT _hr = put_nodeTypedValue(typedValue);
791    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
792}
793
794inline _variant_t IXMLDOMNode::GetdataType ( ) {
795    VARIANT _result;
796    VariantInit(&_result);
797    HRESULT _hr = get_dataType(&_result);
798    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
799    return _variant_t(_result, false);
800}
801
802inline void IXMLDOMNode::PutdataType ( _bstr_t dataTypeName ) {
803    HRESULT _hr = put_dataType(dataTypeName);
804    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
805}
806
807inline _bstr_t IXMLDOMNode::Getxml ( ) {
808    BSTR _result = 0;
809    HRESULT _hr = get_xml(&_result);
810    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
811    return _bstr_t(_result, false);
812}
813
814inline _bstr_t IXMLDOMNode::transformNode ( struct IXMLDOMNode * stylesheet ) {
815    BSTR _result = 0;
816    HRESULT _hr = raw_transformNode(stylesheet, &_result);
817    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
818    return _bstr_t(_result, false);
819}
820
821inline IXMLDOMNodeListPtr IXMLDOMNode::selectNodes ( _bstr_t queryString ) {
822    struct IXMLDOMNodeList * _result = 0;
823    HRESULT _hr = raw_selectNodes(queryString, &_result);
824    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
825    return IXMLDOMNodeListPtr(_result, false);
826}
827
828inline IXMLDOMNodePtr IXMLDOMNode::selectSingleNode ( _bstr_t queryString ) {
829    struct IXMLDOMNode * _result = 0;
830    HRESULT _hr = raw_selectSingleNode(queryString, &_result);
831    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
832    return IXMLDOMNodePtr(_result, false);
833}
834
835inline VARIANT_BOOL IXMLDOMNode::Getparsed ( ) {
836    VARIANT_BOOL _result = 0;
837    HRESULT _hr = get_parsed(&_result);
838    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
839    return _result;
840}
841
842inline _bstr_t IXMLDOMNode::GetnamespaceURI ( ) {
843    BSTR _result = 0;
844    HRESULT _hr = get_namespaceURI(&_result);
845    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
846    return _bstr_t(_result, false);
847}
848
849inline _bstr_t IXMLDOMNode::Getprefix ( ) {
850    BSTR _result = 0;
851    HRESULT _hr = get_prefix(&_result);
852    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
853    return _bstr_t(_result, false);
854}
855
856inline _bstr_t IXMLDOMNode::GetbaseName ( ) {
857    BSTR _result = 0;
858    HRESULT _hr = get_baseName(&_result);
859    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
860    return _bstr_t(_result, false);
861}
862
863inline HRESULT IXMLDOMNode::transformNodeToObject ( struct IXMLDOMNode * stylesheet, const _variant_t & outputObject ) {
864    HRESULT _hr = raw_transformNodeToObject(stylesheet, outputObject);
865    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
866    return _hr;
867}
868
869//
870// interface IXMLDOMNodeList wrapper method implementations
871//
872
873inline IXMLDOMNodePtr IXMLDOMNodeList::Getitem ( long index ) {
874    struct IXMLDOMNode * _result = 0;
875    HRESULT _hr = get_item(index, &_result);
876    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
877    return IXMLDOMNodePtr(_result, false);
878}
879
880inline long IXMLDOMNodeList::Getlength ( ) {
881    long _result = 0;
882    HRESULT _hr = get_length(&_result);
883    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
884    return _result;
885}
886
887inline IXMLDOMNodePtr IXMLDOMNodeList::nextNode ( ) {
888    struct IXMLDOMNode * _result = 0;
889    HRESULT _hr = raw_nextNode(&_result);
890    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
891    return IXMLDOMNodePtr(_result, false);
892}
893
894inline HRESULT IXMLDOMNodeList::reset ( ) {
895    HRESULT _hr = raw_reset();
896    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
897    return _hr;
898}
899
900inline IUnknownPtr IXMLDOMNodeList::Get_newEnum ( ) {
901    IUnknown * _result = 0;
902    HRESULT _hr = get__newEnum(&_result);
903    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
904    return IUnknownPtr(_result, false);
905}
906
907//
908// interface IXMLDOMNamedNodeMap wrapper method implementations
909//
910
911inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getNamedItem ( _bstr_t name ) {
912    struct IXMLDOMNode * _result = 0;
913    HRESULT _hr = raw_getNamedItem(name, &_result);
914    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
915    return IXMLDOMNodePtr(_result, false);
916}
917
918inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::setNamedItem ( struct IXMLDOMNode * newItem ) {
919    struct IXMLDOMNode * _result = 0;
920    HRESULT _hr = raw_setNamedItem(newItem, &_result);
921    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
922    return IXMLDOMNodePtr(_result, false);
923}
924
925inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeNamedItem ( _bstr_t name ) {
926    struct IXMLDOMNode * _result = 0;
927    HRESULT _hr = raw_removeNamedItem(name, &_result);
928    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
929    return IXMLDOMNodePtr(_result, false);
930}
931
932inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::Getitem ( long index ) {
933    struct IXMLDOMNode * _result = 0;
934    HRESULT _hr = get_item(index, &_result);
935    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
936    return IXMLDOMNodePtr(_result, false);
937}
938
939inline long IXMLDOMNamedNodeMap::Getlength ( ) {
940    long _result = 0;
941    HRESULT _hr = get_length(&_result);
942    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
943    return _result;
944}
945
946inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::getQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
947    struct IXMLDOMNode * _result = 0;
948    HRESULT _hr = raw_getQualifiedItem(baseName, namespaceURI, &_result);
949    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
950    return IXMLDOMNodePtr(_result, false);
951}
952
953inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::removeQualifiedItem ( _bstr_t baseName, _bstr_t namespaceURI ) {
954    struct IXMLDOMNode * _result = 0;
955    HRESULT _hr = raw_removeQualifiedItem(baseName, namespaceURI, &_result);
956    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
957    return IXMLDOMNodePtr(_result, false);
958}
959
960inline IXMLDOMNodePtr IXMLDOMNamedNodeMap::nextNode ( ) {
961    struct IXMLDOMNode * _result = 0;
962    HRESULT _hr = raw_nextNode(&_result);
963    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
964    return IXMLDOMNodePtr(_result, false);
965}
966
967inline HRESULT IXMLDOMNamedNodeMap::reset ( ) {
968    HRESULT _hr = raw_reset();
969    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
970    return _hr;
971}
972
973inline IUnknownPtr IXMLDOMNamedNodeMap::Get_newEnum ( ) {
974    IUnknown * _result = 0;
975    HRESULT _hr = get__newEnum(&_result);
976    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
977    return IUnknownPtr(_result, false);
978}
979
980//
981// interface IXMLDOMDocumentType wrapper method implementations
982//
983
984inline _bstr_t IXMLDOMDocumentType::Getname ( ) {
985    BSTR _result = 0;
986    HRESULT _hr = get_name(&_result);
987    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
988    return _bstr_t(_result, false);
989}
990
991inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getentities ( ) {
992    struct IXMLDOMNamedNodeMap * _result = 0;
993    HRESULT _hr = get_entities(&_result);
994    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
995    return IXMLDOMNamedNodeMapPtr(_result, false);
996}
997
998inline IXMLDOMNamedNodeMapPtr IXMLDOMDocumentType::Getnotations ( ) {
999    struct IXMLDOMNamedNodeMap * _result = 0;
1000    HRESULT _hr = get_notations(&_result);
1001    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1002    return IXMLDOMNamedNodeMapPtr(_result, false);
1003}
1004
1005//
1006// interface IXMLDOMAttribute wrapper method implementations
1007//
1008
1009inline _bstr_t IXMLDOMAttribute::Getname ( ) {
1010    BSTR _result = 0;
1011    HRESULT _hr = get_name(&_result);
1012    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1013    return _bstr_t(_result, false);
1014}
1015
1016inline _variant_t IXMLDOMAttribute::Getvalue ( ) {
1017    VARIANT _result;
1018    VariantInit(&_result);
1019    HRESULT _hr = get_value(&_result);
1020    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1021    return _variant_t(_result, false);
1022}
1023
1024inline void IXMLDOMAttribute::Putvalue ( const _variant_t & attributeValue ) {
1025    HRESULT _hr = put_value(attributeValue);
1026    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1027}
1028
1029//
1030// interface IXMLDOMElement wrapper method implementations
1031//
1032
1033inline _bstr_t IXMLDOMElement::GettagName ( ) {
1034    BSTR _result = 0;
1035    HRESULT _hr = get_tagName(&_result);
1036    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1037    return _bstr_t(_result, false);
1038}
1039
1040inline _variant_t IXMLDOMElement::getAttribute ( _bstr_t name ) {
1041    VARIANT _result;
1042    VariantInit(&_result);
1043    HRESULT _hr = raw_getAttribute(name, &_result);
1044    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1045    return _variant_t(_result, false);
1046}
1047
1048inline HRESULT IXMLDOMElement::setAttribute ( _bstr_t name, const _variant_t & value ) {
1049    HRESULT _hr = raw_setAttribute(name, value);
1050    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1051    return _hr;
1052}
1053
1054inline HRESULT IXMLDOMElement::removeAttribute ( _bstr_t name ) {
1055    HRESULT _hr = raw_removeAttribute(name);
1056    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1057    return _hr;
1058}
1059
1060inline IXMLDOMAttributePtr IXMLDOMElement::getAttributeNode ( _bstr_t name ) {
1061    struct IXMLDOMAttribute * _result = 0;
1062    HRESULT _hr = raw_getAttributeNode(name, &_result);
1063    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1064    return IXMLDOMAttributePtr(_result, false);
1065}
1066
1067inline IXMLDOMAttributePtr IXMLDOMElement::setAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
1068    struct IXMLDOMAttribute * _result = 0;
1069    HRESULT _hr = raw_setAttributeNode(DOMAttribute, &_result);
1070    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1071    return IXMLDOMAttributePtr(_result, false);
1072}
1073
1074inline IXMLDOMAttributePtr IXMLDOMElement::removeAttributeNode ( struct IXMLDOMAttribute * DOMAttribute ) {
1075    struct IXMLDOMAttribute * _result = 0;
1076    HRESULT _hr = raw_removeAttributeNode(DOMAttribute, &_result);
1077    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1078    return IXMLDOMAttributePtr(_result, false);
1079}
1080
1081inline IXMLDOMNodeListPtr IXMLDOMElement::getElementsByTagName ( _bstr_t tagName ) {
1082    struct IXMLDOMNodeList * _result = 0;
1083    HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
1084    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1085    return IXMLDOMNodeListPtr(_result, false);
1086}
1087
1088inline HRESULT IXMLDOMElement::normalize ( ) {
1089    HRESULT _hr = raw_normalize();
1090    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1091    return _hr;
1092}
1093
1094//
1095// interface IXMLDOMCharacterData wrapper method implementations
1096//
1097
1098inline _bstr_t IXMLDOMCharacterData::Getdata ( ) {
1099    BSTR _result = 0;
1100    HRESULT _hr = get_data(&_result);
1101    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1102    return _bstr_t(_result, false);
1103}
1104
1105inline void IXMLDOMCharacterData::Putdata ( _bstr_t data ) {
1106    HRESULT _hr = put_data(data);
1107    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1108}
1109
1110inline long IXMLDOMCharacterData::Getlength ( ) {
1111    long _result = 0;
1112    HRESULT _hr = get_length(&_result);
1113    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1114    return _result;
1115}
1116
1117inline _bstr_t IXMLDOMCharacterData::substringData ( long offset, long count ) {
1118    BSTR _result = 0;
1119    HRESULT _hr = raw_substringData(offset, count, &_result);
1120    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1121    return _bstr_t(_result, false);
1122}
1123
1124inline HRESULT IXMLDOMCharacterData::appendData ( _bstr_t data ) {
1125    HRESULT _hr = raw_appendData(data);
1126    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1127    return _hr;
1128}
1129
1130inline HRESULT IXMLDOMCharacterData::insertData ( long offset, _bstr_t data ) {
1131    HRESULT _hr = raw_insertData(offset, data);
1132    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1133    return _hr;
1134}
1135
1136inline HRESULT IXMLDOMCharacterData::deleteData ( long offset, long count ) {
1137    HRESULT _hr = raw_deleteData(offset, count);
1138    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1139    return _hr;
1140}
1141
1142inline HRESULT IXMLDOMCharacterData::replaceData ( long offset, long count, _bstr_t data ) {
1143    HRESULT _hr = raw_replaceData(offset, count, data);
1144    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1145    return _hr;
1146}
1147
1148//
1149// interface IXMLDOMText wrapper method implementations
1150//
1151
1152inline IXMLDOMTextPtr IXMLDOMText::splitText ( long offset ) {
1153    struct IXMLDOMText * _result = 0;
1154    HRESULT _hr = raw_splitText(offset, &_result);
1155    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1156    return IXMLDOMTextPtr(_result, false);
1157}
1158
1159//
1160// interface IXMLDOMProcessingInstruction wrapper method implementations
1161//
1162
1163inline _bstr_t IXMLDOMProcessingInstruction::Gettarget ( ) {
1164    BSTR _result = 0;
1165    HRESULT _hr = get_target(&_result);
1166    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1167    return _bstr_t(_result, false);
1168}
1169
1170inline _bstr_t IXMLDOMProcessingInstruction::Getdata ( ) {
1171    BSTR _result = 0;
1172    HRESULT _hr = get_data(&_result);
1173    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1174    return _bstr_t(_result, false);
1175}
1176
1177inline void IXMLDOMProcessingInstruction::Putdata ( _bstr_t value ) {
1178    HRESULT _hr = put_data(value);
1179    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1180}
1181
1182//
1183// interface IXMLDOMDocument wrapper method implementations
1184//
1185
1186inline IXMLDOMDocumentTypePtr IXMLDOMDocument::Getdoctype ( ) {
1187    struct IXMLDOMDocumentType * _result = 0;
1188    HRESULT _hr = get_doctype(&_result);
1189    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1190    return IXMLDOMDocumentTypePtr(_result, false);
1191}
1192
1193inline IXMLDOMImplementationPtr IXMLDOMDocument::Getimplementation ( ) {
1194    struct IXMLDOMImplementation * _result = 0;
1195    HRESULT _hr = get_implementation(&_result);
1196    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1197    return IXMLDOMImplementationPtr(_result, false);
1198}
1199
1200inline IXMLDOMElementPtr IXMLDOMDocument::GetdocumentElement ( ) {
1201    struct IXMLDOMElement * _result = 0;
1202    HRESULT _hr = get_documentElement(&_result);
1203    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1204    return IXMLDOMElementPtr(_result, false);
1205}
1206
1207inline void IXMLDOMDocument::PutRefdocumentElement ( struct IXMLDOMElement * DOMElement ) {
1208    HRESULT _hr = putref_documentElement(DOMElement);
1209    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1210}
1211
1212inline IXMLDOMElementPtr IXMLDOMDocument::createElement ( _bstr_t tagName ) {
1213    struct IXMLDOMElement * _result = 0;
1214    HRESULT _hr = raw_createElement(tagName, &_result);
1215    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1216    return IXMLDOMElementPtr(_result, false);
1217}
1218
1219inline IXMLDOMDocumentFragmentPtr IXMLDOMDocument::createDocumentFragment ( ) {
1220    struct IXMLDOMDocumentFragment * _result = 0;
1221    HRESULT _hr = raw_createDocumentFragment(&_result);
1222    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1223    return IXMLDOMDocumentFragmentPtr(_result, false);
1224}
1225
1226inline IXMLDOMTextPtr IXMLDOMDocument::createTextNode ( _bstr_t data ) {
1227    struct IXMLDOMText * _result = 0;
1228    HRESULT _hr = raw_createTextNode(data, &_result);
1229    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1230    return IXMLDOMTextPtr(_result, false);
1231}
1232
1233inline IXMLDOMCommentPtr IXMLDOMDocument::createComment ( _bstr_t data ) {
1234    struct IXMLDOMComment * _result = 0;
1235    HRESULT _hr = raw_createComment(data, &_result);
1236    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1237    return IXMLDOMCommentPtr(_result, false);
1238}
1239
1240inline IXMLDOMCDATASectionPtr IXMLDOMDocument::createCDATASection ( _bstr_t data ) {
1241    struct IXMLDOMCDATASection * _result = 0;
1242    HRESULT _hr = raw_createCDATASection(data, &_result);
1243    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1244    return IXMLDOMCDATASectionPtr(_result, false);
1245}
1246
1247inline IXMLDOMProcessingInstructionPtr IXMLDOMDocument::createProcessingInstruction ( _bstr_t target, _bstr_t data ) {
1248    struct IXMLDOMProcessingInstruction * _result = 0;
1249    HRESULT _hr = raw_createProcessingInstruction(target, data, &_result);
1250    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1251    return IXMLDOMProcessingInstructionPtr(_result, false);
1252}
1253
1254inline IXMLDOMAttributePtr IXMLDOMDocument::createAttribute ( _bstr_t name ) {
1255    struct IXMLDOMAttribute * _result = 0;
1256    HRESULT _hr = raw_createAttribute(name, &_result);
1257    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1258    return IXMLDOMAttributePtr(_result, false);
1259}
1260
1261inline IXMLDOMEntityReferencePtr IXMLDOMDocument::createEntityReference ( _bstr_t name ) {
1262    struct IXMLDOMEntityReference * _result = 0;
1263    HRESULT _hr = raw_createEntityReference(name, &_result);
1264    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1265    return IXMLDOMEntityReferencePtr(_result, false);
1266}
1267
1268inline IXMLDOMNodeListPtr IXMLDOMDocument::getElementsByTagName ( _bstr_t tagName ) {
1269    struct IXMLDOMNodeList * _result = 0;
1270    HRESULT _hr = raw_getElementsByTagName(tagName, &_result);
1271    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1272    return IXMLDOMNodeListPtr(_result, false);
1273}
1274
1275inline IXMLDOMNodePtr IXMLDOMDocument::createNode ( const _variant_t & type, _bstr_t name, _bstr_t namespaceURI ) {
1276    struct IXMLDOMNode * _result = 0;
1277    HRESULT _hr = raw_createNode(type, name, namespaceURI, &_result);
1278    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1279    return IXMLDOMNodePtr(_result, false);
1280}
1281
1282inline IXMLDOMNodePtr IXMLDOMDocument::nodeFromID ( _bstr_t idString ) {
1283    struct IXMLDOMNode * _result = 0;
1284    HRESULT _hr = raw_nodeFromID(idString, &_result);
1285    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1286    return IXMLDOMNodePtr(_result, false);
1287}
1288
1289inline VARIANT_BOOL IXMLDOMDocument::load ( const _variant_t & xmlSource ) {
1290    VARIANT_BOOL _result = 0;
1291    HRESULT _hr = raw_load(xmlSource, &_result);
1292    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1293    return _result;
1294}
1295
1296inline long IXMLDOMDocument::GetreadyState ( ) {
1297    long _result = 0;
1298    HRESULT _hr = get_readyState(&_result);
1299    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1300    return _result;
1301}
1302
1303inline IXMLDOMParseErrorPtr IXMLDOMDocument::GetparseError ( ) {
1304    struct IXMLDOMParseError * _result = 0;
1305    HRESULT _hr = get_parseError(&_result);
1306    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1307    return IXMLDOMParseErrorPtr(_result, false);
1308}
1309
1310inline _bstr_t IXMLDOMDocument::Geturl ( ) {
1311    BSTR _result = 0;
1312    HRESULT _hr = get_url(&_result);
1313    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1314    return _bstr_t(_result, false);
1315}
1316
1317inline VARIANT_BOOL IXMLDOMDocument::Getasync ( ) {
1318    VARIANT_BOOL _result = 0;
1319    HRESULT _hr = get_async(&_result);
1320    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1321    return _result;
1322}
1323
1324inline void IXMLDOMDocument::Putasync ( VARIANT_BOOL isAsync ) {
1325    HRESULT _hr = put_async(isAsync);
1326    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1327}
1328
1329inline HRESULT IXMLDOMDocument::abort ( ) {
1330    HRESULT _hr = raw_abort();
1331    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1332    return _hr;
1333}
1334
1335inline VARIANT_BOOL IXMLDOMDocument::loadXML ( _bstr_t bstrXML ) {
1336    VARIANT_BOOL _result = 0;
1337    HRESULT _hr = raw_loadXML(bstrXML, &_result);
1338    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1339    return _result;
1340}
1341
1342inline HRESULT IXMLDOMDocument::save ( const _variant_t & destination ) {
1343    HRESULT _hr = raw_save(destination);
1344    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1345    return _hr;
1346}
1347
1348inline VARIANT_BOOL IXMLDOMDocument::GetvalidateOnParse ( ) {
1349    VARIANT_BOOL _result = 0;
1350    HRESULT _hr = get_validateOnParse(&_result);
1351    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1352    return _result;
1353}
1354
1355inline void IXMLDOMDocument::PutvalidateOnParse ( VARIANT_BOOL isValidating ) {
1356    HRESULT _hr = put_validateOnParse(isValidating);
1357    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1358}
1359
1360inline VARIANT_BOOL IXMLDOMDocument::GetresolveExternals ( ) {
1361    VARIANT_BOOL _result = 0;
1362    HRESULT _hr = get_resolveExternals(&_result);
1363    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1364    return _result;
1365}
1366
1367inline void IXMLDOMDocument::PutresolveExternals ( VARIANT_BOOL isResolving ) {
1368    HRESULT _hr = put_resolveExternals(isResolving);
1369    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1370}
1371
1372inline VARIANT_BOOL IXMLDOMDocument::GetpreserveWhiteSpace ( ) {
1373    VARIANT_BOOL _result = 0;
1374    HRESULT _hr = get_preserveWhiteSpace(&_result);
1375    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1376    return _result;
1377}
1378
1379inline void IXMLDOMDocument::PutpreserveWhiteSpace ( VARIANT_BOOL isPreserving ) {
1380    HRESULT _hr = put_preserveWhiteSpace(isPreserving);
1381    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1382}
1383
1384inline void IXMLDOMDocument::Putonreadystatechange ( const _variant_t & _arg1 ) {
1385    HRESULT _hr = put_onreadystatechange(_arg1);
1386    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1387}
1388
1389inline void IXMLDOMDocument::Putondataavailable ( const _variant_t & _arg1 ) {
1390    HRESULT _hr = put_ondataavailable(_arg1);
1391    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1392}
1393
1394inline void IXMLDOMDocument::Putontransformnode ( const _variant_t & _arg1 ) {
1395    HRESULT _hr = put_ontransformnode(_arg1);
1396    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1397}
1398
1399//
1400// interface IXMLDOMNotation wrapper method implementations
1401//
1402
1403inline _variant_t IXMLDOMNotation::GetpublicId ( ) {
1404    VARIANT _result;
1405    VariantInit(&_result);
1406    HRESULT _hr = get_publicId(&_result);
1407    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1408    return _variant_t(_result, false);
1409}
1410
1411inline _variant_t IXMLDOMNotation::GetsystemId ( ) {
1412    VARIANT _result;
1413    VariantInit(&_result);
1414    HRESULT _hr = get_systemId(&_result);
1415    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1416    return _variant_t(_result, false);
1417}
1418
1419//
1420// interface IXMLDOMEntity wrapper method implementations
1421//
1422
1423inline _variant_t IXMLDOMEntity::GetpublicId ( ) {
1424    VARIANT _result;
1425    VariantInit(&_result);
1426    HRESULT _hr = get_publicId(&_result);
1427    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1428    return _variant_t(_result, false);
1429}
1430
1431inline _variant_t IXMLDOMEntity::GetsystemId ( ) {
1432    VARIANT _result;
1433    VariantInit(&_result);
1434    HRESULT _hr = get_systemId(&_result);
1435    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1436    return _variant_t(_result, false);
1437}
1438
1439inline _bstr_t IXMLDOMEntity::GetnotationName ( ) {
1440    BSTR _result = 0;
1441    HRESULT _hr = get_notationName(&_result);
1442    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1443    return _bstr_t(_result, false);
1444}
1445
1446//
1447// interface IXTLRuntime wrapper method implementations
1448//
1449
1450inline long IXTLRuntime::uniqueID ( struct IXMLDOMNode * pNode ) {
1451    long _result = 0;
1452    HRESULT _hr = raw_uniqueID(pNode, &_result);
1453    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1454    return _result;
1455}
1456
1457inline long IXTLRuntime::depth ( struct IXMLDOMNode * pNode ) {
1458    long _result = 0;
1459    HRESULT _hr = raw_depth(pNode, &_result);
1460    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1461    return _result;
1462}
1463
1464inline long IXTLRuntime::childNumber ( struct IXMLDOMNode * pNode ) {
1465    long _result = 0;
1466    HRESULT _hr = raw_childNumber(pNode, &_result);
1467    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1468    return _result;
1469}
1470
1471inline long IXTLRuntime::ancestorChildNumber ( _bstr_t bstrNodeName, struct IXMLDOMNode * pNode ) {
1472    long _result = 0;
1473    HRESULT _hr = raw_ancestorChildNumber(bstrNodeName, pNode, &_result);
1474    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1475    return _result;
1476}
1477
1478inline long IXTLRuntime::absoluteChildNumber ( struct IXMLDOMNode * pNode ) {
1479    long _result = 0;
1480    HRESULT _hr = raw_absoluteChildNumber(pNode, &_result);
1481    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1482    return _result;
1483}
1484
1485inline _bstr_t IXTLRuntime::formatIndex ( long lIndex, _bstr_t bstrFormat ) {
1486    BSTR _result = 0;
1487    HRESULT _hr = raw_formatIndex(lIndex, bstrFormat, &_result);
1488    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1489    return _bstr_t(_result, false);
1490}
1491
1492inline _bstr_t IXTLRuntime::formatNumber ( double dblNumber, _bstr_t bstrFormat ) {
1493    BSTR _result = 0;
1494    HRESULT _hr = raw_formatNumber(dblNumber, bstrFormat, &_result);
1495    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1496    return _bstr_t(_result, false);
1497}
1498
1499inline _bstr_t IXTLRuntime::formatDate ( const _variant_t & varDate, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
1500    BSTR _result = 0;
1501    HRESULT _hr = raw_formatDate(varDate, bstrFormat, varDestLocale, &_result);
1502    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1503    return _bstr_t(_result, false);
1504}
1505
1506inline _bstr_t IXTLRuntime::formatTime ( const _variant_t & varTime, _bstr_t bstrFormat, const _variant_t & varDestLocale ) {
1507    BSTR _result = 0;
1508    HRESULT _hr = raw_formatTime(varTime, bstrFormat, varDestLocale, &_result);
1509    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1510    return _bstr_t(_result, false);
1511}
1512
1513//
1514// interface IXMLDSOControl wrapper method implementations
1515//
1516
1517inline IXMLDOMDocumentPtr IXMLDSOControl::GetXMLDocument ( ) {
1518    struct IXMLDOMDocument * _result = 0;
1519    HRESULT _hr = get_XMLDocument(&_result);
1520    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1521    return IXMLDOMDocumentPtr(_result, false);
1522}
1523
1524inline void IXMLDSOControl::PutXMLDocument ( struct IXMLDOMDocument * ppDoc ) {
1525    HRESULT _hr = put_XMLDocument(ppDoc);
1526    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1527}
1528
1529inline long IXMLDSOControl::GetJavaDSOCompatible ( ) {
1530    long _result = 0;
1531    HRESULT _hr = get_JavaDSOCompatible(&_result);
1532    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1533    return _result;
1534}
1535
1536inline void IXMLDSOControl::PutJavaDSOCompatible ( long fJavaDSOCompatible ) {
1537    HRESULT _hr = put_JavaDSOCompatible(fJavaDSOCompatible);
1538    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1539}
1540
1541inline long IXMLDSOControl::GetreadyState ( ) {
1542    long _result = 0;
1543    HRESULT _hr = get_readyState(&_result);
1544    if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
1545    return _result;
1546}
Note: See TracBrowser for help on using the repository browser.