You can create a capture window of the AVICap window class by using the capCreateCaptureWindow function. This function returns a window handle that identifies the capture window and is used by an application to send subsequent messages to the window.
You can create one or more capture windows in an application and connect each capture window to a different capture device.