IWMDMObjectInfo interface (mswmdm.h)

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.

Inheritance

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

Methods

The IWMDMObjectInfo interface has these methods.

 
IWMDMObjectInfo::GetLastPlayPosition

The GetLastPlayPosition method retrieves the last play position of the object. The object must be an audio file on the media device.
IWMDMObjectInfo::GetLongestPlayPosition

The GetLongestPlayPosition method retrieves the longest play position of the file. The file must be an audio file on the media device.
IWMDMObjectInfo::GetPlayLength

The GetPlayLength method retrieves the play length of the object in units appropriate to the format. This is the remaining length that the file can play, not its total length.
IWMDMObjectInfo::GetPlayOffset

The GetPlayOffset method retrieves the play offset of the object, in units appropriate to the format. This is the starting point for the next invocation of Play.
IWMDMObjectInfo::GetTotalLength

The GetTotalLength method retrieves the total play length of the object, in units appropriate to the format. The value returned is the total length regardless of the current settings of the play length and offset.
IWMDMObjectInfo::SetPlayLength

The SetPlayLength method sets the play length of the object, in units appropriate to the format. This is the maximum length that the object plays regardless of its actual length.
IWMDMObjectInfo::SetPlayOffset

The SetPlayOffset method sets the play offset of the object, in the units appropriate to the format. This specifies the starting point for the next invocation of Play.

Requirements

   
Target Platform Windows
Header mswmdm.h

See also

IWMDMStorage Interface

Interfaces for Applications