Commit bd87b496 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msxml3: Change long to LONG in msxml2.idl and xmldom.idl.

parent 43046481
...@@ -517,7 +517,7 @@ static HRESULT WINAPI domcdata_put_data( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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) ...@@ -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 ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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 ...@@ -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;
......
...@@ -519,7 +519,7 @@ static HRESULT WINAPI domtext_put_data( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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( ...@@ -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 ...@@ -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 ...@@ -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) ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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) ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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) ...@@ -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 ...@@ -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 ...@@ -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) ...@@ -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) ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment