https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7554829576754dd2e4de8…
commit 7554829576754dd2e4de85f40d32f54d23e45925
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Sep 8 10:05:41 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat Sep 8 10:06:40 2018 +0200
[DDK] Add NT6+ implementation for Rx*PrefixTableLock macros
---
sdk/include/ddk/prefix.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sdk/include/ddk/prefix.h b/sdk/include/ddk/prefix.h
index f3fbb10e17..44291cf041 100644
--- a/sdk/include/ddk/prefix.h
+++ b/sdk/include/ddk/prefix.h
@@ -99,6 +99,10 @@ VOID
RxpReleasePrefixTableLock(
_In_ PRX_PREFIX_TABLE pTable,
_In_ BOOLEAN ProcessBufferingStateChangeRequests);
+#else
+#define RxAcquirePrefixTableLockShared(T, W)
ExAcquireResourceSharedLite(&(T)->TableLock, (W))
+#define RxAcquirePrefixTableLockExclusive(T, W)
ExAcquireResourceExclusiveLite(&(T)->TableLock, (W))
+#define RxReleasePrefixTableLock(T) ExReleaseResourceLite(&(T)->TableLock)
#endif
VOID