Skip to content

Latest commit

 

History

History
98 lines (57 loc) · 2.42 KB

wmplibiwmpcontrols2-iwmpcontrols2-step--vb-and-c.md

File metadata and controls

98 lines (57 loc) · 2.42 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date ms.custom
IWMPControls2 step method
The step method causes the current video media item to step to the next frame or the previous frame and freeze playback.
c5cb720f-527f-45b6-ae8a-4da0e3e34618
step method Windows Media Player
step method Windows Media Player , IWMPControls2 interface
IWMPControls2 interface Windows Media Player , step method
apiref
IWMPControls2.step
Interop.WMPLib.dll
COM
reference
4/26/2023
UpdateFrequency5

IWMPControls2::step method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

Syntax

public void step(
  System.Int32 lStep
);
Public Sub step( _
  ByVal lStep As System.Int32 _
)
Implements IWMPControls2.step

Parameters

lStep [in]

A System.Int32 value indicating how many frames to step before freezing. Must be set to 1 or -1.

Return value

This method does not return a value.

Remarks

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

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPControls2 Interface (VB and C#)

IWMPDVD Interface (VB and C#)