Compartilhar via


ISAXEntityResolver::resolveEntity Method

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method allows the parser to resolve external entities. It is not called in the current SAX2 implementation.

Syntax

HRESULT resolveEntity(
  const wchar_t* pwchPublicId,
  const wchar_t* pwchSystemId,
  VARIANT* pvarInput
);

Parameters

  • pwchPublicId
    [in] Pointer to the public identifier of the external entity being referenced or NULL (if there is none).
  • pwchSystemId
    [in] Pointer to the system identifier of the external entity being referenced.
  • pvarInput
    [out, retval] Pointer to the returned text of the entity. Acceptable input types are the same as for the parse method.

Return Value

  • S_OK
    Returned if no errors are reported.
  • E_FAIL
    Returned if the parse operation 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

ISAXEntityResolver