From c9ff6fb1216cd45b2781fc285aa578529044a419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Thu, 1 Dec 2005 23:02:50 +0000 Subject: [PATCH] Complain if used outside ntoskrnl/win32k svn path=/trunk/; revision=19819 --- reactos/include/reactos/probe.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/include/reactos/probe.h b/reactos/include/reactos/probe.h index 134c6aa0cc9..4303cd6e677 100644 --- a/reactos/include/reactos/probe.h +++ b/reactos/include/reactos/probe.h @@ -1,6 +1,10 @@ #ifndef INCLUDE_REACTOS_CAPTURE_H #define INCLUDE_REACTOS_CAPTURE_H +#if ! defined(_NTOSKRNL_) && ! defined(_WIN32K_) +#error Header intended for use by NTOSKRNL/WIN32K only! +#endif + static const UNICODE_STRING __emptyUnicodeString = {0}; static const LARGE_INTEGER __emptyLargeInteger = {{0, 0}}; static const ULARGE_INTEGER __emptyULargeInteger = {{0, 0}};