IWMDMOperation::SetObjectTotalSize
The SetObjectTotalSize method assigns the total size in bytes of an object. This method is currently not called by Windows Media Device Manager.
Syntax
HRESULT SetObjectTotalSize(DWORDdwSize,DWORDdwSizeHigh);
Parameters
dwSize
[in] DWORD specifying the low-order bits of the object size, in bytes.
dwSizeHigh
[in] DWORD specifying the high-order bits of the object size, in bytes.
Return Values
The application should return one of the following HRESULT values.
Return code | Description |
S_OK | The read operation should continue. |
WMDM_E_USER_CANCELLED | The read operation should be cancelled without finishing. |
E_FAIL | An unspecified error occurred, and the read operation should be cancelled without finishing. |
If the application returns E_FAIL or WMDM_E_USER_CANCELLED, the operation is cancelled and the End method is called. If the application is using block mode and returns WMDM_E_USER_CANCELLED, then Windows Media Device Manager will return that error to the application.
Remarks
This method is called after SetObjectAttributes.
Requirements
Header: Defined in mswmdm.h.
Library: mssachlp.lib
See Also