Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2003.04.24;
Скачать: [xml.tar.bz2];

Вниз

Фукция GetDriveType выдает removable для floppy 5,25; floppy 3,5;   Найти похожие ветки 

 
Alexander   (2003-02-20 20:06) [0]

zip и пр. Как можно точнее определить, что за устройство ?


 
Songoku   (2003-02-20 22:06) [1]

Через DeviceIoControl

Unknown =00;// Format is unknown
F5_1Pt2_512 =01;// 5.25", 1.2MB, 512 bytes/sector
F3_1Pt44_512 =02;// 3.5", 1.44MB, 512 bytes/sector
F3_2Pt88_512 =03;// 3.5", 2.88MB, 512 bytes/sector
F3_20Pt8_512 =04;// 3.5", 20.8MB, 512 bytes/sector
F3_720_512 =05;// 3.5", 720KB, 512 bytes/sector
F5_360_512 =06;// 5.25", 360KB, 512 bytes/sector
F5_320_512 =07;// 5.25", 320KB, 512 bytes/sector
F5_320_1024 =08;// 5.25", 320KB, 1024 bytes/sector
F5_180_512 =09;// 5.25", 180KB, 512 bytes/sector
F5_160_512 =10;// 5.25", 160KB, 512 bytes/sector
RemovableMedia =11;// Removable media other than floppy
FixedMedia =12;// Fixed hard disk media
F3_120M_512 =13;// 3.5", 120M Floppy
F3_640_512 =14;// 3.5" , 640KB, 512 bytes/sector
F5_640_51 =15;// 5.25", 640KB, 512 bytes/sector
F5_720_512 =16;// 5.25", 720KB, 512 bytes/sector
F3_1Pt2_512 =17;// 3.5" , 1.2Mb, 512 bytes/sector
F3_1Pt23_1024 =18;// 3.5" , 1.23Mb, 1024 bytes/sector
F5_1Pt23_1024 =19;// 5.25", 1.23MB, 1024 bytes/sector
F3_128Mb_512 =20;// 3.5" MO 128Mb 512 bytes/sector
F3_230Mb_512 =21;// 3.5" MO 230Mb 512 bytes/sector
F8_256_128 =22;// 8", 256KB, 128 bytes/sector
//...
DDS_4mm =32;// Tape - DAT DDS1,2,... (all vendors)
MiniQic =33;// Tape - miniQIC Tape
Travan =34;// Tape - Travan TR-1,2,3,...
QIC =35;// Tape - QIC
MP_8mm =36;// Tape - 8mm Exabyte Metal Particle
AME_8mm =37;// Tape - 8mm Exabyte Advanced Metal Evap
AIT1_8mm =38;// Tape - 8mm Sony AIT1
DLT =39;// Tape - DLT Compact IIIxt, IV
NCTP =40;// Tape - Philips NCTP
IBM_3480 =41;// Tape - IBM 3480
IBM_3490E =42;// Tape - IBM 3490E
IBM_Magstar_3590 =43;// Tape - IBM Magstar 3590
IBM_Magstar_MP =44;// Tape - IBM Magstar MP
STK_DATA_D3 =45;// Tape - STK Data D3
SONY_DTF =46;// Tape - Sony DTF
DV_6mm =47;// Tape - 6mm Digital Video
DMI =48;// Tape - Exabyte DMI and compatibles
SONY_D2 =49;// Tape - Sony D2S and D2L
CLEANER_CARTRIDGE =50;// Cleaner - All Drive types that support Drive Cleaners
CD_ROM =51;// Opt_Disk - CD
CD_R =52;// Opt_Disk - CD-Recordable (Write Once)
CD_RW =53;// Opt_Disk - CD-Rewriteable
DVD_ROM =54;// Opt_Disk - DVD-ROM
DVD_R =55;// Opt_Disk - DVD-Recordable (Write Once)
DVD_RW =56;// Opt_Disk - DVD-Rewriteable
MO_3_RW =57;// Opt_Disk - 3.5" Rewriteable MO Disk
MO_5_WO =58;// Opt_Disk - MO 5.25" Write Once
MO_5_RW =59;// Opt_Disk - MO 5.25" Rewriteable (not LIMDOW)
MO_5_LIMDOW =60;// Opt_Disk - MO 5.25" Rewriteable (LIMDOW)
PC_5_WO =61;// Opt_Disk - Phase Change 5.25" Write Once Optical
PC_5_RW =62;// Opt_Disk - Phase Change 5.25" Rewriteable
PD_5_RW =63;// Opt_Disk - PhaseChange Dual Rewriteable
ABL_5_WO =64;// Opt_Disk - Ablative 5.25" Write Once Optical
PINNACLE_APEX_5_RW =65;// Opt_Disk - Pinnacle Apex 4.6GB Rewriteable Optical
SONY_12_WO =66;// Opt_Disk - Sony 12" Write Once
PHILIPS_12_WO =67;// Opt_Disk - Philips/LMS 12" Write Once
HITACHI_12_WO =68;// Opt_Disk - Hitachi 12" Write Once
CYGNET_12_WO =69;// Opt_Disk - Cygnet/ATG 12" Write Once
KODAK_14_WO =70;// Opt_Disk - Kodak 14" Write Once
MO_NFR_525 =71;// Opt_Disk - Near Field Recording (Terastor)
NIKON_12_RW =72;// Opt_Disk - Nikon 12" Rewriteable
IOMEGA_ZIP =73;// Mag_Disk - Iomega Zip
IOMEGA_JAZ =74;// Mag_Disk - Iomega Jaz
SYQUEST_EZ135 =75;// Mag_Disk - Syquest EZ135
SYQUEST_EZFLYER =76;// Mag_Disk - Syquest EzFlyer
SYQUEST_SYJET =77;// Mag_Disk - Syquest SyJet
AVATAR_F2 =78;// Mag_Disk - 2.5" Floppy
MP2_8mm =79;// Tape - 8mm Hitachi
DST_S =80;// Ampex DST Small Tapes
DST_M =81;// Ampex DST Medium Tapes
DST_L =82;// Ampex DST Large Tapes
VXATape_1 =83;// Ecrix 8mm Tape
VXATape_2 =84;// Ecrix 8mm Tape
STK_EAGLE =85;// STK Eagle
LTO_Ultrium =86;// IBM, HP, Seagate LTO Ultrium
LTO_Accelis =87;// IBM, HP, Seagate LTO Accelis

Если нужен пример то дай мен сваё мыло!!!


 
Alexander   (2003-02-21 08:44) [2]

Так у меня в инфе указан адрес (значёк © )


 
Alexander   (2003-02-21 11:32) [3]

Насколько я понял - DeviceIOControl работает только для NT линии, а как можно узнать для 9x?


 
Songoku   (2003-02-23 20:55) [4]

Alexander: У меня всё работает!!!!


 
Alexander   (2003-02-25 15:09) [5]

Вышли код - egorov_a_a (собака) tngf.kazan.ru



Страницы: 1 вся ветка

Форум: "WinAPI";
Текущий архив: 2003.04.24;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.46 MB
Время: 0.007 c
11-76869
Kirill
2002-07-12 13:34
2003.04.24
StatusPanel


6-77052
nkrainev
2003-03-03 20:32
2003.04.24
IdHTTP vs CGI Figth!!!


14-77078
Andrey Filatow
2003-04-06 20:49
2003.04.24
update Delphi 7


1-76997
Мыш
2003-04-13 04:19
2003.04.24
Как рисовать на заголовке формы?


14-77155
Snap
2003-04-06 21:45
2003.04.24
Где можно найти формат файлов патча windows





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский