ISAXDTDHandler::notationDecl Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method receives notification of a notation declaration event. It is the responsibility of the application to record the notation for later reference. If a system identifier is present and it is a URL, the reader must resolve it fully before passing it to the application.

Syntax

HRESULT notationDecl(
  const wchar_t* pwchName, 
  int cchName, 
  const wchar_t* pwchPublicId, 
  int cchPublicId,
  const wchar_t* pwchSystemId,
  int cchSystemId
);

Parameters

  • pwchName
    [in] Pointer to the notation's name.
  • cchName
    [in] Length of the notation.
  • pwchPublicId
    [in] Pointer to the notation's public identifier or NULL (if none was given).
  • cchPublicId
    [in] Length of the public identifier.
  • pwchSystemId
    [in] Pointer to the notation's system identifier or NULL (if none was given).
  • cchSystemId
    [in] Length of the system identifier.

Return Value

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

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

ISAXDTDHandler::unparsedEntityDecl Method
ISAXDTDHandler