IMDSPDeviceControl::Pause method (mswmdm.h)
The Pause method pauses the current play or record session at the current position within the content.
Syntax
HRESULT Pause();
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The device is already paused. |
|
The pause function is not implemented on this device. |
|
An unspecified error occurred. |
Remarks
The current play or record session is paused and the current file position is saved. A subsequent call to the Resume method restarts the play or record operation at the saved file position.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |