![]() |
| Previous | Next |
The Stop method stops the current play or record session.
Syntax
HRESULT Stop();
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 not currently playing or recording. |
| WMDM_E_NOTSUPPORTED | The stop function is not implemented on this device. |
| E_FAIL | An unspecified error occurred. |
See Also
| Previous | Next |