Share via


IMSVidCtl::Build Method

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 has no parameters.

Return Value

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 Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidCtl Interface
IMSVidCtl::Decompose

Send comments about this topic to Microsoft

Build date: 12/4/2008