https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f6baf266e10324039969c…
commit f6baf266e10324039969cbdeb47f35c1feded9fc
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Dec 15 16:21:24 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Dec 15 20:19:29 2018 +0100
[PSDK] PSDK-compatibility: Add the SList function declarations to winbase.h.
---
sdk/include/psdk/winbase.h | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/sdk/include/psdk/winbase.h b/sdk/include/psdk/winbase.h
index 8e46723667..5f2c867ac2 100644
--- a/sdk/include/psdk/winbase.h
+++ b/sdk/include/psdk/winbase.h
@@ -3883,11 +3883,41 @@ InitOnceExecuteOnce(
_Inout_opt_ PVOID Parameter,
_Outptr_opt_result_maybenull_ LPVOID *Context);
+
+#if defined(_SLIST_HEADER_) && !defined(_NTOS_) && !defined(_NTOSP_)
+
WINBASEAPI
VOID
WINAPI
InitializeSListHead(
- _Out_ PSLIST_HEADER ListHead);
+ _Out_ PSLIST_HEADER ListHead);
+
+WINBASEAPI
+PSLIST_ENTRY
+WINAPI
+InterlockedPopEntrySList(
+ _Inout_ PSLIST_HEADER ListHead);
+
+WINBASEAPI
+PSLIST_ENTRY
+WINAPI
+InterlockedPushEntrySList(
+ _Inout_ PSLIST_HEADER ListHead,
+ _Inout_ PSLIST_ENTRY ListEntry);
+
+WINBASEAPI
+PSLIST_ENTRY
+WINAPI
+InterlockedFlushSList(
+ _Inout_ PSLIST_HEADER ListHead);
+
+WINBASEAPI
+USHORT
+WINAPI
+QueryDepthSList(
+ _In_ PSLIST_HEADER ListHead);
+
+#endif /* _SLIST_HEADER_ */
#ifdef _MSC_VER
#pragma warning(pop)