Previous | Next |
The EndWriting method terminates the writing process.
Syntax
HRESULT EndWriting();
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 |
NS_E_INVALID_STATE | The writer cannot currently be run. |
Remarks
This method flushes the buffers, updates indices and headers, and closes the file. For more information, see the Remarks section for BeginWriting.
See Also
Previous | Next |