IXpsPartIterator::Current method (filterpipeline.h)

The Current method provides the current URI and part.

Syntax

HRESULT Current(
  [out] BSTR     *pUri,
  [out] IUnknown **ppXpsPart
);

Parameters

[out] pUri

A pointer to the URI of the part. If NULL, the ppXpsPartparameter might still be valid.

[out] ppXpsPart

The current part in the iterator. If NULL, the pUri parameter might still be valid.

Return value

Current returns an HRESULT value.

Remarks

Filters should call the IXpsPartIterator::IsDone method before calling Current. One or both parameters can be NULL.

Requirements

Requirement Value
Target Platform Desktop
Header filterpipeline.h