PiDevCfgConfigureDeviceDriverConfiguration

NTSTATUS __stdcall PiDevCfgConfigureDeviceDriverConfiguration(
        _DEVICE_NODE *DeviceNode,
        PI_DEVCFG_DEVICE_CONTEXT *DeviceContext,
        VOID *ConfigurationKeyHandle,
        UINT64 ConfigurationScope,
        UINT64 *ConfigFlags,
        UINT64 *ConfigStatus){
  unsigned int v6; 
  NTSTATUS result; 
  UINT64 *v11; 
  UINT64 *v12; 

  v6 = ConfigurationScope;
  if( (ConfigurationScope & 1) == 0 )
    return PiDevCfgConfigureDeviceKeys(DeviceNode, DeviceContext, ConfigurationKeyHandle, v6, v11, v12);
  result = PiDevCfgCopyObjectProperties(*(&stru_140CF2E80 + 607), 0i64, 0, ConfigurationKeyHandle);
  if( result >= 0 )
    return PiDevCfgConfigureDeviceKeys(DeviceNode, DeviceContext, ConfigurationKeyHandle, v6, v11, v12);
  return result;
}

Referenced by:

PiDevCfgConfigureDeviceDriver
PiDevCfgMigrateDevice