McTemplateK0z_EtwWriteTransfer
NTSTATUS __fastcall McTemplateK0z_EtwWriteTransfer(INT64 a1, const EVENT_DESCRIPTOR *a2, INT64 a3, const WCHAR *a4){
__int64 v4;
int v5;
EVENT_DATA_DESCRIPTOR EventData;
const WCHAR *v8;
int v9;
int v10;
if( a4 )
{
v4 = -1i64;
do
++v4;
while( a4[v4] );
v5 = 2 * v4 + 2;
}
else
{
v5 = 10;
}
v9 = v5;
v10 = 0;
if( !a4 )
a4 = L"NULL";
v8 = a4;
return McGenEventWrite_EtwWriteTransfer(
&MS_KernelPnP_Provider_Context,
(EVENT_DESCRIPTOR *)a2,
0i64,
2ui64,
&EventData);
}Referenced by:
PiCMQueryRemove
PiUEventSendDeviceInstallNotification
PipProcessDevNodeTree
PnpInsertEventInQueue
PnpLogActionQueueEvent
PnpProcessTargetDeviceEvent