Changeset 7474 for trunk/src/kernel32/hmdisk.cpp
- Timestamp:
- Nov 29, 2001, 12:33:37 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmdisk.cpp
r7457 r7474 1 /* $Id: hmdisk.cpp,v 1. 29 2001-11-26 14:54:01 sandervlExp $ */1 /* $Id: hmdisk.cpp,v 1.30 2001-11-28 23:33:36 phaller Exp $ */ 2 2 3 3 /* … … 67 67 BOOL HMDeviceDiskClass::FindDevice(LPCSTR lpClassDevName, LPCSTR lpDeviceName, int namelength) 68 68 { 69 // @@@PH 70 // this is broken: 71 // "\\.\C:" and "C:" is a LOGICAL drive 72 // \\.\PHYSICALDRIVEx is a PHYSICAL drive! 73 69 74 //\\.\x: -> length 6 70 75 //\\.\PHYSICALDRIVEn -> length 18 … … 109 114 return ERROR_INVALID_PARAMETER; 110 115 } 111 if(strncmp(lpFileName, // "support" for local unc names112 "\\\\.\\",113 4) == 0)114 {115 lpFileName+=4;116 }117 116 118 117 //Disable error popus. NT allows an app to open a cdrom/dvd drive without a disk inside … … 206 205 filename[2] = 0; 207 206 208 //Disable error popu s. NT allows an app to open a cdrom/dvd drive without a disk inside207 //Disable error popups. NT allows an app to open a cdrom/dvd drive without a disk inside 209 208 //OS/2 fails in that case with error ERROR_NOT_READY 210 209 ULONG oldmode = SetErrorMode(SEM_FAILCRITICALERRORS);
Note:
See TracChangeset
for help on using the changeset viewer.