Elizabeth Figura (@zfigura) commented about dlls/winebth.sys/winebth.c:
return STATUS_NO_MEMORY;
- irp->IoStatus.Information = (ULONG_PTR)buf.string;
- return STATUS_SUCCESS;
+}
static NTSTATUS WINAPI pdo_pnp( DEVICE_OBJECT *device_obj, IRP *irp ) { IO_STACK_LOCATION *stack = IoGetCurrentIrpStackLocation(irp);
struct bluetooth_radio *device = device_obj->DeviceExtension; NTSTATUS ret = irp->IoStatus.Status;
TRACE( "device_obj %p, irp %p, minor function %s\n", device_obj, irp, debugstr_minor_function_code( stack->MinorFunction ) ); switch (stack->MinorFunction) {
case IRP_MN_QUERY_DEVICE_RELATIONS:
This doesn't look right at all. Why is the PDO handling this IRP?