PnpSetRegistryResourceList

NTSTATUS __fastcall PnpSetRegistryResourceList(VOID *KeyHandle, __int64 a2, _DWORD *a3){
  _OBJECT_TYPE *v5; 
  UINT64 DataSize; 
  _UNICODE_STRING DestinationString; 

  DestinationString = 0i64;
  RtlInitUnicodeString(&DestinationString, L"BootConfig");
  if( !a3 )
    return ZwDeleteValueKey(KeyHandle, &DestinationString, v5);
  LODWORD(DataSize) = PnpDetermineResourceListSize(a3);
  return ZwSetValueKey(KeyHandle, &DestinationString, 0i64, 8ui64, a3, DataSize);
}

Referenced by:

IoReportDetectedDevice