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 |
|
|
|
|
|
reference |
4/26/2023 |
UpdateFrequency5 |
[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.
public void step(
System.Int32 lStep
);
Public Sub step( _
ByVal lStep As System.Int32 _
)
Implements IWMPControls2.step
-
lStep [in]
-
A System.Int32 value indicating how many frames to step before freezing. Must be set to 1 or -1.
This method does not return a value.
This method currently supports only the parameters 1 or -1, so you can only step one frame at a time.
Requirement | Value |
---|---|
Version |
Windows Media Player 9 Series or later |
Namespace |
WMPLib |
Assembly |
|