msxml3: Explicitly use NULL_tid to terminate support error id arrays.
This commit is contained in:
parent
ea919d9de4
commit
6a7bf66b29
@ -53,7 +53,7 @@ typedef struct _domattr
|
|||||||
static const tid_t domattr_se_tids[] = {
|
static const tid_t domattr_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMAttribute_tid,
|
IXMLDOMAttribute_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline domattr *impl_from_IXMLDOMAttribute( IXMLDOMAttribute *iface )
|
static inline domattr *impl_from_IXMLDOMAttribute( IXMLDOMAttribute *iface )
|
||||||
|
@ -52,7 +52,7 @@ typedef struct
|
|||||||
static const tid_t domcdata_se_tids[] = {
|
static const tid_t domcdata_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMCDATASection_tid,
|
IXMLDOMCDATASection_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline domcdata *impl_from_IXMLDOMCDATASection( IXMLDOMCDATASection *iface )
|
static inline domcdata *impl_from_IXMLDOMCDATASection( IXMLDOMCDATASection *iface )
|
||||||
|
@ -52,7 +52,7 @@ typedef struct _domcomment
|
|||||||
static const tid_t domcomment_se_tids[] = {
|
static const tid_t domcomment_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMComment_tid,
|
IXMLDOMComment_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline domcomment *impl_from_IXMLDOMComment( IXMLDOMComment *iface )
|
static inline domcomment *impl_from_IXMLDOMComment( IXMLDOMComment *iface )
|
||||||
|
@ -52,7 +52,7 @@ typedef struct _domfrag
|
|||||||
static const tid_t domfrag_se_tids[] = {
|
static const tid_t domfrag_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMDocumentFragment_tid,
|
IXMLDOMDocumentFragment_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline domfrag *impl_from_IXMLDOMDocumentFragment( IXMLDOMDocumentFragment *iface )
|
static inline domfrag *impl_from_IXMLDOMDocumentFragment( IXMLDOMDocumentFragment *iface )
|
||||||
|
@ -859,7 +859,7 @@ static const tid_t domdoc_se_tids[] = {
|
|||||||
IXMLDOMDocument_tid,
|
IXMLDOMDocument_tid,
|
||||||
IXMLDOMDocument2_tid,
|
IXMLDOMDocument2_tid,
|
||||||
IXMLDOMDocument3_tid,
|
IXMLDOMDocument3_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument3 *iface, REFIID riid, void** ppvObject )
|
static HRESULT WINAPI domdoc_QueryInterface( IXMLDOMDocument3 *iface, REFIID riid, void** ppvObject )
|
||||||
|
@ -58,7 +58,7 @@ static const struct nodemap_funcs domelem_attr_map;
|
|||||||
static const tid_t domelem_se_tids[] = {
|
static const tid_t domelem_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMElement_tid,
|
IXMLDOMElement_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline domelem *impl_from_IXMLDOMElement( IXMLDOMElement *iface )
|
static inline domelem *impl_from_IXMLDOMElement( IXMLDOMElement *iface )
|
||||||
|
@ -52,7 +52,7 @@ typedef struct _entityref
|
|||||||
static const tid_t domentityref_se_tids[] = {
|
static const tid_t domentityref_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMEntityReference_tid,
|
IXMLDOMEntityReference_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline entityref *impl_from_IXMLDOMEntityReference( IXMLDOMEntityReference *iface )
|
static inline entityref *impl_from_IXMLDOMEntityReference( IXMLDOMEntityReference *iface )
|
||||||
|
@ -150,7 +150,7 @@ static HRESULT WINAPI SupportErrorInfo_InterfaceSupportsErrorInfo(ISupportErrorI
|
|||||||
TRACE("(%p)->(%s)\n", This, debugstr_guid(riid));
|
TRACE("(%p)->(%s)\n", This, debugstr_guid(riid));
|
||||||
|
|
||||||
tid = This->iids;
|
tid = This->iids;
|
||||||
while (*tid)
|
while (*tid != NULL_tid)
|
||||||
{
|
{
|
||||||
if (IsEqualGUID(riid, get_riid_from_tid(*tid)))
|
if (IsEqualGUID(riid, get_riid_from_tid(*tid)))
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
@ -54,7 +54,7 @@ static const struct nodemap_funcs dom_pi_attr_map;
|
|||||||
static const tid_t dompi_se_tids[] = {
|
static const tid_t dompi_se_tids[] = {
|
||||||
IXMLDOMNode_tid,
|
IXMLDOMNode_tid,
|
||||||
IXMLDOMProcessingInstruction_tid,
|
IXMLDOMProcessingInstruction_tid,
|
||||||
0
|
NULL_tid
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline dom_pi *impl_from_IXMLDOMProcessingInstruction( IXMLDOMProcessingInstruction *iface )
|
static inline dom_pi *impl_from_IXMLDOMProcessingInstruction( IXMLDOMProcessingInstruction *iface )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user