Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets the current playback rate.
Syntax
HRESULT SetPlaybackRate(
[in] double Rate
);
Parameters
[in] Rate
The playback rate, as a multiple of normal (1×) playback. A negative value indicates reverse playback.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This method corresponds to setting the playbackRate attribute of the HTMLMediaElement interface in HTML5.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfmediaengine.h |