* @return the device id of the specific CD Drive. If the operation is
* successful, the id doesn't equals 0.
*/
public static int getDeviceID(String path)
{
MCI_OPEN_PARMS parms = null;
TCHAR strDeviceType = new TCHAR(0, MCI_DEVTYPE_CD_AUDIO, true);
TCHAR strElementName = new TCHAR(0, path, true);
int hHeap = Extension.GetProcessHeap();
int byteCount = strDeviceType.length() * TCHAR.sizeof;
int lpstrDeviceType = Extension