Compartir a través de


IFileSinkFilter2::GetMode

 
Microsoft DirectShow 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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also