UNBLOCKED

Brom Mode Mtk Driver -

WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&queueConfig, WdfIoQueueDispatchSequential); queueConfig.EvtIoRead = BROM_EvtIoRead; queueConfig.EvtIoWrite = BROM_EvtIoWrite; return WdfIoQueueCreate(Device, &queueConfig, WDF_NO_OBJECT_ATTRIBUTES, &devExt->Queue);

status = WdfUsbTargetDeviceSendControlTransferSynchronously( devExt->UsbDevice, WDF_NO_HANDLE, NULL, &setupPacket, &memDesc, NULL, &bytesTransferred); brom mode mtk driver

[MTKDevices.NTamd64] %DeviceDesc% = USB_Install, USB\VID_0E8D&PID_0003 %DeviceDesc% = USB_Install, USB\VID_0E8D&PID_2000 queueConfig.EvtIoRead = BROM_EvtIoRead

WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&attributes, DEVICE_EXTENSION); status = WdfDeviceCreate(&Device, &attributes, &Device); if (!NT_SUCCESS(status)) return status; queueConfig.EvtIoWrite = BROM_EvtIoWrite

NTSTATUS BROM_EvtDeviceAdd(WDFDEVICE Device) WDF_IO_QUEUE_CONFIG queueConfig; PDEVICE_EXTENSION devExt; WDF_OBJECT_ATTRIBUTES attributes; WDF_USB_DEVICE_CREATE_CONFIG usbConfig; NTSTATUS status;

WDF_USB_CONTROL_SETUP_PACKET_INIT_VENDOR(&setupPacket, 0x01, 0, 0, Length, TRUE); WdfRequestRetrieveOutputMemory(Request, &memDesc);

[Manufacturer] %MfgName% = MTKDevices, NTx86, NTamd64