The capGetMCIDeviceName macro retrieves the name of an MCI device previously set with the capSetMCIDeviceName macro. You can use this macro or explicitly call the WM_CAP_GET_MCI_DEVICE message.
BOOL capGetMCIDeviceName(
hwnd,
szName,
wSize
);
Returns TRUE if successful or FALSE otherwise.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Macros, capSetMCIDeviceName, WM_CAP_GET_MCI_DEVICE