[APPHELP_APITEST] Add tests for SdbGetMatchingExe, to test matching on version resour...
[reactos.git] / reactos / drivers / multimedia / audio / sndblst.old / sbdebug.h
1 #ifndef NDEBUG
2 #define TEST_STATUS(s) \
3 if (! NT_SUCCESS(s)) \
4 { \
5 if (s == STATUS_NO_MORE_ENTRIES) \
6 DPRINT("NTSTATUS == NO MORE ENTRIES\n"); \
7 else if (s == STATUS_BUFFER_OVERFLOW) \
8 DPRINT("NTSTATUS == BUFFER OVERFLOW\n"); \
9 else if (s == STATUS_BUFFER_TOO_SMALL) \
10 DPRINT("NTSTATUS == BUFFER TOO SMALL\n"); \
11 else if (s == STATUS_INVALID_PARAMETER) \
12 DPRINT("NTSTATUS == INVALID PARAMETER\n"); \
13 else if (s == STATUS_OBJECT_NAME_NOT_FOUND) \
14 DPRINT("NTSTATUS == OBJECT NAME NOT FOUND\n"); \
15 else if (s == STATUS_INVALID_HANDLE) \
16 DPRINT("NTATATUS == INVALID_HANDLE\n"); \
17 else if (s == STATUS_ACCESS_DENIED) \
18 DPRINT("NTSTATUS == ACCESS_DENIED\n"); \
19 else \
20 DPRINT("NTSTATUS == FAILURE (Unknown)\n"); \
21 }
22 #else
23 #define TEST_STATUS(s)
24 #endif