The WM_CAP_SET_MCI_DEVICE message specifies the name of the MCI video device to be used to capture data. You can send this message explicitly or by using the capSetMCIDeviceName macro.
WM_CAP_SET_MCI_DEVICE
wParam = (WPARAM) 0;
lParam = (LPARAM) (LPVOID) (LPSTR) (szName);
Returns TRUE if successful or FALSE otherwise.
This message stores the MCI device name in an internal structure. It does not open or access the device. The default device name is NULL.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Unicode: Defined as Unicode and ANSI messages.
Video Capture Overview, Video Capture Messages, capSetMCIDeviceName