Previous | Next |
The End method indicates that a read or write operation is complete, whether successful or not, and it returns a completion code.
Syntax
HRESULT End(
HRESULT* phCompletionCode,
IUnknown* pNewObject
);
Parameters
phCompletionCode
[in] Completion code for the operation.
pNewObject
[in] Pointer to a new object, if any.
Return Values
Windows Media Device Manager ignores any return code returned by the End method because the current operation is completed or terminated before Windows Media Device Manager calls this method.
Remarks
The End method is always the last one called. The completion code provides information concerning how the previous operation ended.
When transferring to storage, the pNewObject parameter contains a pointer to a new IWMDMStorage object representing the new object that has been transferred to the media device. The application must release this object when finished with it by using the IWMDMStorage::Release method.
When transferring from storage, the pNewObject parameter contains a pointer to the IWMDMStorage object that already represented the object in storage.
See Also
Previous | Next |