Previous | Next |
The Close method closes a file on a storage medium of a media device.
Syntax
HRESULT Close( );
Parameters
This method takes no parameters.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
WMDM_E_NOTSUPPORTED | The operation is not supported by the medium |
WMDM_E_BUSY | The media device is busy. |
WMDM_E_INTERFACEDEAD | The file or folder was previously deleted. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |