Share via


IWMDMObjectInfo Interface

banner art

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