Windows Media Player 11 SDK IWMPControls::put_currentPosition 

Windows Media Player SDK banner art

Previous Next

IWMPControls::put_currentPosition

The put_currentPosition method specifies the current position in the media item in seconds from the beginning.

Syntax

  
    HRESULT put_currentPosition(
  double  dCurrentPosition
);

Parameters

dCurrentPosition

[in]  double containing the current position.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next