Compartir a través de


ISAXContentHandler::processingInstruction Method (Windows CE 5.0)

Send Feedback

This method receives notification of a processing instruction. The reader invokes the processingInstruction method once for each processing instruction found. Note that processing instructions can occur before or after the main document element.

HRESULT processingInstruction(const wchar_t* pwchTarget,intcchTarget,const wchar_t* pwchData,intcchData);

Parameters

  • pwchTarget
    [in] Pointer to the target for the processing instruction. The target is the first piece of the processing instruction. For example, (xml - stylesheet) is the target for the processing instruction, <?xml – stylesheet href="sample.css" type="text/css" title="Sample" ?>.
  • cchTarget
    [in] Length of the target string.
  • pwchData
    [in] Pointer to the processing instruction data or Null (if none is supplied).
  • cchData
    [in] Length of the processing instruction string.

Return Values

  • S_OK
    Returned if no errors occur.
  • E_FAIL
    Returned if the parse operation should be aborted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

See Also

ISAXContentHandler:IUnknown Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.