Compartilhar via


OALPCICfgWrite (Windows CE 5.0)

Send Feedback

This function writes to the PCI configuration space at the location specified by pciLoc.

UINT32 OALPCICfgWrite(  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 to be stored.
  • size
    [in] Size of the address space based on the size of the pData parameter.
  • pData
    [in] Pointer to the data to write to the device configuration space.

Return Values

Returns the number of bytes written to the device configuration space.

Remarks

OALPCICfgWrite is hardware dependent and, in most cases, it is 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.