IWMDMObjectInfo Interface (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The IWMDMObjectInfo interface gets and sets information that controls how playable files on device are handled by the IWMDMDeviceControl interface.

This interface is not intended for non-playable files. If the IWMDMObjectInfo interface is acquired from an IWMDMStorage interface that represents a non-playable file, or a folder or a root file system containing no playable files, E_INVALIDTYPE is returned from all of the methods.

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

Method Description
GetLastPlayPosition Retrieves the last play position of the object.
GetLongestPlayPosition Retrieves the longest play position of the object.
GetPlayLength Retrieves the play length of the object in units pertinent to the object.
GetPlayOffset Retrieves the play offset of the object, in units pertinent to the object.
GetTotalLength Retrieves the total play length of the object in units pertinent to the object.
SetPlayLength Sets the play length of the object, in units pertinent to the object.
SetPlayOffset Sets the play offset of the object, in units pertinent to the object.

See Also