MCIWndGetDeviceID macro (vfw.h)

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.

Syntax

void MCIWndGetDeviceID(
   hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

None

Requirements

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

See also

MCIWNDM_GETDEVICEID

mciSendCommand