Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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