Previous | Next |
The Open method opens a file that acts as the writer sink.
Syntax
HRESULT Open(
const WCHAR* pwszFilename
);
Parameters
pwszFilename
[in] Pointer to a wide-character NULL-terminated string containing the file name.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_POINTER | The pwszFilename parameter is NULL. |
Remarks
There is no close method in this interface as the closing of the writer sink file is done automatically by a call to EndWriting.
See Also
Previous | Next |