IMSVidCtl::Build

 
Microsoft DirectShow 9.0

IMSVidCtl::Build

This topic applies to Windows XP or later.

The Build method builds the filter graph and connects all the filters.

Syntax

  HRESULT Build();

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This method builds a filter graph using the current input device. To select an input device, call the IMSVidCtl::View method or the IMSVidCtl::put_InputActive method. If no input device has been selected, the method fails.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also