=?UTF-8?Q?Michael=20M=C3=BCller=20?=: ntdll: Add stub for ApiSetQueryApiSetPresence.
Alexandre Julliard
julliard at winehq.org
Fri Sep 14 14:20:59 CDT 2018
Module: wine
Branch: master
Commit: 3b0d0642830707e11341c24b975ed1432be2cbc8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3b0d0642830707e11341c24b975ed1432be2cbc8
Author: Michael Müller <michael at fds-team.de>
Date: Wed Sep 12 03:53:50 2018 +0000
ntdll: Add stub for ApiSetQueryApiSetPresence.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
.../api-ms-win-core-apiquery-l1-1-0.spec | 2 +-
dlls/ntdll/misc.c | 12 ++++++++++++
dlls/ntdll/ntdll.spec | 1 +
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec b/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec
index 6d63b5b..1d99dd7 100644
--- a/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec
+++ b/dlls/api-ms-win-core-apiquery-l1-1-0/api-ms-win-core-apiquery-l1-1-0.spec
@@ -1 +1 @@
-@ stub ApiSetQueryApiSetPresence
+@ stdcall ApiSetQueryApiSetPresence(ptr ptr) ntdll.ApiSetQueryApiSetPresence
diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c
index 2431662..f2c0e14 100644
--- a/dlls/ntdll/misc.c
+++ b/dlls/ntdll/misc.c
@@ -504,3 +504,15 @@ NTSTATUS WINAPI NtCreateLowBoxToken(HANDLE *token_handle, HANDLE existing_token_
*token_handle = NULL;
return STATUS_SUCCESS;
}
+
+/*********************************************************************
+ * ApiSetQueryApiSetPresence (NTDLL.@)
+ */
+BOOL WINAPI ApiSetQueryApiSetPresence(const UNICODE_STRING *namespace, BOOLEAN *present)
+{
+ FIXME("(%s, %p) stub!\n", debugstr_us(namespace), present);
+
+ if(present)
+ *present = TRUE;
+ return TRUE;
+}
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index 003e4f9..5e7c463 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -3,6 +3,7 @@
#if you change a Nt.. function DON'T FORGET to change the
#Zw one too.
+@ stdcall ApiSetQueryApiSetPresence(ptr ptr)
@ stub CsrAllocateCaptureBuffer
@ stub CsrAllocateCapturePointer
@ stub CsrAllocateMessagePointer
More information about the wine-cvs
mailing list