IopGetLegacyVetoListDeviceNode

UINT8 __stdcall IopGetLegacyVetoListDeviceNode(_DEVICE_NODE *DeviceNode, _IO_GET_LEGACY_VETO_LIST_CONTEXT *Context){
  _DEVICE_NODE *i; 
  bool v6; 

  if( (DeviceNode->CapabilityFlags & 0x8000) != 0 )
  {
    v6 = *(_QWORD *)Context == 0i64;
    **((_DWORD **)Context + 2) = 1;
    if( v6 || !IopAppendLegacyVeto((const VOID ***)Context, (const VOID **)&DeviceNode->InstancePath) )
      return 0;
  }
  for( i = DeviceNode->Child; i; i = i->Sibling )
  {
    if( !IopGetLegacyVetoListDeviceNode(i, Context) )
      return 0;
  }
  return 1;
}

Referenced by:

IoGetLegacyVetoList
IopGetLegacyVetoListDeviceNode