Microsoft DirectX 9.0

IFileSinkFilter2::GetMode

The GetMode method retrieves whether the file writer destroys the file when it creates the new one.

Syntax

HRESULT GetMode(
  DWORD *dwFlags
);

Parameters

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.

Return Values

Returns an HRESULT value that depends on the implementation of the interface.

See Also