/* Manages the multicast receive filters of a network interface. */
EFI_STATUS WinNtSnpReceiveFilters(IN EMU_SNP_PROTOCOL *This, IN UINT32 Enable, IN UINT32 Disable, IN BOOLEAN ResetMCastFilter, IN UINTN MCastFilterCnt OPTIONAL, IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL)
/* Manages the multicast receive filters of a network interface. */
EFI_STATUS WinNtSnpReceiveFilters(IN EMU_SNP_PROTOCOL *This, IN UINT32 Enable, IN UINT32 Disable, IN BOOLEAN ResetMCastFilter, IN UINTN MCastFilterCnt OPTIONAL, IN EFI_MAC_ADDRESS *MCastFilter OPTIONAL)
{
  WIN_NT_SNP_PRIVATE  *Private;
  INT32               ReturnValue;
  Private = WIN_NT_SNP_PRIVATE_DATA_FROM_THIS (This);
  ReturnValue = Private->NtNetUtilityTable.SetReceiveFilter (
                                             Private->Instance.InterfaceInfo.InterfaceIndex,
                                             Enable,
                                             (UINT32)MCastFilterCnt,
                                             MCastFilter
                                             );
  if (ReturnValue <= 0) {
    return EFI_DEVICE_ERROR;
  }
  return EFI_SUCCESS;
}