Group: Windows Multimedia - Library: winmm
MCIDEVICEID mciGetDeviceID(
LPCTSTR lpszDevice
);
DECLARE INTEGER mciGetDeviceID IN winmm STRING lpszDevice
lpszDevice Pointer to a null-terminated string that specifies the device name or the alias name by which the device is known.
Returns the device identifier assigned to the device when it was opened if successful. Otherwise the return value is zero.
The identifier is used in the mciSendCommand function.
See also: mciSendCommand, mciSendString