McTemplateK0qhzr1z_EtwWriteTransfer
NTSTATUS __fastcall McTemplateK0qhzr1z_EtwWriteTransfer(
INT64 a1,
INT64 a2,
INT64 a3,
INT64 a4,
UINT16 a5,
INT64 a6,
const WCHAR *a7){
const WCHAR *v7;
__int64 v8;
int v9;
EVENT_DATA_DESCRIPTOR EventData;
int *v12;
__int64 v13;
UINT16 *v14;
__int64 v15;
INT64 v16;
int v17;
int v18;
const WCHAR *v19;
int v20;
int v21;
int v22;
v22 = a4;
v7 = a7;
v12 = &v22;
v13 = 4i64;
v14 = &a5;
v16 = a6;
v15 = 2i64;
v17 = 2 * a5;
v18 = 0;
if( a7 )
{
v8 = -1i64;
do
++v8;
while( a7[v8] );
v9 = 2 * v8 + 2;
}
else
{
v9 = 10;
}
v20 = v9;
v21 = 0;
if( !a7 )
v7 = L"NULL";
v19 = v7;
return McGenEventWrite_EtwWriteTransfer(
&MS_KernelPnP_Provider_Context,
(EVENT_DESCRIPTOR *)&KMPnPEvt_DeviceAdd_Start,
0i64,
5ui64,
&EventData);
}Referenced by:
PnpCallAddDevice