projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b432a
)
Complain if used outside ntoskrnl/win32k
author
Gé van Geldorp
<ge@gse.nl>
Thu, 1 Dec 2005 23:02:50 +0000
(23:02 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Thu, 1 Dec 2005 23:02:50 +0000
(23:02 +0000)
svn path=/trunk/; revision=19819
reactos/include/reactos/probe.h
patch
|
blob
|
history
diff --git
a/reactos/include/reactos/probe.h
b/reactos/include/reactos/probe.h
index
134c6aa
..
4303cd6
100644
(file)
--- 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}};