MCIWNDM_GETDEVICEID message

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 Value

Returns the device identifier.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Vfw.h

See also

mciSendCommand

MCIWndGetDeviceID