1 ////////////////////////////////////////////////////////////////////
2 // Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine
3 // All rights reserved
4 // This file was released under the GPLv2 on June 2015.
5 ////////////////////////////////////////////////////////////////////
6 
7 JS_DEVICE_TYPE
8 CheckCDType(
9     PCHAR m_szFile,
10     PCHAR VendorId
11     );
12 
13 typedef void (*PADD_DEVICE)(HWND hwndControl, PCHAR Drive, PCHAR Line1, PCHAR Line2,BOOL bSelect);
14 
15 void
16 InitDeviceList(
17     HWND hDlg,
18     HWND hwndControl,
19     PADD_DEVICE CallBack
20     );
21 
22 extern CHAR szDisc[4];
23 extern BOOL bChanger;
24 
25 HANDLE
26 FmtAcquireDrive(
27     PCHAR Drive,
28     CHAR Level
29     );
30 
31 #define FmtAcquireDriveW(Drive, Level)    FmtAcquireDrive((PCHAR)(Drive), Level)
32 
33 VOID
34 FmtReleaseDrive(
35     HANDLE evt
36     );
37 
38 BOOLEAN
39 FmtIsDriveAcquired(
40     PCHAR Drive,
41     CHAR Level
42     );
43