IPMT::ConvertNextToCurrent Method

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

Syntax

HRESULT ConvertNextToCurrent();

Parameters

This method has no parameters.

Return Value

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 IPMT::RegisterForWhenCurrent and wait for the event to be signaled.

Requirements

Header Declared in Mpeg2PsiParser.h.

See Also

IPMT Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008