Share via


Windows Media Player 11 SDK IWMPControls2::stepĀ 

Windows Media Player SDK banner art

Previous Next

IWMPControls2::step

The step method causes the current video media item to freeze playback on the next frame or the previous frame.

Syntax

  

Parameters

lStep

[in]  long indicating how many frames to step before freezing. Must be set to 1 or -1.

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.

Remarks

This method currently only supports the parameters 1 or -1, so you can only step one frame at a time.

Windows Media Player 10 Mobile: This method always returns E_INVALIDARG.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next