Windows Media Player 11 SDK IWMPControls::get_currentPositionĀ 

Windows Media Player SDK banner art

Previous Next

IWMPControls::get_currentPosition

The get_currentPosition method retrieves the current position in the media item in seconds from the beginning.

Syntax

  

Parameters

pdCurrentPosition

[out]  Pointer to a 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