Skip to content

Commit 4ae3867

Browse files
author
Dmitry Fleytman
committed
ControlDevice: Always log full device ID including serial number
Signed-off-by: Dmitry Fleytman <[email protected]>
1 parent 1340ea0 commit 4ae3867

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

UsbDk/ControlDevice.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,15 +1013,19 @@ void CUsbDkRedirection::Dump() const
10131013

10141014
void CUsbDkRedirection::NotifyRedirectorCreated(CUsbDkFilterDevice *RedirectorDevice)
10151015
{
1016-
TraceEvents(TRACE_LEVEL_ERROR, TRACE_WDFDEVICE, "%!FUNC! Redirector created for %wZ", m_DeviceID);
1016+
TraceEvents(TRACE_LEVEL_ERROR, TRACE_WDFDEVICE, "%!FUNC! Redirector created for");
1017+
Dump();
1018+
10171019
m_RedirectorDevice = RedirectorDevice;
10181020
m_RedirectorDevice->AddRef();
10191021
m_RedirectionCreated.Set();
10201022
}
10211023

10221024
void CUsbDkRedirection::NotifyRedirectionRemovalStarted()
10231025
{
1024-
TraceEvents(TRACE_LEVEL_ERROR, TRACE_WDFDEVICE, "%!FUNC! Redirector removal started for %wZ", m_DeviceID);
1026+
TraceEvents(TRACE_LEVEL_ERROR, TRACE_WDFDEVICE, "%!FUNC! Redirector removal started for");
1027+
Dump();
1028+
10251029
m_RemovalInProgress = true;
10261030
m_RedirectorDevice->Release();
10271031
m_RedirectorDevice = nullptr;

0 commit comments

Comments
 (0)