Changeset 220 for trunk/include/helpers/dosh.h
- Timestamp:
- Sep 2, 2002, 4:00:04 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/dosh.h
r200 r220 95 95 96 96 ULONG doshQuerySysUptime(VOID); 97 98 APIRET doshDevIOCtl(HFILE hf, 99 ULONG ulCategory, 100 ULONG ulFunction, 101 PVOID pvParams, 102 ULONG cbParams, 103 PVOID pvData, 104 ULONG cbData); 97 105 98 106 /* ****************************************************************** … … 212 220 PBIOSPARAMETERBLOCK pdp, 213 221 BOOL fFixed); 214 215 APIRET XWPENTRY doshHasAudioCD(ULONG ulLogicalDrive,216 HFILE hfDrive,217 BOOL fMixedModeCD,218 PBOOL pfAudio);219 220 222 #endif 223 224 APIRET doshQueryCDDrives(PBYTE pcCDs, 225 PBYTE pbFirstCD); 226 227 APIRET XWPENTRY doshOpenDrive(ULONG ulLogicalDrive, 228 HFILE *phf); 229 230 APIRET XWPENTRY doshHasAudioCD(HFILE hfDrive, 231 BOOL fMixedModeCD, 232 PBOOL pfAudio); 233 234 #define CDFL_DOOROPEN 0x00000001 // bit 0 235 #define CDFL_DOORLOCKED 0x00000002 // bit 1 236 #define CDFL_COOKEDANDRAW 0x00000004 // bit 2 237 #define CDFL_READWRITE 0x00000008 // bit 3 238 #define CDFL_DATAANDAUDIO 0x00000010 // bit 4 239 #define CDFL_ISO9660INTERLEAVE 0x00000020 // bit 5 240 #define CDFL_PREFETCHSUPPORT 0x00000080 // bit 7 241 #define CDFL_AUDIOCHANNELMANIP 0x00000100 // bit 8 242 #define CDFL_MINUTESECONDADDR 0x00000200 // bit 9 243 #define CDFL_MODE2SUPPORT 0x00000400 // bit 10 244 #define CDFL_DISKPRESENT 0x00000800 // bit 11 245 #define CDFL_PLAYINGAUDIO 0x00001000 // bit 12 246 #define CDFL_CDDA 0x40000000 // bit 30 247 248 APIRET XWPENTRY doshQueryCDStatus(HFILE hfDrive, 249 PULONG pflStatus); 221 250 222 251 VOID XWPENTRY doshEnumDrives(PSZ pszBuffer, … … 232 261 #define ERROR_AUDIO_CD_ROM 10000 233 262 234 #define DRVFL_MIXEDMODECD 0x0001235 #define DRVFL_TOUCHFLOPPIES 0x0002236 #define DRVFL_CHECKEAS 0x0004237 #define DRVFL_CHECKLONGNAMES 0x0008263 #define DRVFL_MIXEDMODECD 0x0001 264 #define DRVFL_TOUCHFLOPPIES 0x0002 265 #define DRVFL_CHECKEAS 0x0004 266 #define DRVFL_CHECKLONGNAMES 0x0008 238 267 239 268 APIRET doshAssertDrive(ULONG ulLogicalDrive, … … 307 336 #define DRVTYPE_CDROM 4 308 337 #define DRVTYPE_LAN 5 309 #define DRVTYPE_PARTITIONABLEREMOVEABLE 6 338 #define DRVTYPE_PRT 6 339 // partitionable removeable (ZIP drive) 310 340 #define DRVTYPE_UNKNOWN 255 311 341 … … 323 353 // drive was booted from 324 354 325 // media flags: 326 327 #define DFL_MEDIA_PRESENT 0x 1000355 // media flags: all changed V0.9.21 (2002-08-31) [umoeller] 356 357 #define DFL_MEDIA_PRESENT 0x0100 328 358 // media is present in drive; 329 359 // -- always set for harddisks, … … 334 364 // -- set for CD-ROMS only if data 335 365 // CD-ROM is inserted 336 #define DFL_AUDIO_CD 0x 2000366 #define DFL_AUDIO_CD 0x0200 337 367 // set for CD-ROMs only, if an audio CD 338 368 // is currently inserted; in that case, 339 369 // DFL_MEDIA_PRESENT is _not_ set 340 #define DFL_SUPPORTS_EAS 0x4000 370 #define DFL_DOOR_OPEN 0x0400 371 // set for CD-ROMs only if the CD-ROM 372 // door is currently open 373 // V0.9.21 (2002-08-31) [umoeller] 374 375 #define DFL_SUPPORTS_EAS 0x0800 341 376 // drive supports extended attributes 342 377 // (assumption based on DosFSCtl, 343 378 // might not be correct for remote drives; 344 379 // reports correctly for FAT32 though) 345 #define DFL_SUPPORTS_LONGNAMES 0x 8000380 #define DFL_SUPPORTS_LONGNAMES 0x1000 346 381 // drive supports long names; this does not 347 382 // necessarily mean that we support all IFS 348 383 // characters also 384 349 385 350 386 // the following are only valid if DFL_MEDIA_PRESENT is set;
Note:
See TracChangeset
for help on using the changeset viewer.