Windows Media Format SDK banner art
PreviousNext

Application Programming Interfaces

The Windows Media™ Device Manager Application Programming Interface (API) consists of a collection of interfaces and methods that can be used by an application to enumerate and control media devices.

Windows Media Device Manager provides complete encapsulation of media devices. All the normal operations that can be performed on a device, such as discovering device properties and downloading files, are organized into the following collection of COM-based interfaces.

Interface Description
IWMDeviceManager Acquires all the other Windows Media Device Manager interfaces for the application. This is the first interface accessed by an application.
IWMDMDevice Enumerates storage media on a portable device and retrieves information about the device.
IWMDMDeviceControl Provides methods for device control including play, record, pause, and seek.
IWMDMEnumDevice Enumerates the different media devices.
IWMDMEnumStorage Identifies the storage media on a device and identifies content on those media.
IWMDMObjectInfo Controls how playable objects on a storage medium are referenced by the IWMDMDeviceControl interface.
IWMDMStorage Represents a storage medium, and folders and files on the medium.
IWMDMStorageControl Manages the content on a storage medium. Can move, rename, insert, and delete files.
IWMDMStorageGlobals Retrieves global information about a storage medium. This includes the amount of free space, the total number of files, and so on.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.