Share via


MCIWNDM_GETDEVICEID

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

MCIWNDM_GETDEVICEID 
wParam = 0; 
lParam = 0; 

Return Values

Returns the device identifier.

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.

See Also

mciSendCommand, MCIWndGetDeviceID