Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This method gets the current state of the parser.

Syntax

HRESULT GetParserState (void);

Parameters

None.

Return Value

This method returns one of the values from the XML_PARSER_STATEenumeration indicating the state of the parser. See the XML_PARSER_STATEenumeration for more details.

If the parser found an error, this takes precedence over subsequent calls to IXMLNodeSource::Abortor IXMLParser::Suspend; the parser will still return XMLPARSER_ERROR in this case. Also, if parsing was aborted, this action takes precedence over IXMLParser::Suspend; the parser will still return XMLPARSER_STOPPED even though it is also suspended.

Requirements

Header xmlparser.h
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also