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[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMAttribute_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline domattr *impl_from_IXMLDOMAttribute( IXMLDOMAttribute *iface )
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct
|
|||
static const tid_t domcdata_se_tids[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMCDATASection_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline domcdata *impl_from_IXMLDOMCDATASection( IXMLDOMCDATASection *iface )
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct _domcomment
|
|||
static const tid_t domcomment_se_tids[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMComment_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline domcomment *impl_from_IXMLDOMComment( IXMLDOMComment *iface )
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct _domfrag
|
|||
static const tid_t domfrag_se_tids[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMDocumentFragment_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline domfrag *impl_from_IXMLDOMDocumentFragment( IXMLDOMDocumentFragment *iface )
|
||||
|
|
|
@ -859,7 +859,7 @@ static const tid_t domdoc_se_tids[] = {
|
|||
IXMLDOMDocument_tid,
|
||||
IXMLDOMDocument2_tid,
|
||||
IXMLDOMDocument3_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
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[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMElement_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline domelem *impl_from_IXMLDOMElement( IXMLDOMElement *iface )
|
||||
|
|
|
@ -52,7 +52,7 @@ typedef struct _entityref
|
|||
static const tid_t domentityref_se_tids[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMEntityReference_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
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));
|
||||
|
||||
tid = This->iids;
|
||||
while (*tid)
|
||||
while (*tid != NULL_tid)
|
||||
{
|
||||
if (IsEqualGUID(riid, get_riid_from_tid(*tid)))
|
||||
return S_OK;
|
||||
|
|
|
@ -54,7 +54,7 @@ static const struct nodemap_funcs dom_pi_attr_map;
|
|||
static const tid_t dompi_se_tids[] = {
|
||||
IXMLDOMNode_tid,
|
||||
IXMLDOMProcessingInstruction_tid,
|
||||
0
|
||||
NULL_tid
|
||||
};
|
||||
|
||||
static inline dom_pi *impl_from_IXMLDOMProcessingInstruction( IXMLDOMProcessingInstruction *iface )
|
||||
|
|
Loading…
Reference in New Issue