CmGetDeviceRelationsList
__int64 __fastcall CmGetDeviceRelationsList(__int64 a1, const WCHAR *a2, int a3, __int64 a4, int a5, __int64 a6){
unsigned int v6;
__int64 result;
struct _UNICODE_STRING DestinationString;
v6 = 4;
DestinationString = 0i64;
switch( a3 )
{
case 4:
v6 = 0;
break;
case 8:
v6 = 1;
break;
case 16:
v6 = 2;
break;
case 32:
v6 = 3;
break;
case 64:
break;
default:
return 3221225485i64;
}
result = RtlInitUnicodeStringEx(&DestinationString, (WCHAR *)a2);
if( (int)result >= 0 )
return NtPlugPlayGetDeviceRelationsList(a1, (__int64)&DestinationString, v6, a4, a5, a6);
return result;
}Referenced by:
CmGetDeviceMappedPropertyFromComposite
CmGetMatchingFilteredDeviceListWorker
PiCMGetDeviceIdList