Compartilhar via


ISAXXMLReader::putDTDHandler Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method allows an application to register a DTD handler.

Syntax

HRESULT putDTDHandler(
  ISAXDTDHandler* pHandler
);

Parameters

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

Return Value

  • S_OK
    Returned if the DTD handler is successfully registered.

Remarks

If the application does not register a DTD handler, all DTD events reported by the reader are 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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ISAXXMLReader::getDTDHandler Method
ISAXXMLReader