Previous | Next |
The Pause method pauses the current play or record session at the current position within the content.
Syntax
HRESULT Pause();
Parameters
This method takes no parameters.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
S_FALSE | The device is already paused. |
WMDM_E_NOTSUPPORTED | The pause function is not implemented on this device. |
E_FAIL | An unspecified error occurred. |
Remarks
The current playback or record session is paused and the current file position is retained. A subsequent call to the Resume method restarts the play or record operation at the retained file position.
See Also
Previous | Next |