Share via


IXMLParser::SetInput

4/8/2010

This method sets the input method to be used; call this method if an IStream method containing XML already exists. If the stream returns E_PENDING, then the parser returns E_PENDING from IXMLParser::Run. The caller then must call IXMLParser::Run again when more data is available.

Syntax

HRESULT SetInput( 
  IUnknown * pStm
);

Parameters

  • pStm
    [in] Pointer to the stream containing the XML to be parsed.

Return Value

This function returns S_OK if the function is successful, otherwise an error code is returned.

Requirements

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

See Also

Reference

IXMLParser
IXMLParser::Run