capGetMCIDeviceName

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

Parameters

hwnd
Handle of a capture window.
wSize
Length, in bytes, of the buffer referenced by szName .
szName
Address of a null-terminated string that contains the MCI device name.

Return Values

Returns TRUE if successful or FALSE otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Capture Overview, Video Capture Macros, capSetMCIDeviceName, WM_CAP_GET_MCI_DEVICE