Previous | Next |
The Close method closes the currently open file without writing any changes to the metadata back to the disk.
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 | Meaning |
INVALID_HANDLE_VALUE | The file has not been opened correctly. |
See Also
Previous | Next |