|Microsoft DirectX 9.0|
The GetMode method retrieves whether the file writer destroys the file when it creates the new one.
HRESULT GetMode( DWORD *dwFlags );
[out] Pointer to the retrieved flags. Currently, the only defined flag is AM_FILE_OVERWRITE, which indicates that the file should be destroyed; zero indicates that the file will be left alone.
Returns an HRESULT value that depends on the implementation of the interface.