|Microsoft DirectX 9.0|
The SetMode method determines whether the file writer destroys the file when it creates the new one.
HRESULT SetMode( DWORD 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.
Returns an HRESULT value that depends on the implementation of the interface.