PiDevCfgPushDriverNodeEntry

NTSTATUS __stdcall PiDevCfgPushDriverNodeEntry(_LIST_ENTRY *DriverNodeStack, _PI_DEVCFG_DRIVER_NODE *DriverNode){
  NTSTATUS v2; 
  _LIST_ENTRY *PoolWithTag; 
  _LIST_ENTRY *Blink; 

  v2 = 0;
  PoolWithTag = (_LIST_ENTRY *)ExAllocatePoolWithTag(1ui64, 0x18ui64, 1667526736i64);
  if( !PoolWithTag )
    return -1073741670;
  PoolWithTag[1].Flink = (_LIST_ENTRY *)DriverNode;
  Blink = DriverNodeStack->Blink;
  if( Blink->Flink != DriverNodeStack )
    __fastfail(3u);
  PoolWithTag->Flink = DriverNodeStack;
  PoolWithTag->Blink = Blink;
  Blink->Flink = PoolWithTag;
  DriverNodeStack->Blink = PoolWithTag;
  return v2;
}

Referenced by:

PiDevCfgQueryIncludedDriverConfigurations