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
a01e2896
Commit
a01e2896
authored
Jan 15, 2000
by
Ove Kaaven
Committed by
Alexandre Julliard
Jan 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made SetVolumeLabel report failure on CD-ROM drives.
parent
8362da15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
drive.c
files/drive.c
+22
-3
No files found.
files/drive.c
View file @
a01e2896
...
...
@@ -1267,10 +1267,29 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label,
/***********************************************************************
* SetVolumeLabelA (KERNEL32.675)
*/
BOOL
WINAPI
SetVolumeLabelA
(
LPCSTR
rootpath
,
LPCSTR
volname
)
BOOL
WINAPI
SetVolumeLabelA
(
LPCSTR
root
,
LPCSTR
volname
)
{
FIXME
(
"(%s,%s),stub!
\n
"
,
rootpath
,
volname
);
return
TRUE
;
int
drive
;
/* FIXME, SetLastErrors missing */
if
(
!
root
)
drive
=
DRIVE_GetCurrentDrive
();
else
{
if
((
root
[
1
])
&&
(
root
[
1
]
!=
':'
))
{
WARN
(
"invalid root '%s'
\n
"
,
root
);
return
FALSE
;
}
drive
=
toupper
(
root
[
0
])
-
'A'
;
}
if
(
!
DRIVE_IsValid
(
drive
))
return
FALSE
;
/* some copy protection stuff check this */
if
(
DRIVE_GetType
(
drive
)
==
TYPE_CDROM
)
return
FALSE
;
FIXME
(
"(%s,%s),stub!
\n
"
,
root
,
volname
);
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