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
18d3ad83
Commit
18d3ad83
authored
Jun 05, 1999
by
Dave Pickles
Committed by
Alexandre Julliard
Jun 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub for SetVolumeLabel().
parent
991fc358
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
drive.c
files/drive.c
+21
-1
winbase.h
include/winbase.h
+3
-0
kernel32.spec
relay32/kernel32.spec
+1
-1
No files found.
files/drive.c
View file @
18d3ad83
...
...
@@ -1202,7 +1202,27 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label,
return
ret
;
}
BOOL
WINAPI
SetVolumeLabelA
(
LPCSTR
rootpath
,
LPCSTR
volname
)
{
/***********************************************************************
* SetVolumeLabelA (KERNEL32.675)
*/
BOOL
WINAPI
SetVolumeLabelA
(
LPCSTR
rootpath
,
LPCSTR
volname
)
{
FIXME_
(
dosfs
)(
"(%s,%s),stub!
\n
"
,
rootpath
,
volname
);
return
TRUE
;
}
/***********************************************************************
* SetVolumeLabelW (KERNEL32.676)
*/
BOOL
WINAPI
SetVolumeLabelW
(
LPCWSTR
rootpath
,
LPCWSTR
volname
)
{
LPSTR
xroot
,
xvol
;
BOOL
ret
;
xroot
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
rootpath
);
xvol
=
HEAP_strdupWtoA
(
GetProcessHeap
(),
0
,
volname
);
ret
=
SetVolumeLabelA
(
xroot
,
xvol
);
HeapFree
(
GetProcessHeap
(),
0
,
xroot
);
HeapFree
(
GetProcessHeap
(),
0
,
xvol
);
return
ret
;
}
include/winbase.h
View file @
18d3ad83
...
...
@@ -1680,6 +1680,9 @@ BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
#define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes)
UINT
WINAPI
SetHandleCount
(
UINT
);
#define SetSwapAreaSize(w) (w)
BOOL
WINAPI
SetVolumeLabelA
(
LPCSTR
,
LPCSTR
);
BOOL
WINAPI
SetVolumeLabelW
(
LPCWSTR
,
LPCWSTR
);
#define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel)
DWORD
WINAPI
SizeofResource
(
HMODULE
,
HRSRC
);
#define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
DWORD
WINAPI
VerLanguageNameA
(
UINT
,
LPSTR
,
UINT
);
...
...
relay32/kernel32.spec
View file @
18d3ad83
...
...
@@ -694,7 +694,7 @@ import ntdll.dll
673 stdcall SetTimeZoneInformation(ptr) SetTimeZoneInformation
674 stdcall SetUnhandledExceptionFilter(ptr) SetUnhandledExceptionFilter
675 stdcall SetVolumeLabelA(str str) SetVolumeLabelA
676 st
ub
SetVolumeLabelW
676 st
dcall SetVolumeLabelW(wstr wstr)
SetVolumeLabelW
677 stdcall SetupComm(long long long) SetupComm
678 stdcall SizeofResource(long long) SizeofResource
679 stdcall Sleep(long) Sleep
...
...
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