cfb5c0ae98c5dcc25836ecdf8b6057b7fc7d6a38
[reactos.git] / reactos / lib / authz / precomp.h
1 #define _AUTHZ_
2 #include <windows.h>
3 #include <authz.h>
4
5 ULONG DbgPrint(PCH Format,...);
6 #ifndef DPRINT1
7 #define DPRINT1 DbgPrint
8 #endif
9
10 #ifndef UNIMPLEMENTED
11 #define UNIMPLEMENTED DbgPrint("AUTHZ.DLL: %s is UNIMPLEMENTED!\n", __FUNCTION__)
12 #endif
13
14 #if DBG
15
16 #define RESMAN_TAG 0x89ABCDEF
17 #define VALID_RESMAN_HANDLE(handle) ASSERT(((PAUTHZ_RESMAN)handle)->Tag == RESMAN_TAG)
18 #ifndef ASSERT
19 #define ASSERT(cond) if (!(cond)) { DbgPrint("%s:%i: ASSERTION %s failed!\n", __FILE__, __LINE__, #cond ); }
20 #endif
21
22 #else
23
24 #define VALID_RESMAN_HANDLE(handle)
25 #ifndef ASSERT
26 #define ASSERT(cond)
27 #endif
28
29 #endif
30
31
32 /* EOF */