Partager via


ISAXEntityResolver::resolveEntity Method (Compact 2013)

3/26/2014

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

See Also

Reference

ISAXEntityResolver