CmSetDeviceContainerMappedProperty
__int64 __fastcall CmSetDeviceContainerMappedProperty(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5){
unsigned int v5;
DEVPROPKEY **v6;
unsigned int v7;
DEVPROPKEY *v8;
__int64 v10;
v5 = -1073741802;
if( !a4 )
{
v6 = &off_140007960;
v7 = 0;
while( 1 )
{
v8 = *v6;
if( *(_DWORD *)(a5 + 16) == (*v6)->pid )
{
v10 = *(_QWORD *)a5 - *(_QWORD *)&v8->fmtid.Data1;
if( *(_QWORD *)a5 == *(_QWORD *)&v8->fmtid.Data1 )
v10 = *(_QWORD *)(a5 + 8) - *(_QWORD *)v8->fmtid.Data4;
if( !v10 )
break;
}
++v7;
v6 += 2;
if( v7 >= 4 )
return v5;
}
return(unsigned int)-1073741790;
}
return v5;
}Referenced by:
CmDeleteDeviceContainerWorker
PnpDispatchDeviceContainer