ISAXDTDHandler::unparsedEntityDecl Method (Windows Embedded CE 6.0)

1/6/2010

This method receives notification of an unparsed entity declaration event. The notation name corresponds to a notation reported by the notationDecl event. It is up to the application to record the entity for later reference, if necessary. If the system identifier is a URL, the reader must resolve it before passing it to the application.

Syntax

HRESULT unparsedEntityDecl(
  const wchar_t* pwchName, 
    int cchName, 
  const wchar_t* pwchPublicId, 
  int cchPublicId,
  const wchar_t* pwchSystemId,
  int cchSystemId,
  const wchar_t* pwchNotationName,
  int cchNotationName
);

Parameters

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

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

See Also

Reference

ISAXDTDHandler
ISAXDTDHandler::notationDecl Method