Partager via


OALIoReadBusData (Windows Embedded CE 6.0)

1/5/2010

This function reads data from the device configuration space as specified by the first parameter.

Syntax

UINT32 OALIoReadBusData(
  DEVICE_LOCATION *pDevLoc,
  UINT32 address,
  UINT32 size,
  VOID *pData
);

Parameters

  • address
    [in] Address to read from in device configuration space.
  • size
    [in] Specifies the size of the data to be read, in bytes.
  • pData
    [out] Pointer to the data read from the device configuration space.

Return Value

This function returns the number of bytes read.

Remarks

On most hardware platforms, this function supports only PCI bus-based devices.

Requirements

Header oal_io.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

I/O Functions