Microsoft DirectX 8.1 (C++)

IMSVidCtl::Build

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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.

See Also