From 71308d491ad6f822a486aee11abe36874541d27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger?= Date: Sat, 12 May 2018 19:33:54 +0200 Subject: [PATCH] Converted Ds4_PrepareHardware --- sys/Ds4.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/Ds4.c b/sys/Ds4.c index b6b6625..b7e4acc 100644 --- a/sys/Ds4.c +++ b/sys/Ds4.c @@ -129,7 +129,10 @@ NTSTATUS Ds4_PrepareHardware(WDFDEVICE Device) status = WdfDeviceAddQueryInterface(Device, &ifaceCfg); if (!NT_SUCCESS(status)) { - KdPrint((DRIVERNAME "WdfDeviceAddQueryInterface failed status 0x%x\n", status)); + TraceEvents(TRACE_LEVEL_ERROR, + TRACE_DRIVER, + "WdfDeviceAddQueryInterface failed with status %!STATUS!", + status); return status; }