Microsoft DirectX 9.0


This topic applies to Windows XP only.

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


HRESULT Build();


This method takes no parameters.

Return Values

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


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