PnpDiagInitialize
__int64 __fastcall PnpDiagInitialize(__int64 a1, __int64 a2){
int v2;
unsigned int v3;
int v4;
v2 = (unsigned int)McGenEventRegister_EtwRegister(
(_LPCGUID)MS_KernelPnP_Provider,
a2,
(char *)&stru_140C00F40 + 4704,
(unsigned __int64 *)&stru_140C00F40 + 588);
v3 = 0;
RegHandle = *(&stru_140C00F40 + 588);
if( v2 < 0 )
v3 = v2;
v4 = (unsigned int)EtwRegister(
(_LPCGUID)&MS_KernelPnP_Rundown_Provider,
(PETWENABLECALLBACK)PnpDiagRundownRegisterCallback,
0i64,
(PREGHANDLE)&stru_140CF2E80 + 605);
if( v4 < 0 )
return(unsigned int)v4;
return v3;
}Referenced by:
IopInitializePlugPlayServices