/* This function is used to create a IOV VF resource node. */
PCI_RESOURCE_NODE* CreateVfResourceNode(IN PCI_IO_DEVICE *PciDev, IN UINT64 Length, IN UINT64 Alignment, IN UINT8 Bar, IN PCI_BAR_TYPE ResType, IN PCI_RESOURCE_USAGE ResUsage)
/* This function is used to create a IOV VF resource node. */
PCI_RESOURCE_NODE* CreateVfResourceNode(IN PCI_IO_DEVICE *PciDev, IN UINT64 Length, IN UINT64 Alignment, IN UINT8 Bar, IN PCI_BAR_TYPE ResType, IN PCI_RESOURCE_USAGE ResUsage)
{
  PCI_RESOURCE_NODE  *Node;
  Node = CreateResourceNode (PciDev, Length, Alignment, Bar, ResType, ResUsage);
  if (Node == NULL) {
    return Node;
  }
  Node->Virtual = TRUE;
  return Node;
}