Microsoft DirectX 8.1 (C++)

CPosPassThru::SetPositions

The SetPositions method sets the current position and the stop position. This method implements the IMediaSeeking::SetPositions method.

Syntax

HRESULT SetPositions(
    LONGLONG *pCurrent,
    DWORD dwCurrentFlags,
    LONGLONG *pStop,
    DWORD dwStopFlags
);

Parameters

pCurrent

Pointer to a variable that specifies the current position, in units of the current time format.

dwCurrentFlags

Bitwise combination of flags. See IMediaSeeking::SetPositions for more information.

pStop

Pointer to a variable that specifies the stop time, in units of the current time format.

dwStopFlags

Bitwise combination of flags. See IMediaSeeking::SetPositions for more information.

Return Value

Returns the HRESULT value from the connected pin.

See Also