IMDSPDeviceControl interface (mswmdm.h)
The IMDSPDeviceControl interface provides methods for controlling devices. After this interface is acquired from a specific instance of the IMDSPDevice interface, the control methods are used for remote control of streaming audio play, record, pause, stop, and seek operations on that device. Implementing this interface is optional. For more information, see Mandatory and Optional Interfaces.
The IMDSPDeviceControl interface methods support several modes of audio control, depending on the context in which they are used. That context is defined by the Seek method. The GetCapabilities method is used to determine what kinds of operations can be performed by the device.
Inheritance
The IMDSPDeviceControl interface inherits from the IUnknown interface. IMDSPDeviceControl also has these types of members:
Methods
The IMDSPDeviceControl interface has these methods.
IMDSPDeviceControl::GetCapabilities The GetCapabilities method retrieves the capabilities mask for the device with which this control interface is associated. The capabilities describe the methods of the device control that are supported by the media device. |
IMDSPDeviceControl::GetDCStatus The GetDCStatus method retrieves the control status of the device. |
IMDSPDeviceControl::Pause The Pause method pauses the current play or record session at the current position within the content. (IMDSPDeviceControl.Pause) |
IMDSPDeviceControl::Play The Play method begins playing at the current seek position. If the Seek method has not been called, then playing begins at the beginning of the first file, and the play length is not defined. |
IMDSPDeviceControl::Record The Record method begins recording from the device's external record input at the current seek position. The Seek method must be called first. |
IMDSPDeviceControl::Resume The Resume method resumes the current playback or record operation from the file position saved during the call to Pause. |
IMDSPDeviceControl::Seek The Seek method seeks to a position that is used as the starting point by the Play or Record methods. (IMDSPDeviceControl.Seek) |
IMDSPDeviceControl::Stop The Stop method stops the current stream. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |