Partager via


IPAT::ConvertNextToCurrent

 
Microsoft DirectShow 9.0

IPAT::ConvertNextToCurrent

The ConvertNextToCurrent method converts a next table to a current table.

Syntax

  HRESULT ConvertNextToCurrent();

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Return code Description
E_ACCESSDENIED This table is already current.
E_INVALIDARG The RegisterForWhenCurrent method was not called.
MPEG2_E_MALFORMED_TABLE The new current table is malformed.
S_OK The method succeeded.

Remarks

This method applies only to next tables that have become current. Before calling this method, call IPAT::RegisterForWhenCurrent and wait for the event to be signaled.

Requirements

Header: Include Mpeg2PsiParser.h.

See Also