Andrew Riedi wrote:
- if (TRACE_ON(relay))
DPRINTF( "%04x:Call driver dispatch %p (device=%p,irp=%p)\n",
GetCurrentThreadId(), dispatch, device, &irp );
- TRACE_(relay)( "%04x:Call driver dispatch %p (device=%p,irp=%p)\n",
GetCurrentThreadId(), dispatch, device, &irp );
Please don't change relay traces to use TRACE. This channel has specific requirements and so doesn't benefit from using TRACE instead of DPRINTF.