Previous | Next |
The SetOutputFilename method specifies the name of the file to be written.
Syntax
HRESULT SetOutputFilename(
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_UNEXPECTED | The method failed for an unspecified reason. |
NS_E_INVALID_STATE | The writer is not in a configurable state. |
Remarks
The easiest way to use the writer is to write to a file.
See Also
Previous | Next |