Changeset 8273 for trunk/src/kernel32/oslibdos.cpp
- Timestamp:
- Apr 16, 2002, 2:21:04 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/oslibdos.cpp
r8263 r8273 1 /* $Id: oslibdos.cpp,v 1. 99 2002-04-13 07:47:24 bird Exp $ */1 /* $Id: oslibdos.cpp,v 1.100 2002-04-16 00:21:04 bird Exp $ */ 2 2 /* 3 3 * Wrappers for OS/2 Dos* API … … 2723 2723 /* 2724 2724 * Optimize floppy queries for A: and B:. 2725 * ( I don't hope these are anysubject of change.)2725 * (These aren't currently a subject of change.) 2726 2726 */ 2727 2727 static ULONG ulFloppyMask = 0; … … 2729 2729 return DRIVE_REMOVABLE_W; 2730 2730 2731 /* 2732 * Optimize for CDROM requests. 2733 * (These aren't currently a subject of change.) 2734 */ 2735 static ULONG ulCDROMMask = 0; 2736 if (ulCDROMMask & (1 << ulDrive)) 2737 return DRIVE_CDROM_W; 2731 2738 2732 2739 /* … … 2877 2884 } 2878 2885 else if (bpb.fsDeviceAttr & CDType) 2886 { 2879 2887 ulDriveType = DRIVE_CDROM_W; 2888 /* update cdrom cache */ 2889 ulCDROMMask |= 1 << ulDrive; 2890 } 2880 2891 else if (bpb.fsDeviceAttr & LanType) 2881 2892 ulDriveType = DRIVE_REMOTE_W;
Note:
See TracChangeset
for help on using the changeset viewer.