Share via


IWMDMOperation Interface

banner art

The IWMDMOperation interface is optional. If implemented, it is used by the IWMDMStorageControl interface for data transfer. IWMDMOperation2 extends this interface, making it possible to get and set extended attributes.

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

Method Description
BeginRead Indicates that a read operation is being started by a method belonging to the IWMDMStorageControl interface.
BeginWrite Indicates that a write operation is being started by a method belonging to the IWMDMStorageControl interface.
End Indicates that a read or write operation is finished, whether successful or not, and accepts a completion code.
GetObjectAttributes Retrieves the content attributes. Audio attributes include the number of samples per second, the number of bytes per sample, and so on.
GetObjectName Retrieves the name of the object (content) being read or written.
GetObjectTotalSize Retrieves the total size of an object, in bytes.
SetObjectAttributes Assigns the content attributes. Audio attributes include the number of samples per second, the number of bytes per sample, and so on.
SetObjectName Assigns a name to the content being read or written.
SetObjectTotalSize Assigns the total size of an object, in bytes.
TransferObjectData Transfers a block of data.

See Also