Compartilhar via


HwIdeXSyncAccessRequired routine

The HwIdeXSyncAccessRequired routine indicates whether both channels of its controller can be accessed at once.

Syntax

PCIIDE_SYNC_ACCESS_REQUIRED HwIdeXSyncAccessRequired;

BOOLEAN HwIdeXSyncAccessRequired(
  _In_ PVOID DeviceExtension
)
{ ... }

Parameters

  • DeviceExtension [in]
    Contains a pointer to the IDE controller minidriver's device extension.

Return value

HwIdeXSyncAccessRequired returns TRUE if the controller only allows one channel to be accessed at a time; otherwise it returns FALSE.

Remarks

HwIdeXSyncAccessRequired determines whether both channels of its controller can be accessed at once by comparing the controller's Vendor ID and Device ID with a list of the Vendor ID and Device ID of IDE controllers that are known to be single FIFO controllers. The Vendor ID and Device ID of the IDE controller is obtained by consulting the PCI configuration data stored in DeviceExtension.

When the controller driver calls minidriver's HwIdeXGetControllerProperties routine, it passes an IDE_CONTROLLER_PROPERTIES structure to the minidriver. The minidriver must store a pointer to HwIdeXSyncAccessRequired in this structure.

Requirements

Target platform

Desktop

Header

Ide.h (include Ide.h)

See also

HwIdeXGetControllerProperties

IDE_CONTROLLER_PROPERTIES

PciIdeXGetBusData

 

 

Send comments about this topic to Microsoft