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
77973e7e
Commit
77973e7e
authored
Feb 22, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Implement IsApiSetImplemented().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cb2fb8c2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
module.c
dlls/kernel32/tests/module.c
+0
-1
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-0
loader.c
dlls/kernelbase/loader.c
+16
-0
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/kernel32/tests/module.c
View file @
77973e7e
...
...
@@ -1469,7 +1469,6 @@ static void test_apisets(void)
return
;
}
if
(
!
pApiSetQueryApiSetPresenceEx
)
win_skip
(
"ApiSetQueryApiSetPresenceEx not implemented
\n
"
);
todo_wine
if
(
!
pIsApiSetImplemented
)
win_skip
(
"IsApiSetImplemented not implemented
\n
"
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
tests
);
i
++
)
...
...
dlls/kernelbase/kernelbase.spec
View file @
77973e7e
...
...
@@ -868,6 +868,7 @@
# @ stub InternetTimeToSystemTimeW
# @ stub InvalidateAppModelVersionCache
@ stub InvalidateTzSpecificCache
@ stdcall IsApiSetImplemented(str)
@ stdcall IsCharAlphaA(long)
@ stdcall IsCharAlphaNumericA(long)
@ stdcall IsCharAlphaNumericW(long)
...
...
dlls/kernelbase/loader.c
View file @
77973e7e
...
...
@@ -468,6 +468,22 @@ FARPROC WINAPI DECLSPEC_HOTPATCH GetProcAddress( HMODULE module, LPCSTR function
/***********************************************************************
* IsApiSetImplemented (kernelbase.@)
*/
BOOL
WINAPI
IsApiSetImplemented
(
LPCSTR
name
)
{
UNICODE_STRING
str
;
NTSTATUS
status
;
BOOLEAN
in_schema
,
present
;
if
(
!
RtlCreateUnicodeStringFromAsciiz
(
&
str
,
name
))
return
FALSE
;
status
=
ApiSetQueryApiSetPresenceEx
(
&
str
,
&
in_schema
,
&
present
);
RtlFreeUnicodeString
(
&
str
);
return
!
status
&&
present
;
}
/***********************************************************************
* LoadLibraryA (kernelbase.@)
*/
HMODULE
WINAPI
DECLSPEC_HOTPATCH
LoadLibraryA
(
LPCSTR
name
)
...
...
include/winbase.h
View file @
77973e7e
...
...
@@ -2406,6 +2406,7 @@ WINBASEAPI VOID WINAPI InitOnceInitialize(PINIT_ONCE);
WINBASEAPI
PSLIST_ENTRY
WINAPI
InterlockedFlushSList
(
PSLIST_HEADER
);
WINBASEAPI
PSLIST_ENTRY
WINAPI
InterlockedPopEntrySList
(
PSLIST_HEADER
);
WINBASEAPI
PSLIST_ENTRY
WINAPI
InterlockedPushEntrySList
(
PSLIST_HEADER
,
PSLIST_ENTRY
);
WINBASEAPI
BOOL
WINAPI
IsApiSetImplemented
(
LPCSTR
);
WINBASEAPI
BOOL
WINAPI
IsBadCodePtr
(
FARPROC
);
WINBASEAPI
BOOL
WINAPI
IsBadHugeReadPtr
(
LPCVOID
,
UINT_PTR
);
WINBASEAPI
BOOL
WINAPI
IsBadHugeWritePtr
(
LPVOID
,
UINT_PTR
);
...
...
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