Share via


PciIdeXGetBusData routine

The PciIdeXGetBusData routine retrieves data from the location specified by ConfigDataOffset within the device's PCI configuration space.

Syntax

NTSTATUS PciIdeXGetBusData(
  _In_ PVOID DeviceExtension,
  _In_ PVOID Buffer,
  _In_ ULONG ConfigDataOffset,
  _In_ ULONG BufferLength
);

Parameters

  • DeviceExtension [in]
    Contains a pointer to the device extension of the IDE controller.

  • Buffer [in]
    Contains a pointer to the buffer in which data from the device's PCI bus configuration space is returned.

  • ConfigDataOffset [in]
    Specifies an offset into the device's PCI configuration space where the data to be returned can be found.

  • BufferLength [in]
    Specifies the length in bytes of the buffer.

Return value

PciIdeXGetBusData returns STATUS_SUCCESS if the data was successfully retrieved from the device's PCI configuration space or STATUS_UNSUCCESSFUL if the data could not be retrieved.

Remarks

PcildeXGetBusData stores the retrieved data in Buffer.

Requirements

Target platform

Desktop

Header

Ide.h (include Ide.h)

Library

Pciidex.lib

See also

PciIdeXInitialize

PciIdeXSetBusData

 

 

Send comments about this topic to Microsoft