Freigeben über


WM_CAP_GET_MCI_DEVICE

The WM_CAP_GET_MCI_DEVICE message retrieves the name of an MCI device previously set with the WM_CAP_SET_MCI_DEVICE message. You can send this message explicitly or by using the capGetMCIDeviceName macro.

WM_CAP_GET_MCI_DEVICE 
wParam = (WPARAM) (wSize); 
lParam = (LPARAM) (LPVOID) (LPSTR) (szName); 

Parameters

wSize

Length, in bytes, of the buffer referenced by szName .

szName

Pointer to a null-terminated string that contains the MCI device name.

Return Values

Returns TRUE if successful or FALSE otherwise.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Unicode:** Declared as Unicode and ANSI messages.

See Also

Video Capture, Video Capture Messages, capGetMCIDeviceName, WM_CAP_SET_MCI_DEVICE