Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
32eeb85c
Commit
32eeb85c
authored
Dec 13, 2000
by
Eric Kohl
Committed by
Alexandre Julliard
Dec 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented _ultow() and export [Nt/Zw]QueryVolumeInformationFile().
parent
d848c251
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
+37
-3
nt.c
dlls/ntdll/nt.c
+1
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+3
-2
wcstring.c
dlls/ntdll/wcstring.c
+33
-0
No files found.
dlls/ntdll/nt.c
View file @
32eeb85c
...
...
@@ -2,7 +2,7 @@
* NT basis DLL
*
* This file contains the Nt* API functions of NTDLL.DLL.
* In the original ntdll.dll they all seem to just call int 0x2e (down to the
HA
L)
* In the original ntdll.dll they all seem to just call int 0x2e (down to the
NTOSKRN
L)
*
* Copyright 1996-1998 Marcus Meissner
*/
...
...
dlls/ntdll/ntdll.spec
View file @
32eeb85c
...
...
@@ -185,6 +185,7 @@ debug_channels (aspi atom cdrom console ddraw debug delayhlp dll dosfs dosmem
@ stdcall NtQueryTimerResolution(long long long) NtQueryTimerResolution
@ stdcall NtQueryValueKey(long long long long long long) NtQueryValueKey
@ stub NtQueryVirtualMemory
@ stdcall NtQueryVolumeInformationFile(long ptr ptr long long) NtQueryVolumeInformationFile
@ stdcall NtRaiseException(ptr ptr long) NtRaiseException
@ stub NtRaiseHardError
@ stdcall NtReadFile(long long long long long long long long long) NtReadFile
...
...
@@ -686,7 +687,7 @@ debug_channels (aspi atom cdrom console ddraw debug delayhlp dll dosfs dosmem
@ stub ZwQueryTimerResolution
@ stub ZwQueryValueKey
@ stub ZwQueryVirtualMemory
@ st
ub Zw
QueryVolumeInformationFile
@ st
dcall ZwQueryVolumeInformationFile(long ptr ptr long long) Nt
QueryVolumeInformationFile
@ stub ZwRaiseException
@ stub ZwRaiseHardError
@ stdcall ZwReadFile(long long long long long long long long long) NtReadFile
...
...
@@ -894,7 +895,7 @@ debug_channels (aspi atom cdrom console ddraw debug delayhlp dll dosfs dosmem
@ cdecl _strnicmp(str str long) strncasecmp
@ cdecl _strupr(str) _strupr
@ cdecl _ultoa(long ptr long) _ultoa
@
stub
_ultow
@
cdecl _ultow(long ptr long)
_ultow
@ cdecl _vsnprintf(ptr long ptr ptr) vsnprintf
@ cdecl _wcsicmp(wstr wstr) NTDLL__wcsicmp
@ cdecl _wcslwr(wstr) NTDLL__wcslwr
...
...
dlls/ntdll/wcstring.c
View file @
32eeb85c
...
...
@@ -301,3 +301,36 @@ INT __cdecl NTDLL_iswalpha( WCHAR wc )
{
return
get_char_typeW
(
wc
)
&
C1_ALPHA
;
}
/*********************************************************************
* _ultow (NTDLL)
* Like _ultoa, but for wide character strings.
*/
LPWSTR
__cdecl
_ultow
(
ULONG
value
,
LPWSTR
string
,
INT
radix
)
{
WCHAR
tmp
[
33
];
LPWSTR
tp
=
tmp
;
LPWSTR
sp
;
LONG
i
;
ULONG
v
=
value
;
if
(
radix
>
36
||
radix
<=
1
)
return
0
;
while
(
v
||
tp
==
tmp
)
{
i
=
v
%
radix
;
v
=
v
/
radix
;
if
(
i
<
10
)
*
tp
++
=
i
+
'0'
;
else
*
tp
++
=
i
+
'a'
-
10
;
}
sp
=
string
;
while
(
tp
>
tmp
)
*
sp
++
=
*--
tp
;
*
sp
=
0
;
return
string
;
}
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