Changeset 109 for trunk/dll/valid.c
- Timestamp:
- Aug 1, 2004, 2:17:21 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/valid.c
r103 r109 13 13 11 Jun 03 SHL - Add JFS and FAT32 support 14 14 15 Jun 04 SHL - Implement Jim Read's removable logic 15 31 Jul 04 SHL - Comments 15 16 16 17 ***********************************************************************/ … … 171 172 } 172 173 174 /* CheckDrive 175 * @param chDrive drive letter 176 * @param pszFileSystem pointer to buffer to return file system type or NULL 177 * @param pulType pointer to long word to return drive flags or NULL 178 * @returns removability flag, 1 = removable, 0 = not removable, -1 = error 179 */ 173 180 174 181 INT CheckDrive (CHAR chDrive, CHAR *pszFileSystem, ULONG *pulType) … … 220 227 ulrc = DosQueryFSAttach(szPath, 0, FSAIL_QUERYNAME, 221 228 (PFSQBUFFER2)pvBuffer, &clBufferSize); 229 # define CD_DEBUG 0 230 222 231 if (ulrc) 223 232 { 224 233 /* can't get any info at all */ 234 # ifdef CD_DEBUG 235 fprintf(stderr, "DosQueryFSAttach %s returned %ul\n", 236 szPath, ulrc); 237 # endif 225 238 DosFreeMem(pvBuffer); 226 239 DosError(FERR_DISABLEHARDERR);
Note:
See TracChangeset
for help on using the changeset viewer.