Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
97594743
Commit
97594743
authored
May 03, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make GetVolumeInformation default to reporting NTFS for non-FAT
filesystems.
parent
2f8fd106
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
volume.c
dlls/kernel/volume.c
+6
-1
No files found.
dlls/kernel/volume.c
View file @
97594743
...
...
@@ -702,6 +702,7 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len,
{
static
const
WCHAR
audiocdW
[]
=
{
'A'
,
'u'
,
'd'
,
'i'
,
'o'
,
' '
,
'C'
,
'D'
,
0
};
static
const
WCHAR
fatW
[]
=
{
'F'
,
'A'
,
'T'
,
0
};
static
const
WCHAR
ntfsW
[]
=
{
'N'
,
'T'
,
'F'
,
'S'
,
0
};
static
const
WCHAR
cdfsW
[]
=
{
'C'
,
'D'
,
'F'
,
'S'
,
0
};
WCHAR
device
[]
=
{
'\\'
,
'\\'
,
'.'
,
'\\'
,
'A'
,
':'
,
0
};
...
...
@@ -840,11 +841,15 @@ fill_fs_info: /* now fill in the information that depends on the file system ty
break
;
case
FS_FAT1216
:
case
FS_FAT32
:
default:
/* default to FAT file system (FIXME) */
if
(
fsname
)
lstrcpynW
(
fsname
,
fatW
,
fsname_len
);
if
(
filename_len
)
*
filename_len
=
255
;
if
(
flags
)
*
flags
=
FILE_CASE_PRESERVED_NAMES
;
/* FIXME */
break
;
default:
if
(
fsname
)
lstrcpynW
(
fsname
,
ntfsW
,
fsname_len
);
if
(
filename_len
)
*
filename_len
=
255
;
if
(
flags
)
*
flags
=
FILE_CASE_PRESERVED_NAMES
;
break
;
}
return
TRUE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment