PpDevCfgTraceDeviceStart

VOID __stdcall PpDevCfgTraceDeviceStart(_DEVICE_NODE *DeviceNode){
  _PNP_DEVNODE_STATE State; 
  bool v2; 

  State = DeviceNode->State;
  if( State >= DeviceNodeInitialized )
  {
    if( State <= DeviceNodeStartPostWork )
    {
      v2 = (DeviceNode->Flags & 0x6000) != 0;
      goto LABEL_4;
    }
    if( State == DeviceNodeStarted )
      goto LABEL_7;
  }
  if( (DeviceNode->Flags & 0x2000) == 0 || DeviceNode->Problem != 56 )
  {
    v2 = 1;
LABEL_4:
    if( !v2 )
      return;
LABEL_7:
    DeviceNode->StateFlags &= ~1u;
    PiDevCfgLogDeviceStarted(DeviceNode);
  }
}

Referenced by:

PipProcessDevNodeTree