IWMDMDeviceControl Interface

The IWMDMDeviceControl interface provides methods for controlling playback on a device. Query an IWMDMDevice interface to get this interface. Playback parameters are controlled by the IWMDMObjectInfo interface.

The IWMDMDeviceControl interface methods support several modes of audio control, depending on the context in which they are used. That context is defined by the IWMDMDeviceControl::Seek method. The IWMDMDeviceControl::GetCapabilities method is used to determine what kinds of operations can be performed by the device.

In addition to the methods inherited from IUnknown, the IWMDMDeviceControl interface exposes the following methods.

MethodDescription
GetCapabilitiesRetrieves the device capabilities to determine what operations the device can perform.
GetStatusRetrieves the control status of the device.
PausePauses the current play or record operation.
PlayBegins playing at the current seek position.
RecordBegins recording from the device's external record input at the current seek position.
ResumeResumes the current play or record operation from the file position saved during the call to Pause.
SeekSeeks to a position that is used as the starting point by the Play or Record methods.
StopStops the current record or play operation.

See Also

Show: