MCIWndGetDeviceID

The MCIWndGetDeviceID macro retrieves the identifier of the current MCI device to use with the mciSendCommand function. You can use this macro or explicitly send the MCIWNDM_GETDEVICEID message.

UINT MCIWndGetDeviceID(
  hwnd  
);
 

Parameters

hwnd
Handle of the MCIWnd window.

Return Values

Returns the device identifier.

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

MCIWnd Window Class Overview, MCIWnd Macros, mciSendCommand, MCIWNDM_GETDEVICEID