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 sets the input method to be used; call this method if an IStreammethod 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::Runagain 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