Compartilhar via


OALPCICfgRead (Windows CE 5.0)

Send Feedback

This function reads the PCI configuration space located at the address specified by the pciLoc parameter.

UINT32 OALPCICfgRead(  UINT32 busId,  OAL_PCI_LOCATION pciLoc,  UINT32 offset,  UINT32 size,  VOID *pData);

Parameters

  • busId
    [in] Identifies the PCI bus controller if there are multiple PCI bus controllers on the system. Set this parameter to 0 to represent the first bus controller, set this value to 1 to represent the second bus controller, and so on.
  • pciLoc
    [in] Specifies an OAL_PCI_LOCATION structure.
  • offset
    [in] Specifies the address in which pData is stored.
  • size
    [in] Size of the address space based on the size of the pData parameter.
  • pData
    [out] Pointer to the data read from the device configuration space.

Return Values

Returns the number of bytes read from the device configuration space.

Remarks

OALPCICfgRead is hardware dependent and is typically implemented in the SOC library or it is hardware platform specific.

Requirements

OS Versions: Windows CE Version 5.0 and later
Header: Oal_pci.h
Link Library: Developer-defined

See Also

PCI Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.