Attempt to fix #8

This commit is contained in:
Benjamin Höglinger-Stelzer
2018-10-05 19:26:16 +02:00
parent c34afa953d
commit 14c16243c6

View File

@@ -442,7 +442,7 @@ NTSTATUS Bus_CreatePdo(
// Create and assign queue for user-land notification requests
WDF_IO_QUEUE_CONFIG_INIT(&notificationsQueueConfig, WdfIoQueueDispatchManual);
status = WdfIoQueueCreate(hChild, &notificationsQueueConfig, WDF_NO_OBJECT_ATTRIBUTES, &pdoData->PendingNotificationRequests);
status = WdfIoQueueCreate(Device, &notificationsQueueConfig, WDF_NO_OBJECT_ATTRIBUTES, &pdoData->PendingNotificationRequests);
if (!NT_SUCCESS(status))
{
TraceEvents(TRACE_LEVEL_ERROR,