IWMDMDeviceControl interface (mswmdm.h)

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.

Inheritance

The IWMDMDeviceControl interface inherits from the IUnknown interface. IWMDMDeviceControl also has these types of members:

Methods

The IWMDMDeviceControl interface has these methods.

 
IWMDMDeviceControl::GetCapabilities

The GetCapabilities method retrieves the device capabilities to determine what operations the device can perform. The capabilities describe the methods of the device control that are supported by the media device.
IWMDMDeviceControl::GetStatus

The GetStatus method retrieves the control status of the device.
IWMDMDeviceControl::Pause

The Pause method pauses the current play or record session at the current position within the content. (IWMDMDeviceControl.Pause)
IWMDMDeviceControl::Play

The Play method begins playing at the current seek position. If the IWMDMDeviceControl::Seek method has not been called, then playing begins at the beginning of the first file, and the play length is not defined.
IWMDMDeviceControl::Record

The Record method begins recording from the device's external record input at the current seek position. The IWMDMDeviceControl::Seek method must be called first.
IWMDMDeviceControl::Resume

The Resume method resumes the current play or record operation from the file position saved during the call to Pause.
IWMDMDeviceControl::Seek

The Seek method seeks to a position that is used as the starting point by the Play or Record methods. (IWMDMDeviceControl.Seek)
IWMDMDeviceControl::Stop

The Stop method stops the current record or play operation.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h

See also

Interfaces for Applications