Rémi Bernon : winebus.sys: Add more trace messages.
Module: wine Branch: master Commit: 1429d211ac0c1df9fb65691b0443f08820f05dd4 URL: https://gitlab.winehq.org/wine/wine/-/commit/1429d211ac0c1df9fb65691b0443f08... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Mon Jan 3 17:23:38 2022 +0100 winebus.sys: Add more trace messages. --- dlls/winebus.sys/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/winebus.sys/main.c b/dlls/winebus.sys/main.c index 1037295c955..35f84bd9e29 100644 --- a/dlls/winebus.sys/main.c +++ b/dlls/winebus.sys/main.c @@ -322,6 +322,8 @@ static DEVICE_OBJECT *bus_create_hid_device(struct device_desc *desc, UINT64 uni list_add_tail(&device_list, &ext->entry); RtlLeaveCriticalSection(&device_list_cs); + + TRACE("created device %p/%#I64x\n", device, unix_device); return device; } @@ -415,7 +417,7 @@ static BOOL deliver_next_report(struct device_extension *ext, IRP *irp) if (TRACE_ON(hid)) { - TRACE("read input report length %lu:\n", report->length); + TRACE("device %p/%#I64x input report length %lu:\n", ext->device, ext->unix_device, report->length); for (i = 0; i < report->length;) { char buffer[256], *buf = buffer;
participants (1)
-
Alexandre Julliard