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
882d70fe
Commit
882d70fe
authored
Mar 18, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Mar 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Dont forward some msvcrt functions.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
313c06bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
6 deletions
+55
-6
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+49
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+6
-6
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
882d70fe
...
@@ -3291,3 +3291,52 @@ PKEVENT WINAPI IoCreateNotificationEvent(UNICODE_STRING *name, HANDLE *handle)
...
@@ -3291,3 +3291,52 @@ PKEVENT WINAPI IoCreateNotificationEvent(UNICODE_STRING *name, HANDLE *handle)
FIXME
(
"stub: %s %p
\n
"
,
debugstr_us
(
name
),
handle
);
FIXME
(
"stub: %s %p
\n
"
,
debugstr_us
(
name
),
handle
);
return
NULL
;
return
NULL
;
}
}
/*********************************************************************
* memcpy (NTOSKRNL.@)
*
* NOTES
* Behaves like memmove.
*/
void
*
__cdecl
NTOSKRNL_memcpy
(
void
*
dst
,
const
void
*
src
,
size_t
n
)
{
return
memmove
(
dst
,
src
,
n
);
}
/*********************************************************************
* memset (NTOSKRNL.@)
*/
void
*
__cdecl
NTOSKRNL_memset
(
void
*
dst
,
int
c
,
size_t
n
)
{
return
memset
(
dst
,
c
,
n
);
}
int
__cdecl
_stricmp
(
LPCSTR
str1
,
LPCSTR
str2
)
{
return
strcasecmp
(
str1
,
str2
);
}
/*********************************************************************
* _strnicmp (NTOSKRNL.@)
*/
int
__cdecl
_strnicmp
(
LPCSTR
str1
,
LPCSTR
str2
,
size_t
n
)
{
return
strncasecmp
(
str1
,
str2
,
n
);
}
/*********************************************************************
* _wcsnicmp (NTOSKRNL.@)
*/
INT
__cdecl
NTOSKRNL__wcsnicmp
(
LPCWSTR
str1
,
LPCWSTR
str2
,
INT
n
)
{
return
strncmpiW
(
str1
,
str2
,
n
);
}
/*********************************************************************
* wcsncmp (NTOSKRNL.@)
*/
INT
__cdecl
NTOSKRNL_wcsncmp
(
LPCWSTR
str1
,
LPCWSTR
str2
,
INT
n
)
{
return
strncmpW
(
str1
,
str2
,
n
);
}
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
882d70fe
...
@@ -1423,9 +1423,9 @@
...
@@ -1423,9 +1423,9 @@
@ cdecl -private _purecall() msvcrt._purecall
@ cdecl -private _purecall() msvcrt._purecall
@ varargs -private _snprintf(ptr long str) msvcrt._snprintf
@ varargs -private _snprintf(ptr long str) msvcrt._snprintf
@ varargs -private _snwprintf(ptr long wstr) msvcrt._snwprintf
@ varargs -private _snwprintf(ptr long wstr) msvcrt._snwprintf
@ cdecl -private _stricmp(str str)
msvcrt._stricmp
@ cdecl -private _stricmp(str str)
@ cdecl -private _strlwr(str) msvcrt._strlwr
@ cdecl -private _strlwr(str) msvcrt._strlwr
@ cdecl -private _strnicmp(str str long)
msvcrt.
_strnicmp
@ cdecl -private _strnicmp(str str long) _strnicmp
@ cdecl -private _strnset(str long long) msvcrt._strnset
@ cdecl -private _strnset(str long long) msvcrt._strnset
@ cdecl -private _strrev(str) msvcrt._strrev
@ cdecl -private _strrev(str) msvcrt._strrev
@ cdecl -private _strset(str long) msvcrt._strset
@ cdecl -private _strset(str long) msvcrt._strset
...
@@ -1434,7 +1434,7 @@
...
@@ -1434,7 +1434,7 @@
@ cdecl -private _vsnwprintf(ptr long wstr ptr) msvcrt._vsnwprintf
@ cdecl -private _vsnwprintf(ptr long wstr ptr) msvcrt._vsnwprintf
@ cdecl -private _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ cdecl -private _wcsicmp(wstr wstr) msvcrt._wcsicmp
@ cdecl -private _wcslwr(wstr) msvcrt._wcslwr
@ cdecl -private _wcslwr(wstr) msvcrt._wcslwr
@ cdecl -private _wcsnicmp(wstr wstr long)
msvcrt.
_wcsnicmp
@ cdecl -private _wcsnicmp(wstr wstr long)
NTOSKRNL_
_wcsnicmp
@ cdecl -private _wcsnset(wstr long long) msvcrt._wcsnset
@ cdecl -private _wcsnset(wstr long long) msvcrt._wcsnset
@ cdecl -private _wcsrev(wstr) msvcrt._wcsrev
@ cdecl -private _wcsrev(wstr) msvcrt._wcsrev
@ cdecl -private _wcsupr(wstr) msvcrt._wcsupr
@ cdecl -private _wcsupr(wstr) msvcrt._wcsupr
...
@@ -1449,9 +1449,9 @@
...
@@ -1449,9 +1449,9 @@
@ cdecl -private mbstowcs(ptr str long) msvcrt.mbstowcs
@ cdecl -private mbstowcs(ptr str long) msvcrt.mbstowcs
@ cdecl -private mbtowc(ptr str long) msvcrt.mbtowc
@ cdecl -private mbtowc(ptr str long) msvcrt.mbtowc
@ cdecl -private memchr(ptr long long) msvcrt.memchr
@ cdecl -private memchr(ptr long long) msvcrt.memchr
@ cdecl -private memcpy(ptr ptr long)
msvcrt.
memcpy
@ cdecl -private memcpy(ptr ptr long)
NTOSKRNL_
memcpy
@ cdecl -private memmove(ptr ptr long) msvcrt.memmove
@ cdecl -private memmove(ptr ptr long) msvcrt.memmove
@ cdecl -private memset(ptr long long)
msvcrt.
memset
@ cdecl -private memset(ptr long long)
NTOSKRNL_
memset
@ cdecl -private qsort(ptr long long ptr) msvcrt.qsort
@ cdecl -private qsort(ptr long long ptr) msvcrt.qsort
@ cdecl -private rand() msvcrt.rand
@ cdecl -private rand() msvcrt.rand
@ varargs -private sprintf(ptr str) msvcrt.sprintf
@ varargs -private sprintf(ptr str) msvcrt.sprintf
...
@@ -1482,7 +1482,7 @@
...
@@ -1482,7 +1482,7 @@
@ cdecl -private wcscspn(wstr wstr) msvcrt.wcscspn
@ cdecl -private wcscspn(wstr wstr) msvcrt.wcscspn
@ cdecl -private wcslen(wstr) msvcrt.wcslen
@ cdecl -private wcslen(wstr) msvcrt.wcslen
@ cdecl -private wcsncat(wstr wstr long) msvcrt.wcsncat
@ cdecl -private wcsncat(wstr wstr long) msvcrt.wcsncat
@ cdecl -private wcsncmp(wstr wstr long)
msvcrt.
wcsncmp
@ cdecl -private wcsncmp(wstr wstr long)
NTOSKRNL_
wcsncmp
@ cdecl -private wcsncpy(ptr wstr long) msvcrt.wcsncpy
@ cdecl -private wcsncpy(ptr wstr long) msvcrt.wcsncpy
@ cdecl -private wcsrchr(wstr long) msvcrt.wcsrchr
@ cdecl -private wcsrchr(wstr long) msvcrt.wcsrchr
@ cdecl -private wcsspn(wstr wstr) msvcrt.wcsspn
@ cdecl -private wcsspn(wstr wstr) msvcrt.wcsspn
...
...
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