msxml3: Change long to LONG in msxml2.idl and xmldom.idl.
This commit is contained in:
parent
43046481f7
commit
bd87b49614
|
@ -517,7 +517,7 @@ static HRESULT WINAPI domcdata_put_data(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_get_length(
|
static HRESULT WINAPI domcdata_get_length(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long *len)
|
LONG *len)
|
||||||
{
|
{
|
||||||
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -543,7 +543,7 @@ static HRESULT WINAPI domcdata_get_length(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_substringData(
|
static HRESULT WINAPI domcdata_substringData(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long offset, long count, BSTR *p)
|
LONG offset, LONG count, BSTR *p)
|
||||||
{
|
{
|
||||||
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -618,7 +618,7 @@ static HRESULT WINAPI domcdata_appendData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_insertData(
|
static HRESULT WINAPI domcdata_insertData(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long offset, BSTR p)
|
LONG offset, BSTR p)
|
||||||
{
|
{
|
||||||
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
domcdata *This = impl_from_IXMLDOMCDATASection( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -688,7 +688,7 @@ static HRESULT WINAPI domcdata_insertData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_deleteData(
|
static HRESULT WINAPI domcdata_deleteData(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long offset, long count)
|
LONG offset, LONG count)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -696,7 +696,7 @@ static HRESULT WINAPI domcdata_deleteData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_replaceData(
|
static HRESULT WINAPI domcdata_replaceData(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long offset, long count, BSTR p)
|
LONG offset, LONG count, BSTR p)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -704,7 +704,7 @@ static HRESULT WINAPI domcdata_replaceData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcdata_splitText(
|
static HRESULT WINAPI domcdata_splitText(
|
||||||
IXMLDOMCDATASection *iface,
|
IXMLDOMCDATASection *iface,
|
||||||
long offset, IXMLDOMText **txtNode)
|
LONG offset, IXMLDOMText **txtNode)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -511,7 +511,7 @@ static HRESULT WINAPI domcomment_put_data(
|
||||||
|
|
||||||
static HRESULT WINAPI domcomment_get_length(
|
static HRESULT WINAPI domcomment_get_length(
|
||||||
IXMLDOMComment *iface,
|
IXMLDOMComment *iface,
|
||||||
long *len)
|
LONG *len)
|
||||||
{
|
{
|
||||||
domcomment *This = impl_from_IXMLDOMComment( iface );
|
domcomment *This = impl_from_IXMLDOMComment( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -537,7 +537,7 @@ static HRESULT WINAPI domcomment_get_length(
|
||||||
|
|
||||||
static HRESULT WINAPI domcomment_substringData(
|
static HRESULT WINAPI domcomment_substringData(
|
||||||
IXMLDOMComment *iface,
|
IXMLDOMComment *iface,
|
||||||
long offset, long count, BSTR *p)
|
LONG offset, LONG count, BSTR *p)
|
||||||
{
|
{
|
||||||
domcomment *This = impl_from_IXMLDOMComment( iface );
|
domcomment *This = impl_from_IXMLDOMComment( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -626,7 +626,7 @@ static HRESULT WINAPI domcomment_appendData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcomment_insertData(
|
static HRESULT WINAPI domcomment_insertData(
|
||||||
IXMLDOMComment *iface,
|
IXMLDOMComment *iface,
|
||||||
long offset, BSTR p)
|
LONG offset, BSTR p)
|
||||||
{
|
{
|
||||||
domcomment *This = impl_from_IXMLDOMComment( iface );
|
domcomment *This = impl_from_IXMLDOMComment( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -696,7 +696,7 @@ static HRESULT WINAPI domcomment_insertData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcomment_deleteData(
|
static HRESULT WINAPI domcomment_deleteData(
|
||||||
IXMLDOMComment *iface,
|
IXMLDOMComment *iface,
|
||||||
long offset, long count)
|
LONG offset, LONG count)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -704,7 +704,7 @@ static HRESULT WINAPI domcomment_deleteData(
|
||||||
|
|
||||||
static HRESULT WINAPI domcomment_replaceData(
|
static HRESULT WINAPI domcomment_replaceData(
|
||||||
IXMLDOMComment *iface,
|
IXMLDOMComment *iface,
|
||||||
long offset, long count, BSTR p)
|
LONG offset, LONG count, BSTR p)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -1521,7 +1521,7 @@ static HRESULT WINAPI domdoc_load(
|
||||||
|
|
||||||
static HRESULT WINAPI domdoc_get_readyState(
|
static HRESULT WINAPI domdoc_get_readyState(
|
||||||
IXMLDOMDocument2 *iface,
|
IXMLDOMDocument2 *iface,
|
||||||
long* value )
|
LONG *value )
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -213,7 +213,7 @@ static HRESULT WINAPI httprequest_abort(IXMLHTTPRequest *iface)
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI httprequest_get_status(IXMLHTTPRequest *iface, long *plStatus)
|
static HRESULT WINAPI httprequest_get_status(IXMLHTTPRequest *iface, LONG *plStatus)
|
||||||
{
|
{
|
||||||
httprequest *This = impl_from_IXMLHTTPRequest( iface );
|
httprequest *This = impl_from_IXMLHTTPRequest( iface );
|
||||||
|
|
||||||
|
@ -267,7 +267,7 @@ static HRESULT WINAPI httprequest_get_responseStream(IXMLHTTPRequest *iface, VAR
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI httprequest_get_readyState(IXMLHTTPRequest *iface, long *plState)
|
static HRESULT WINAPI httprequest_get_readyState(IXMLHTTPRequest *iface, LONG *plState)
|
||||||
{
|
{
|
||||||
httprequest *This = impl_from_IXMLHTTPRequest( iface );
|
httprequest *This = impl_from_IXMLHTTPRequest( iface );
|
||||||
|
|
||||||
|
|
|
@ -198,14 +198,14 @@ static HRESULT WINAPI xmlnodelist_Invoke(
|
||||||
|
|
||||||
static HRESULT WINAPI xmlnodelist_get_item(
|
static HRESULT WINAPI xmlnodelist_get_item(
|
||||||
IXMLDOMNodeList* iface,
|
IXMLDOMNodeList* iface,
|
||||||
long index,
|
LONG index,
|
||||||
IXMLDOMNode** listItem)
|
IXMLDOMNode** listItem)
|
||||||
{
|
{
|
||||||
xmlnodelist *This = impl_from_IXMLDOMNodeList( iface );
|
xmlnodelist *This = impl_from_IXMLDOMNodeList( iface );
|
||||||
xmlNodePtr curr;
|
xmlNodePtr curr;
|
||||||
long nodeIndex = 0;
|
long nodeIndex = 0;
|
||||||
|
|
||||||
TRACE("%p %ld\n", This, index);
|
TRACE("%p %d\n", This, index);
|
||||||
|
|
||||||
if(!listItem)
|
if(!listItem)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
@ -230,7 +230,7 @@ static HRESULT WINAPI xmlnodelist_get_item(
|
||||||
|
|
||||||
static HRESULT WINAPI xmlnodelist_get_length(
|
static HRESULT WINAPI xmlnodelist_get_length(
|
||||||
IXMLDOMNodeList* iface,
|
IXMLDOMNodeList* iface,
|
||||||
long* listLength)
|
LONG* listLength)
|
||||||
{
|
{
|
||||||
|
|
||||||
xmlNodePtr curr;
|
xmlNodePtr curr;
|
||||||
|
|
|
@ -329,7 +329,7 @@ static HRESULT WINAPI xmlnodemap_removeNamedItem(
|
||||||
|
|
||||||
static HRESULT WINAPI xmlnodemap_get_item(
|
static HRESULT WINAPI xmlnodemap_get_item(
|
||||||
IXMLDOMNamedNodeMap *iface,
|
IXMLDOMNamedNodeMap *iface,
|
||||||
long index,
|
LONG index,
|
||||||
IXMLDOMNode** listItem)
|
IXMLDOMNode** listItem)
|
||||||
{
|
{
|
||||||
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
|
xmlnodemap *This = impl_from_IXMLDOMNamedNodeMap( iface );
|
||||||
|
@ -337,7 +337,7 @@ static HRESULT WINAPI xmlnodemap_get_item(
|
||||||
xmlAttrPtr curr;
|
xmlAttrPtr curr;
|
||||||
long attrIndex;
|
long attrIndex;
|
||||||
|
|
||||||
TRACE("%p %ld\n", This, index);
|
TRACE("%p %d\n", This, index);
|
||||||
|
|
||||||
*listItem = NULL;
|
*listItem = NULL;
|
||||||
|
|
||||||
|
@ -361,7 +361,7 @@ static HRESULT WINAPI xmlnodemap_get_item(
|
||||||
|
|
||||||
static HRESULT WINAPI xmlnodemap_get_length(
|
static HRESULT WINAPI xmlnodemap_get_length(
|
||||||
IXMLDOMNamedNodeMap *iface,
|
IXMLDOMNamedNodeMap *iface,
|
||||||
long* listLength)
|
LONG *listLength)
|
||||||
{
|
{
|
||||||
xmlNodePtr node;
|
xmlNodePtr node;
|
||||||
xmlAttrPtr first;
|
xmlAttrPtr first;
|
||||||
|
|
|
@ -191,7 +191,7 @@ static HRESULT WINAPI parseError_Invoke(
|
||||||
|
|
||||||
static HRESULT WINAPI parseError_get_errorCode(
|
static HRESULT WINAPI parseError_get_errorCode(
|
||||||
IXMLDOMParseError *iface,
|
IXMLDOMParseError *iface,
|
||||||
long *code )
|
LONG *code )
|
||||||
{
|
{
|
||||||
parse_error_t *This = impl_from_IXMLDOMParseError( iface );
|
parse_error_t *This = impl_from_IXMLDOMParseError( iface );
|
||||||
TRACE("(%p)->(%p)\n", This, code);
|
TRACE("(%p)->(%p)\n", This, code);
|
||||||
|
@ -238,7 +238,7 @@ static HRESULT WINAPI parseError_get_srcText(
|
||||||
|
|
||||||
static HRESULT WINAPI parseError_get_line(
|
static HRESULT WINAPI parseError_get_line(
|
||||||
IXMLDOMParseError *iface,
|
IXMLDOMParseError *iface,
|
||||||
long *line )
|
LONG *line )
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -246,7 +246,7 @@ static HRESULT WINAPI parseError_get_line(
|
||||||
|
|
||||||
static HRESULT WINAPI parseError_get_linepos(
|
static HRESULT WINAPI parseError_get_linepos(
|
||||||
IXMLDOMParseError *iface,
|
IXMLDOMParseError *iface,
|
||||||
long *linepos )
|
LONG *linepos )
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -254,7 +254,7 @@ static HRESULT WINAPI parseError_get_linepos(
|
||||||
|
|
||||||
static HRESULT WINAPI parseError_get_filepos(
|
static HRESULT WINAPI parseError_get_filepos(
|
||||||
IXMLDOMParseError *iface,
|
IXMLDOMParseError *iface,
|
||||||
long *filepos )
|
LONG *filepos )
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -212,12 +212,12 @@ static HRESULT WINAPI queryresult_Invoke(
|
||||||
|
|
||||||
static HRESULT WINAPI queryresult_get_item(
|
static HRESULT WINAPI queryresult_get_item(
|
||||||
IXMLDOMNodeList* iface,
|
IXMLDOMNodeList* iface,
|
||||||
long index,
|
LONG index,
|
||||||
IXMLDOMNode** listItem)
|
IXMLDOMNode** listItem)
|
||||||
{
|
{
|
||||||
queryresult *This = impl_from_IXMLDOMNodeList( iface );
|
queryresult *This = impl_from_IXMLDOMNodeList( iface );
|
||||||
|
|
||||||
TRACE("%p %ld\n", This, index);
|
TRACE("%p %d\n", This, index);
|
||||||
|
|
||||||
if(!listItem)
|
if(!listItem)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
@ -235,7 +235,7 @@ static HRESULT WINAPI queryresult_get_item(
|
||||||
|
|
||||||
static HRESULT WINAPI queryresult_get_length(
|
static HRESULT WINAPI queryresult_get_length(
|
||||||
IXMLDOMNodeList* iface,
|
IXMLDOMNodeList* iface,
|
||||||
long* listLength)
|
LONG* listLength)
|
||||||
{
|
{
|
||||||
queryresult *This = impl_from_IXMLDOMNodeList( iface );
|
queryresult *This = impl_from_IXMLDOMNodeList( iface );
|
||||||
|
|
||||||
|
|
|
@ -189,13 +189,13 @@ static HRESULT WINAPI schema_cache_remove( IXMLDOMSchemaCollection *iface, BSTR
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI schema_cache_get_length( IXMLDOMSchemaCollection *iface, long *length )
|
static HRESULT WINAPI schema_cache_get_length( IXMLDOMSchemaCollection *iface, LONG *length )
|
||||||
{
|
{
|
||||||
FIXME("stub\n");
|
FIXME("stub\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI schema_cache_get_namespaceURI( IXMLDOMSchemaCollection *iface, long index, BSTR *len )
|
static HRESULT WINAPI schema_cache_get_namespaceURI( IXMLDOMSchemaCollection *iface, LONG index, BSTR *len )
|
||||||
{
|
{
|
||||||
FIXME("stub\n");
|
FIXME("stub\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -376,7 +376,7 @@ static char *list_to_string(IXMLDOMNodeList *list)
|
||||||
{
|
{
|
||||||
static char buf[4096];
|
static char buf[4096];
|
||||||
char *pos = buf;
|
char *pos = buf;
|
||||||
long len = 0;
|
LONG len = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (list == NULL)
|
if (list == NULL)
|
||||||
|
@ -418,8 +418,8 @@ static void test_domdoc( void )
|
||||||
VARIANT_BOOL b;
|
VARIANT_BOOL b;
|
||||||
VARIANT var;
|
VARIANT var;
|
||||||
BSTR str;
|
BSTR str;
|
||||||
long code;
|
LONG code;
|
||||||
long nLength = 0;
|
LONG nLength = 0;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -571,7 +571,7 @@ static void test_domdoc( void )
|
||||||
|
|
||||||
r = IXMLDOMParseError_get_errorCode( error, &code );
|
r = IXMLDOMParseError_get_errorCode( error, &code );
|
||||||
ok( r == S_FALSE, "returns %08x\n", r );
|
ok( r == S_FALSE, "returns %08x\n", r );
|
||||||
ok( code == 0, "code %ld\n", code );
|
ok( code == 0, "code %d\n", code );
|
||||||
IXMLDOMParseError_Release( error );
|
IXMLDOMParseError_Release( error );
|
||||||
|
|
||||||
/* test createTextNode */
|
/* test createTextNode */
|
||||||
|
@ -618,7 +618,7 @@ static void test_domdoc( void )
|
||||||
|
|
||||||
r = IXMLDOMText_get_length(nodetext, &nLength);
|
r = IXMLDOMText_get_length(nodetext, &nLength);
|
||||||
ok(r == S_OK, "ret %08x\n", r );
|
ok(r == S_OK, "ret %08x\n", r );
|
||||||
ok(nLength == 4, "expected 4 got %ld\n", nLength);
|
ok(nLength == 4, "expected 4 got %d\n", nLength);
|
||||||
|
|
||||||
/* test nodeTypeString */
|
/* test nodeTypeString */
|
||||||
r = IXMLDOMText_get_nodeTypeString(nodetext, &str);
|
r = IXMLDOMText_get_nodeTypeString(nodetext, &str);
|
||||||
|
@ -909,7 +909,7 @@ static void test_domnode( void )
|
||||||
VARIANT_BOOL b;
|
VARIANT_BOOL b;
|
||||||
BSTR str;
|
BSTR str;
|
||||||
VARIANT var;
|
VARIANT var;
|
||||||
long count;
|
LONG count;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -1244,7 +1244,7 @@ todo_wine
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_length( list, &count );
|
r = IXMLDOMNodeList_get_length( list, &count );
|
||||||
ok( r == S_OK, "get_length returns %08x\n", r );
|
ok( r == S_OK, "get_length returns %08x\n", r );
|
||||||
ok( count == 4, "get_length got %ld\n", count );
|
ok( count == 4, "get_length got %d\n", count );
|
||||||
|
|
||||||
r = IXMLDOMNodeList_nextNode(list, NULL);
|
r = IXMLDOMNodeList_nextNode(list, NULL);
|
||||||
ok(r == E_INVALIDARG, "Exected E_INVALIDARG got %08x\n", r);
|
ok(r == E_INVALIDARG, "Exected E_INVALIDARG got %08x\n", r);
|
||||||
|
@ -1439,7 +1439,7 @@ static void test_create(void)
|
||||||
IXMLDOMNamedNodeMap *attr_map;
|
IXMLDOMNamedNodeMap *attr_map;
|
||||||
IUnknown *unk;
|
IUnknown *unk;
|
||||||
LONG ref;
|
LONG ref;
|
||||||
long num;
|
LONG num;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -1536,7 +1536,7 @@ static void test_create(void)
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
ok( num == 0, "num %ld\n", num );
|
ok( num == 0, "num %d\n", num );
|
||||||
IXMLDOMNamedNodeMap_Release( attr_map );
|
IXMLDOMNamedNodeMap_Release( attr_map );
|
||||||
|
|
||||||
V_VT(&var) = VT_BSTR;
|
V_VT(&var) = VT_BSTR;
|
||||||
|
@ -1548,7 +1548,7 @@ static void test_create(void)
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
ok( num == 1, "num %ld\n", num );
|
ok( num == 1, "num %d\n", num );
|
||||||
IXMLDOMNamedNodeMap_Release( attr_map );
|
IXMLDOMNamedNodeMap_Release( attr_map );
|
||||||
VariantClear(&var);
|
VariantClear(&var);
|
||||||
|
|
||||||
|
@ -1560,7 +1560,7 @@ static void test_create(void)
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
ok( num == 1, "num %ld\n", num );
|
ok( num == 1, "num %d\n", num );
|
||||||
IXMLDOMNamedNodeMap_Release( attr_map );
|
IXMLDOMNamedNodeMap_Release( attr_map );
|
||||||
VariantClear(&var);
|
VariantClear(&var);
|
||||||
r = IXMLDOMElement_getAttribute( element, name, &var );
|
r = IXMLDOMElement_getAttribute( element, name, &var );
|
||||||
|
@ -1578,7 +1578,7 @@ static void test_create(void)
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
r = IXMLDOMNamedNodeMap_get_length( attr_map, &num );
|
||||||
ok( r == S_OK, "returns %08x\n", r );
|
ok( r == S_OK, "returns %08x\n", r );
|
||||||
ok( num == 2, "num %ld\n", num );
|
ok( num == 2, "num %d\n", num );
|
||||||
IXMLDOMNamedNodeMap_Release( attr_map );
|
IXMLDOMNamedNodeMap_Release( attr_map );
|
||||||
VariantClear(&var);
|
VariantClear(&var);
|
||||||
SysFreeString(name);
|
SysFreeString(name);
|
||||||
|
@ -1626,7 +1626,7 @@ static void test_getElementsByTagName(void)
|
||||||
IXMLDOMDocument *doc;
|
IXMLDOMDocument *doc;
|
||||||
IXMLDOMNodeList *node_list;
|
IXMLDOMNodeList *node_list;
|
||||||
IDispatchEx *dispex;
|
IDispatchEx *dispex;
|
||||||
long len;
|
LONG len;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -1644,7 +1644,7 @@ static void test_getElementsByTagName(void)
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 6, "len %ld\n", len );
|
ok( len == 6, "len %d\n", len );
|
||||||
|
|
||||||
r = IXMLDOMNodeList_QueryInterface( node_list, &IID_IDispatchEx, (void**)&dispex );
|
r = IXMLDOMNodeList_QueryInterface( node_list, &IID_IDispatchEx, (void**)&dispex );
|
||||||
ok( r == S_OK, "rets %08x\n", r);
|
ok( r == S_OK, "rets %08x\n", r);
|
||||||
|
@ -1692,7 +1692,7 @@ static void test_getElementsByTagName(void)
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 1, "len %ld\n", len );
|
ok( len == 1, "len %d\n", len );
|
||||||
IXMLDOMNodeList_Release( node_list );
|
IXMLDOMNodeList_Release( node_list );
|
||||||
SysFreeString( str );
|
SysFreeString( str );
|
||||||
|
|
||||||
|
@ -1701,7 +1701,7 @@ static void test_getElementsByTagName(void)
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 0, "len %ld\n", len );
|
ok( len == 0, "len %d\n", len );
|
||||||
IXMLDOMNodeList_Release( node_list );
|
IXMLDOMNodeList_Release( node_list );
|
||||||
SysFreeString( str );
|
SysFreeString( str );
|
||||||
|
|
||||||
|
@ -1710,7 +1710,7 @@ static void test_getElementsByTagName(void)
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 0, "len %ld\n", len );
|
ok( len == 0, "len %d\n", len );
|
||||||
IXMLDOMNodeList_Release( node_list );
|
IXMLDOMNodeList_Release( node_list );
|
||||||
SysFreeString( str );
|
SysFreeString( str );
|
||||||
|
|
||||||
|
@ -1727,7 +1727,7 @@ static void test_get_text(void)
|
||||||
IXMLDOMNode *nodeRoot;
|
IXMLDOMNode *nodeRoot;
|
||||||
IXMLDOMNodeList *node_list;
|
IXMLDOMNodeList *node_list;
|
||||||
IXMLDOMNamedNodeMap *node_map;
|
IXMLDOMNamedNodeMap *node_map;
|
||||||
long len;
|
LONG len;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -1769,7 +1769,7 @@ static void test_get_text(void)
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 1, "expect 1 got %ld\n", len );
|
ok( len == 1, "expect 1 got %d\n", len );
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_item( node_list, 0, NULL );
|
r = IXMLDOMNodeList_get_item( node_list, 0, NULL );
|
||||||
ok( r == E_INVALIDARG, "ret %08x\n", r );
|
ok( r == E_INVALIDARG, "ret %08x\n", r );
|
||||||
|
@ -1828,7 +1828,7 @@ static void test_get_childNodes(void)
|
||||||
IXMLDOMElement *element;
|
IXMLDOMElement *element;
|
||||||
IXMLDOMNode *node, *node2;
|
IXMLDOMNode *node, *node2;
|
||||||
IXMLDOMNodeList *node_list, *node_list2;
|
IXMLDOMNodeList *node_list, *node_list2;
|
||||||
long len;
|
LONG len;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -1849,7 +1849,7 @@ static void test_get_childNodes(void)
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_length( node_list, &len );
|
r = IXMLDOMNodeList_get_length( node_list, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 4, "len %ld\n", len);
|
ok( len == 4, "len %d\n", len);
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_item( node_list, 2, &node );
|
r = IXMLDOMNodeList_get_item( node_list, 2, &node );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
|
@ -1859,7 +1859,7 @@ static void test_get_childNodes(void)
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_length( node_list2, &len );
|
r = IXMLDOMNodeList_get_length( node_list2, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 0, "len %ld\n", len);
|
ok( len == 0, "len %d\n", len);
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_item( node_list2, 0, &node2);
|
r = IXMLDOMNodeList_get_item( node_list2, 0, &node2);
|
||||||
ok( r == S_FALSE, "ret %08x\n", r);
|
ok( r == S_FALSE, "ret %08x\n", r);
|
||||||
|
@ -1968,7 +1968,7 @@ static void test_replaceChild(void)
|
||||||
IXMLDOMNode *fo_node, *ba_node, *lc_node, *removed_node, *temp_node;
|
IXMLDOMNode *fo_node, *ba_node, *lc_node, *removed_node, *temp_node;
|
||||||
IXMLDOMNodeList *root_list, *fo_list;
|
IXMLDOMNodeList *root_list, *fo_list;
|
||||||
IUnknown * unk1, *unk2;
|
IUnknown * unk1, *unk2;
|
||||||
long len;
|
LONG len;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument, (LPVOID*)&doc );
|
||||||
|
@ -2056,7 +2056,7 @@ static void test_replaceChild(void)
|
||||||
|
|
||||||
r = IXMLDOMNodeList_get_length( fo_list, &len);
|
r = IXMLDOMNodeList_get_length( fo_list, &len);
|
||||||
ok( r == S_OK, "ret %08x\n", r );
|
ok( r == S_OK, "ret %08x\n", r );
|
||||||
ok( len == 0, "len %ld\n", len);
|
ok( len == 0, "len %d\n", len);
|
||||||
|
|
||||||
IXMLDOMNodeList_Release( fo_list );
|
IXMLDOMNodeList_Release( fo_list );
|
||||||
|
|
||||||
|
@ -2077,7 +2077,7 @@ static void test_removeNamedItem(void)
|
||||||
IXMLDOMNamedNodeMap * pr_attrs;
|
IXMLDOMNamedNodeMap * pr_attrs;
|
||||||
VARIANT_BOOL b;
|
VARIANT_BOOL b;
|
||||||
BSTR str;
|
BSTR str;
|
||||||
long len;
|
LONG len;
|
||||||
HRESULT r;
|
HRESULT r;
|
||||||
|
|
||||||
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
r = CoCreateInstance( &CLSID_DOMDocument, NULL,
|
||||||
|
@ -2105,7 +2105,7 @@ static void test_removeNamedItem(void)
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 3, "length %ld\n", len);
|
ok( len == 3, "length %d\n", len);
|
||||||
|
|
||||||
removed_node = (void*)0xdeadbeef;
|
removed_node = (void*)0xdeadbeef;
|
||||||
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, NULL, &removed_node);
|
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, NULL, &removed_node);
|
||||||
|
@ -2124,7 +2124,7 @@ static void test_removeNamedItem(void)
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 2, "length %ld\n", len);
|
ok( len == 2, "length %d\n", len);
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_setNamedItem( pr_attrs, removed_node, NULL);
|
r = IXMLDOMNamedNodeMap_setNamedItem( pr_attrs, removed_node, NULL);
|
||||||
ok ( r == S_OK, "ret %08x\n", r);
|
ok ( r == S_OK, "ret %08x\n", r);
|
||||||
|
@ -2132,14 +2132,14 @@ static void test_removeNamedItem(void)
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 3, "length %ld\n", len);
|
ok( len == 3, "length %d\n", len);
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, str, NULL);
|
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, str, NULL);
|
||||||
ok ( r == S_OK, "ret %08x\n", r);
|
ok ( r == S_OK, "ret %08x\n", r);
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
r = IXMLDOMNamedNodeMap_get_length( pr_attrs, &len );
|
||||||
ok( r == S_OK, "ret %08x\n", r);
|
ok( r == S_OK, "ret %08x\n", r);
|
||||||
ok( len == 2, "length %ld\n", len);
|
ok( len == 2, "length %d\n", len);
|
||||||
|
|
||||||
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, str, NULL);
|
r = IXMLDOMNamedNodeMap_removeNamedItem( pr_attrs, str, NULL);
|
||||||
ok ( r == S_FALSE, "ret %08x\n", r);
|
ok ( r == S_FALSE, "ret %08x\n", r);
|
||||||
|
@ -2400,8 +2400,8 @@ static void test_cloneNode(void )
|
||||||
VARIANT_BOOL b;
|
VARIANT_BOOL b;
|
||||||
IXMLDOMNodeList *pList;
|
IXMLDOMNodeList *pList;
|
||||||
IXMLDOMNamedNodeMap *mapAttr;
|
IXMLDOMNamedNodeMap *mapAttr;
|
||||||
long nLength = 0, nLength1 = 0;
|
LONG nLength = 0, nLength1 = 0;
|
||||||
long nAttrCnt = 0, nAttrCnt1 = 0;
|
LONG nAttrCnt = 0, nAttrCnt1 = 0;
|
||||||
IXMLDOMNode *node;
|
IXMLDOMNode *node;
|
||||||
IXMLDOMNode *node_clone;
|
IXMLDOMNode *node_clone;
|
||||||
IXMLDOMNode *node_first;
|
IXMLDOMNode *node_first;
|
||||||
|
@ -2495,8 +2495,8 @@ static void test_cloneNode(void )
|
||||||
IXMLDOMNamedNodeMap_Release(mapAttr);
|
IXMLDOMNamedNodeMap_Release(mapAttr);
|
||||||
}
|
}
|
||||||
|
|
||||||
ok(nLength == nLength1, "wrong Child count (%ld, %ld)\n", nLength, nLength1);
|
ok(nLength == nLength1, "wrong Child count (%d, %d)\n", nLength, nLength1);
|
||||||
ok(nAttrCnt == nAttrCnt1, "wrong Attribute count (%ld, %ld)\n", nAttrCnt, nAttrCnt1);
|
ok(nAttrCnt == nAttrCnt1, "wrong Attribute count (%d, %d)\n", nAttrCnt, nAttrCnt1);
|
||||||
IXMLDOMNode_Release(node_clone);
|
IXMLDOMNode_Release(node_clone);
|
||||||
|
|
||||||
/* No Children */
|
/* No Children */
|
||||||
|
@ -2530,7 +2530,7 @@ static void test_cloneNode(void )
|
||||||
if (pList)
|
if (pList)
|
||||||
{
|
{
|
||||||
IXMLDOMNodeList_get_length(pList, &nLength1);
|
IXMLDOMNodeList_get_length(pList, &nLength1);
|
||||||
ok( nLength1 == 0, "Length should be 0 (%ld)\n", nLength1);
|
ok( nLength1 == 0, "Length should be 0 (%d)\n", nLength1);
|
||||||
IXMLDOMNodeList_Release(pList);
|
IXMLDOMNodeList_Release(pList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2539,12 +2539,12 @@ static void test_cloneNode(void )
|
||||||
if(mapAttr)
|
if(mapAttr)
|
||||||
{
|
{
|
||||||
IXMLDOMNamedNodeMap_get_length(mapAttr, &nAttrCnt1);
|
IXMLDOMNamedNodeMap_get_length(mapAttr, &nAttrCnt1);
|
||||||
ok( nAttrCnt1 == 3, "Attribute count should be 3 (%ld)\n", nAttrCnt1);
|
ok( nAttrCnt1 == 3, "Attribute count should be 3 (%d)\n", nAttrCnt1);
|
||||||
IXMLDOMNamedNodeMap_Release(mapAttr);
|
IXMLDOMNamedNodeMap_Release(mapAttr);
|
||||||
}
|
}
|
||||||
|
|
||||||
ok(nLength != nLength1, "wrong Child count (%ld, %ld)\n", nLength, nLength1);
|
ok(nLength != nLength1, "wrong Child count (%d, %d)\n", nLength, nLength1);
|
||||||
ok(nAttrCnt == nAttrCnt1, "wrong Attribute count (%ld, %ld)\n", nAttrCnt, nAttrCnt1);
|
ok(nAttrCnt == nAttrCnt1, "wrong Attribute count (%d, %d)\n", nAttrCnt, nAttrCnt1);
|
||||||
IXMLDOMNode_Release(node_clone);
|
IXMLDOMNode_Release(node_clone);
|
||||||
|
|
||||||
|
|
||||||
|
@ -2568,7 +2568,7 @@ static void test_xmlTypes(void)
|
||||||
BSTR str;
|
BSTR str;
|
||||||
IXMLDOMNode *pNextChild = (IXMLDOMNode *)0x1; /* Used for testing Siblings */
|
IXMLDOMNode *pNextChild = (IXMLDOMNode *)0x1; /* Used for testing Siblings */
|
||||||
VARIANT v;
|
VARIANT v;
|
||||||
long len = 0;
|
LONG len = 0;
|
||||||
|
|
||||||
hr = CoCreateInstance( &CLSID_DOMDocument, NULL, CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument2, (LPVOID*)&doc );
|
hr = CoCreateInstance( &CLSID_DOMDocument, NULL, CLSCTX_INPROC_SERVER, &IID_IXMLDOMDocument2, (LPVOID*)&doc );
|
||||||
if( hr != S_OK )
|
if( hr != S_OK )
|
||||||
|
@ -2744,7 +2744,7 @@ static void test_xmlTypes(void)
|
||||||
/* test length property */
|
/* test length property */
|
||||||
hr = IXMLDOMComment_get_length(pComment, &len);
|
hr = IXMLDOMComment_get_length(pComment, &len);
|
||||||
ok(hr == S_OK, "ret %08x\n", hr );
|
ok(hr == S_OK, "ret %08x\n", hr );
|
||||||
ok(len == 21, "expected 21 got %ld\n", len);
|
ok(len == 21, "expected 21 got %d\n", len);
|
||||||
|
|
||||||
/* test substringData */
|
/* test substringData */
|
||||||
hr = IXMLDOMComment_substringData(pComment, 0, 4, NULL);
|
hr = IXMLDOMComment_substringData(pComment, 0, 4, NULL);
|
||||||
|
@ -3072,7 +3072,7 @@ static void test_xmlTypes(void)
|
||||||
/* test length property */
|
/* test length property */
|
||||||
hr = IXMLDOMCDATASection_get_length(pCDataSec, &len);
|
hr = IXMLDOMCDATASection_get_length(pCDataSec, &len);
|
||||||
ok(hr == S_OK, "ret %08x\n", hr );
|
ok(hr == S_OK, "ret %08x\n", hr );
|
||||||
ok(len == 21, "expected 21 got %ld\n", len);
|
ok(len == 21, "expected 21 got %d\n", len);
|
||||||
|
|
||||||
/* test get nodeValue */
|
/* test get nodeValue */
|
||||||
hr = IXMLDOMCDATASection_get_nodeValue(pCDataSec, &var);
|
hr = IXMLDOMCDATASection_get_nodeValue(pCDataSec, &var);
|
||||||
|
|
|
@ -519,7 +519,7 @@ static HRESULT WINAPI domtext_put_data(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_get_length(
|
static HRESULT WINAPI domtext_get_length(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long *len)
|
LONG *len)
|
||||||
{
|
{
|
||||||
domtext *This = impl_from_IXMLDOMText( iface );
|
domtext *This = impl_from_IXMLDOMText( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -545,7 +545,7 @@ static HRESULT WINAPI domtext_get_length(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_substringData(
|
static HRESULT WINAPI domtext_substringData(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long offset, long count, BSTR *p)
|
LONG offset, LONG count, BSTR *p)
|
||||||
{
|
{
|
||||||
domtext *This = impl_from_IXMLDOMText( iface );
|
domtext *This = impl_from_IXMLDOMText( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -620,7 +620,7 @@ static HRESULT WINAPI domtext_appendData(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_insertData(
|
static HRESULT WINAPI domtext_insertData(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long offset, BSTR p)
|
LONG offset, BSTR p)
|
||||||
{
|
{
|
||||||
domtext *This = impl_from_IXMLDOMText( iface );
|
domtext *This = impl_from_IXMLDOMText( iface );
|
||||||
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
xmlnode *pDOMNode = impl_from_IXMLDOMNode( This->node );
|
||||||
|
@ -690,7 +690,7 @@ static HRESULT WINAPI domtext_insertData(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_deleteData(
|
static HRESULT WINAPI domtext_deleteData(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long offset, long count)
|
LONG offset, LONG count)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -698,7 +698,7 @@ static HRESULT WINAPI domtext_deleteData(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_replaceData(
|
static HRESULT WINAPI domtext_replaceData(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long offset, long count, BSTR p)
|
LONG offset, LONG count, BSTR p)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
@ -706,7 +706,7 @@ static HRESULT WINAPI domtext_replaceData(
|
||||||
|
|
||||||
static HRESULT WINAPI domtext_splitText(
|
static HRESULT WINAPI domtext_splitText(
|
||||||
IXMLDOMText *iface,
|
IXMLDOMText *iface,
|
||||||
long offset, IXMLDOMText **txtNode)
|
LONG offset, IXMLDOMText **txtNode)
|
||||||
{
|
{
|
||||||
FIXME("\n");
|
FIXME("\n");
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
|
|
|
@ -327,7 +327,7 @@ interface IXMLDOMDocument : IXMLDOMNode
|
||||||
[retval, out] VARIANT_BOOL *pbool);
|
[retval, out] VARIANT_BOOL *pbool);
|
||||||
|
|
||||||
[propget, id(DISPID_READYSTATE)]
|
[propget, id(DISPID_READYSTATE)]
|
||||||
HRESULT readyState([retval, out] long *value);
|
HRESULT readyState([retval, out] LONG *value);
|
||||||
|
|
||||||
[propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
[propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
||||||
HRESULT parseError([retval, out] IXMLDOMParseError **err);
|
HRESULT parseError([retval, out] IXMLDOMParseError **err);
|
||||||
|
@ -404,10 +404,10 @@ interface IXMLDOMSchemaCollection : IDispatch
|
||||||
|
|
||||||
[propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
|
[propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
|
||||||
HRESULT length(
|
HRESULT length(
|
||||||
[retval, out] long *length);
|
[retval, out] LONG *length);
|
||||||
|
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT namespaceURI([in] long index, [out, retval] BSTR *len);
|
HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
|
[id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
|
||||||
HRESULT addCollection(
|
HRESULT addCollection(
|
||||||
|
@ -456,10 +456,10 @@ uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
|
||||||
interface IXMLDOMNodeList : IDispatch
|
interface IXMLDOMNodeList : IDispatch
|
||||||
{
|
{
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT item([in] long lIndex, [retval, out] IXMLDOMNode **outNode);
|
HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
||||||
HRESULT length([retval, out] long *lLength);
|
HRESULT length([retval, out] LONG *lLength);
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
[id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
||||||
HRESULT nextNode(
|
HRESULT nextNode(
|
||||||
|
@ -545,10 +545,10 @@ interface IXMLDOMNamedNodeMap : IDispatch
|
||||||
[retval, out] IXMLDOMNode **outNode);
|
[retval, out] IXMLDOMNode **outNode);
|
||||||
|
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT item([in] long lIndex, [retval, out] IXMLDOMNode **outNode);
|
HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
||||||
HRESULT length([retval, out] long *lLength);
|
HRESULT length([retval, out] LONG *lLength);
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
[id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
||||||
HRESULT getQualifiedItem(
|
HRESULT getQualifiedItem(
|
||||||
|
@ -596,12 +596,12 @@ interface IXMLDOMCharacterData : IXMLDOMNode
|
||||||
HRESULT data([in] BSTR data);
|
HRESULT data([in] BSTR data);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_DATA_LENGTH)]
|
[propget, id(DISPID_DOM_DATA_LENGTH)]
|
||||||
HRESULT length([retval, out] long *len);
|
HRESULT length([retval, out] LONG *len);
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_SUBSTRING)]
|
[id(DISPID_DOM_DATA_SUBSTRING)]
|
||||||
HRESULT substringData(
|
HRESULT substringData(
|
||||||
[in] long offset,
|
[in] LONG offset,
|
||||||
[in] long count,
|
[in] LONG count,
|
||||||
[retval, out] BSTR *p);
|
[retval, out] BSTR *p);
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_APPEND)]
|
[id(DISPID_DOM_DATA_APPEND)]
|
||||||
|
@ -610,18 +610,18 @@ interface IXMLDOMCharacterData : IXMLDOMNode
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_INSERT)]
|
[id(DISPID_DOM_DATA_INSERT)]
|
||||||
HRESULT insertData(
|
HRESULT insertData(
|
||||||
[in] long offset,
|
[in] LONG offset,
|
||||||
[in] BSTR p);
|
[in] BSTR p);
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_DELETE)]
|
[id(DISPID_DOM_DATA_DELETE)]
|
||||||
HRESULT deleteData(
|
HRESULT deleteData(
|
||||||
[in] long offset,
|
[in] LONG offset,
|
||||||
[in] long count);
|
[in] LONG count);
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_REPLACE)]
|
[id(DISPID_DOM_DATA_REPLACE)]
|
||||||
HRESULT replaceData(
|
HRESULT replaceData(
|
||||||
[in] long offset,
|
[in] LONG offset,
|
||||||
[in] long count,
|
[in] LONG count,
|
||||||
[in] BSTR p);
|
[in] BSTR p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -699,7 +699,7 @@ interface IXMLDOMText : IXMLDOMCharacterData
|
||||||
{
|
{
|
||||||
[id(DISPID_DOM_TEXT_SPLITTEXT)]
|
[id(DISPID_DOM_TEXT_SPLITTEXT)]
|
||||||
HRESULT splitText(
|
HRESULT splitText(
|
||||||
[in] long offset,
|
[in] LONG offset,
|
||||||
[retval, out] IXMLDOMText **txtNode);
|
[retval, out] IXMLDOMText **txtNode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -819,32 +819,32 @@ interface IXTLRuntime : IXMLDOMNode
|
||||||
[id(DISPID_XTLRUNTIME_UNIQUEID)]
|
[id(DISPID_XTLRUNTIME_UNIQUEID)]
|
||||||
HRESULT uniqueID(
|
HRESULT uniqueID(
|
||||||
[in]IXMLDOMNode *pNode,
|
[in]IXMLDOMNode *pNode,
|
||||||
[retval, out]long *pID);
|
[retval, out]LONG *pID);
|
||||||
|
|
||||||
[id(DISPID_XTLRUNTIME_DEPTH)]
|
[id(DISPID_XTLRUNTIME_DEPTH)]
|
||||||
HRESULT depth(
|
HRESULT depth(
|
||||||
[in] IXMLDOMNode *pNode,
|
[in] IXMLDOMNode *pNode,
|
||||||
[retval, out]long * pDepth);
|
[retval, out]LONG * pDepth);
|
||||||
|
|
||||||
[id(DISPID_XTLRUNTIME_CHILDNUMBER)]
|
[id(DISPID_XTLRUNTIME_CHILDNUMBER)]
|
||||||
HRESULT childNumber(
|
HRESULT childNumber(
|
||||||
[in]IXMLDOMNode *pNode,
|
[in]IXMLDOMNode *pNode,
|
||||||
[retval, out] long *pNumber);
|
[retval, out] LONG *pNumber);
|
||||||
|
|
||||||
[id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
|
[id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
|
||||||
HRESULT ancestorChildNumber(
|
HRESULT ancestorChildNumber(
|
||||||
[in]BSTR bstr,
|
[in]BSTR bstr,
|
||||||
[in]IXMLDOMNode *pNode,
|
[in]IXMLDOMNode *pNode,
|
||||||
[retval, out]long *pNumber);
|
[retval, out]LONG *pNumber);
|
||||||
|
|
||||||
[id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
|
[id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
|
||||||
HRESULT absoluteChildNumber(
|
HRESULT absoluteChildNumber(
|
||||||
[in]IXMLDOMNode *pNode,
|
[in]IXMLDOMNode *pNode,
|
||||||
[retval, out]long *pNumber);
|
[retval, out]LONG *pNumber);
|
||||||
|
|
||||||
[id(DISPID_XTLRUNTIME_FORMATINDEX)]
|
[id(DISPID_XTLRUNTIME_FORMATINDEX)]
|
||||||
HRESULT formatIndex(
|
HRESULT formatIndex(
|
||||||
[in] long lIndex,
|
[in] LONG lIndex,
|
||||||
[in] BSTR bstr,
|
[in] BSTR bstr,
|
||||||
[retval, out]BSTR *pbstr);
|
[retval, out]BSTR *pbstr);
|
||||||
|
|
||||||
|
@ -925,7 +925,7 @@ interface IXSLProcessor : IDispatch
|
||||||
HRESULT reset();
|
HRESULT reset();
|
||||||
|
|
||||||
[propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
|
[propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
|
||||||
HRESULT readyState([retval, out] long *pstate);
|
HRESULT readyState([retval, out] LONG *pstate);
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
|
[id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
|
||||||
HRESULT addParameter(
|
HRESULT addParameter(
|
||||||
|
@ -990,7 +990,7 @@ interface IXMLHTTPRequest : IDispatch
|
||||||
HRESULT abort();
|
HRESULT abort();
|
||||||
|
|
||||||
[propget, id(7)]
|
[propget, id(7)]
|
||||||
HRESULT status([out, retval] long *pStatus);
|
HRESULT status([out, retval] LONG *pStatus);
|
||||||
|
|
||||||
[propget, id(8)]
|
[propget, id(8)]
|
||||||
HRESULT statusText([out, retval] BSTR *pStatus);
|
HRESULT statusText([out, retval] BSTR *pStatus);
|
||||||
|
@ -1008,7 +1008,7 @@ interface IXMLHTTPRequest : IDispatch
|
||||||
HRESULT responseStream([out, retval] VARIANT *pBody);
|
HRESULT responseStream([out, retval] VARIANT *pBody);
|
||||||
|
|
||||||
[propget, id(13)]
|
[propget, id(13)]
|
||||||
HRESULT readyState([out, retval] long *pState);
|
HRESULT readyState([out, retval] LONG *pState);
|
||||||
|
|
||||||
[propput, id(14)]
|
[propput, id(14)]
|
||||||
HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
||||||
|
@ -1022,7 +1022,7 @@ uuid (3efaa426-272f-11d2-836f-0000f87a7782)
|
||||||
interface IXMLDOMParseError : IDispatch
|
interface IXMLDOMParseError : IDispatch
|
||||||
{
|
{
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT errorCode([retval, out] long *errCode);
|
HRESULT errorCode([retval, out] LONG *errCode);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_URL)]
|
[propget, id(DISPID_DOM_ERROR_URL)]
|
||||||
HRESULT url([retval, out] BSTR *p);
|
HRESULT url([retval, out] BSTR *p);
|
||||||
|
@ -1034,13 +1034,13 @@ interface IXMLDOMParseError : IDispatch
|
||||||
HRESULT srcText([retval, out] BSTR *p);
|
HRESULT srcText([retval, out] BSTR *p);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_LINE)]
|
[propget, id(DISPID_DOM_ERROR_LINE)]
|
||||||
HRESULT line([retval, out] long *lineNo);
|
HRESULT line([retval, out] LONG *lineNo);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
[propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
||||||
HRESULT linepos([retval, out] long * linePos);
|
HRESULT linepos([retval, out] LONG * linePos);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
[propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
||||||
HRESULT filepos([retval, out] long * filePos);
|
HRESULT filepos([retval, out] LONG * filePos);
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -1690,21 +1690,21 @@ interface IVBSAXErrorHandler : IDispatch
|
||||||
{
|
{
|
||||||
[id(DISPID_SAX_ERRORHANDLER_ERROR)]
|
[id(DISPID_SAX_ERRORHANDLER_ERROR)]
|
||||||
HRESULT error(
|
HRESULT error(
|
||||||
[in] IVBSAXLocator * locator,
|
[in] IVBSAXLocator * locator,
|
||||||
[in, out] BSTR * errorMessage,
|
[in, out] BSTR * errorMessage,
|
||||||
[in] long errorCode);
|
[in] LONG errorCode);
|
||||||
|
|
||||||
[id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
|
[id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
|
||||||
HRESULT fatalError(
|
HRESULT fatalError(
|
||||||
[in] IVBSAXLocator * locator,
|
[in] IVBSAXLocator * locator,
|
||||||
[in, out] BSTR * errorMessage,
|
[in, out] BSTR * errorMessage,
|
||||||
[in] long errorCode);
|
[in] LONG errorCode);
|
||||||
|
|
||||||
[id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
|
[id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
|
||||||
HRESULT ignorableWarning(
|
HRESULT ignorableWarning(
|
||||||
[in] IVBSAXLocator * locator,
|
[in] IVBSAXLocator * locator,
|
||||||
[in, out] BSTR * errorMessage,
|
[in, out] BSTR * errorMessage,
|
||||||
[in] long errorCode);
|
[in] LONG errorCode);
|
||||||
};
|
};
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
@ -264,7 +264,7 @@ interface IXMLDOMDocument : IXMLDOMNode
|
||||||
[out,retval] VARIANT_BOOL *isSuccessful );
|
[out,retval] VARIANT_BOOL *isSuccessful );
|
||||||
|
|
||||||
[propget, id(DISPID_READYSTATE)]
|
[propget, id(DISPID_READYSTATE)]
|
||||||
HRESULT readyState( [out,retval] long *value );
|
HRESULT readyState( [out,retval] LONG *value );
|
||||||
|
|
||||||
[propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
[propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
||||||
HRESULT parseError( [out,retval] IXMLDOMParseError **errorObj );
|
HRESULT parseError( [out,retval] IXMLDOMParseError **errorObj );
|
||||||
|
@ -330,11 +330,11 @@ pointer_default(unique)
|
||||||
interface IXMLDOMNodeList : IDispatch
|
interface IXMLDOMNodeList : IDispatch
|
||||||
{
|
{
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT item( [in] long index,
|
HRESULT item( [in] LONG index,
|
||||||
[out,retval] IXMLDOMNode **listItem );
|
[out,retval] IXMLDOMNode **listItem );
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
||||||
HRESULT length( [out,retval] long *listLength );
|
HRESULT length( [out,retval] LONG *listLength );
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
[id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
||||||
HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem );
|
HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem );
|
||||||
|
@ -371,11 +371,11 @@ interface IXMLDOMNamedNodeMap : IDispatch
|
||||||
[out,retval] IXMLDOMNode **namedItem );
|
[out,retval] IXMLDOMNode **namedItem );
|
||||||
|
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT item( [in] long index,
|
HRESULT item( [in] LONG index,
|
||||||
[out,retval] IXMLDOMNode **listItem );
|
[out,retval] IXMLDOMNode **listItem );
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
[propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
||||||
HRESULT length( [out,retval] long *listLength );
|
HRESULT length( [out,retval] LONG *listLength );
|
||||||
|
|
||||||
[id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
[id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
||||||
HRESULT getQualifiedItem( [in] BSTR baseName,
|
HRESULT getQualifiedItem( [in] BSTR baseName,
|
||||||
|
@ -431,27 +431,27 @@ interface IXMLDOMCharacterData : IXMLDOMNode
|
||||||
HRESULT data( [in] BSTR data );
|
HRESULT data( [in] BSTR data );
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_DATA_LENGTH)]
|
[propget, id(DISPID_DOM_DATA_LENGTH)]
|
||||||
HRESULT length( [out,retval] long *dataLength );
|
HRESULT length( [out,retval] LONG *dataLength );
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_SUBSTRING)]
|
[id(DISPID_DOM_DATA_SUBSTRING)]
|
||||||
HRESULT substringData( [in] long offset,
|
HRESULT substringData( [in] LONG offset,
|
||||||
[in] long count,
|
[in] LONG count,
|
||||||
[out,retval] BSTR *data );
|
[out,retval] BSTR *data );
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_APPEND)]
|
[id(DISPID_DOM_DATA_APPEND)]
|
||||||
HRESULT appendData( [in] BSTR data );
|
HRESULT appendData( [in] BSTR data );
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_INSERT)]
|
[id(DISPID_DOM_DATA_INSERT)]
|
||||||
HRESULT insertData( [in] long offset,
|
HRESULT insertData( [in] LONG offset,
|
||||||
[in] BSTR data );
|
[in] BSTR data );
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_DELETE)]
|
[id(DISPID_DOM_DATA_DELETE)]
|
||||||
HRESULT deleteData( [in] long offset,
|
HRESULT deleteData( [in] LONG offset,
|
||||||
[in] long count );
|
[in] LONG count );
|
||||||
|
|
||||||
[id(DISPID_DOM_DATA_REPLACE)]
|
[id(DISPID_DOM_DATA_REPLACE)]
|
||||||
HRESULT replaceData( [in] long offset,
|
HRESULT replaceData( [in] LONG offset,
|
||||||
[in] long count,
|
[in] LONG count,
|
||||||
[in] BSTR data );
|
[in] BSTR data );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -536,7 +536,7 @@ pointer_default(unique)
|
||||||
interface IXMLDOMText : IXMLDOMCharacterData
|
interface IXMLDOMText : IXMLDOMCharacterData
|
||||||
{
|
{
|
||||||
[id(DISPID_DOM_TEXT_SPLITTEXT)]
|
[id(DISPID_DOM_TEXT_SPLITTEXT)]
|
||||||
HRESULT splitText( [in] long offset,
|
HRESULT splitText( [in] LONG offset,
|
||||||
[out,retval] IXMLDOMText **rightHandTextNode );
|
[out,retval] IXMLDOMText **rightHandTextNode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -699,7 +699,7 @@ uuid (3efaa426-272f-11d2-836f-0000f87a7782)
|
||||||
interface IXMLDOMParseError : IDispatch
|
interface IXMLDOMParseError : IDispatch
|
||||||
{
|
{
|
||||||
[propget, id(DISPID_VALUE)]
|
[propget, id(DISPID_VALUE)]
|
||||||
HRESULT errorCode([retval, out] long *errCode);
|
HRESULT errorCode([retval, out] LONG *errCode);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_URL)]
|
[propget, id(DISPID_DOM_ERROR_URL)]
|
||||||
HRESULT url([retval, out] BSTR *p);
|
HRESULT url([retval, out] BSTR *p);
|
||||||
|
@ -711,13 +711,13 @@ interface IXMLDOMParseError : IDispatch
|
||||||
HRESULT srcText([retval, out] BSTR *p);
|
HRESULT srcText([retval, out] BSTR *p);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_LINE)]
|
[propget, id(DISPID_DOM_ERROR_LINE)]
|
||||||
HRESULT line([retval, out] long *lineNo);
|
HRESULT line([retval, out] LONG *lineNo);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
[propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
||||||
HRESULT linepos([retval, out] long * linePos);
|
HRESULT linepos([retval, out] LONG * linePos);
|
||||||
|
|
||||||
[propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
[propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
||||||
HRESULT filepos([retval, out] long * filePos);
|
HRESULT filepos([retval, out] LONG * filePos);
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -784,7 +784,7 @@ interface IXMLHttpRequest : IDispatch
|
||||||
HRESULT abort();
|
HRESULT abort();
|
||||||
|
|
||||||
[propget, id(7)]
|
[propget, id(7)]
|
||||||
HRESULT status([out, retval] long *plStatus);
|
HRESULT status([out, retval] LONG *plStatus);
|
||||||
|
|
||||||
[propget, id(8)]
|
[propget, id(8)]
|
||||||
HRESULT statusText([out, retval] BSTR *bstrStatus);
|
HRESULT statusText([out, retval] BSTR *bstrStatus);
|
||||||
|
@ -802,7 +802,7 @@ interface IXMLHttpRequest : IDispatch
|
||||||
HRESULT responseStream([out, retval] VARIANT *pvarBody);
|
HRESULT responseStream([out, retval] VARIANT *pvarBody);
|
||||||
|
|
||||||
[propget, id(13)]
|
[propget, id(13)]
|
||||||
HRESULT readyState([out, retval] long *plState);
|
HRESULT readyState([out, retval] LONG *plState);
|
||||||
|
|
||||||
[propput, id(14)]
|
[propput, id(14)]
|
||||||
HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
||||||
|
|
Loading…
Reference in New Issue