* PROJECT: ReactOS kernel-mode tests
* LICENSE: GPLv2+ - See COPYING in the top level directory
* PURPOSE: Kernel-Mode Test Suite Example Test Driver
- * PROGRAMMER: Thomas Faber <thfabba@gmx.de>
+ * PROGRAMMER: Thomas Faber <thomas.faber@reactos.org>
*/
#include <ntddk.h>
#define KMT_DEFINE_TEST_FUNCTIONS
#include <kmt_test.h>
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
#include <kmt_public.h>
Status = IoCreateDevice(DriverObject, 0, &DeviceName,
FILE_DEVICE_UNKNOWN,
FILE_DEVICE_SECURE_OPEN | FILE_READ_ONLY_DEVICE,
- TRUE, &TestDeviceObject);
+ Flags & TESTENTRY_NO_EXCLUSIVE_DEVICE ? FALSE : TRUE,
+ &TestDeviceObject);
if (!NT_SUCCESS(Status))
{