MCIWndGetDeviceID macro

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


UINT MCIWndGetDeviceID(
    hwnd
);

Parameters

hwnd

Handle of the MCIWnd window.

Return value

Returns the device identifier.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

mciSendCommand
MCIWNDM_GETDEVICEID

 

 

Show: