Rediger

Del via


WM_CAP_SET_MCI_DEVICE message

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); 

Parameters

szName

Pointer to a null-terminated string containing the name of the device.

Return Value

Returns TRUE if successful or FALSE otherwise.

Remarks

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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

Video Capture

Video Capture Messages