IFileSinkFilter2::GetMode method

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

Syntax


HRESULT GetMode(
  [out] 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 value

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IFileSinkFilter2 Interface

 

 

Show: