Share via


IMSVidPlayback::get_PositionMode Method

This topic applies to Windows XP or later.
The get_PositionMode method indicates how position values are interpreted by this interface.

Syntax

HRESULT get_PositionMode(
  [out]  PositionModeList *lPositionMode
);

Parameters

  • lPositionMode [out]
    Pointer to a variable that receives one of the following values.

    Value Description
    FrameMode Position values are specified as frame numbers.
    TenthsSecondsMode Position values are specified as hundredths of seconds.

Return Value

The method returns an HRESULT. Possible values include the following.

Return code Description

E_FAIL

Failure.

E_POINTER

NULL pointer argument.

ERROR_INVALID_STATE

The graph is not built. Call the Build or View method on the Video Control.

S_OK

The method succeeded.

Note  The value ERROR_INVALID_STATE is converted to an HRESULT with the HRESULT_FROM_WIN32 macro.

Remarks

The value returned by this method determines how the parameters are interpreted for the following methods:

Call the IMSVidCtl::Build or IMSVidCtl::View method before calling this method.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidPlayback Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008