次の方法で共有


IWMDMOperation Interface

banner art

This optional, application-implemented IWMDMOperation interface allows the application to control how data is read from or written to the computer during a file transfer.

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

Method Description
BeginRead Indicates that a "read from device" action is beginning.
BeginWrite Indicates that a "write to device" action is beginning.
End Indicates that a read or write operation is finished.
GetObjectAttributes Allows the application to specify attributes for an object being written to a device.
GetObjectName Allows the application to specify the name of an object being written to the device.
GetObjectTotalSize Retrieves the total size of an object, in bytes.
SetObjectAttributes Assigns the content attributes. This method is currently not called by Windows Media Device Manager.
SetObjectName Assigns a name to the content being read or written. This method is currently not called by Windows Media Device Manager.
SetObjectTotalSize Assigns the total size of an object, in bytes. This method is currently not called by Windows Media Device Manager.
TransferObjectData Transfers a block of data to or from the computer.

See Also