Share via


ISAXXMLReader::putContentHandler Method (Compact 2013)

3/26/2014

This method allows an application to register a content handler.

Syntax

HRESULT putContentHandler(
  ISAXContentHandler* pHandler
);

Parameters

  • pHandler
    [in] Pointer to the content handler to register.

Return Value

  • S_OK
    Returned if the content handler is successfully registered.

Remarks

If the application does not register a content handler, all content events reported by the reader will be ignored. An application can register a new or different handler while in the middle of parsing a document, and the reader will immediately start using the new handler.

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

ISAXXMLReader
ISAXXMLReader::getContentHandler Method