25 Jul
2022
25 Jul
'22
7:08 a.m.
R��mi Bernon (@rbernon) commented about dlls/hidclass.sys/pnp.c:
irpsp->MinorFunction = IRP_MN_QUERY_ID; irpsp->Parameters.QueryId.IdType = type;
+ irp->IoStatus.Status = STATUS_NOT_SUPPORTED; if (IoCallDriver(device, irp) == STATUS_PENDING) KeWaitForSingleObject(&event, Executive, KernelMode, FALSE, NULL);
- wcscpy(id, (WCHAR *)irp_status.Information); - ExFreePool((WCHAR *)irp_status.Information); + if (!irp_status.Status) {
Please keep the brace wrapping consistent. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/432#note_4816