Microsoft DirectX 9.0 |
The SetMode method determines whether the file writer destroys the file when it creates the new one.
Syntax
HRESULT SetMode(
DWORD dwFlags
);
Parameters
dwFlags
[in] Currently, the only defined flag is AM_FILE_OVERWRITE, which indicates that the file writer should destroy the file. Specify zero for dwFlags to leave the file alone.
Return Values
Returns an HRESULT value that depends on the implementation of the interface.
See Also