Share via


OALPCIFindNextId (Windows Embedded CE 6.0)

1/5/2010

This function searches the PCI bus for cards that match the device ID.

Syntax

BOOL OALPCIFindNextId(
  UINT32 busId,
  UINT32 deviceId,
  OAL_PCI_LOCATION *pPciLoc
);

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.
  • deviceId
    [in] Specifies the device ID that is the target of the search.
  • pPciLoc
    [in] Pointer to an OAL_PCI_LOCATION structure. This parameter specifies the device location. The search begins with the position next to the actual position specified by pPciLoc.

Return Value

When a device with a specified identifier is found, OALPCIFindNextId returns TRUE. Otherwise, it returns FALSE.

Remarks

Requirements

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

See Also

Reference

PCI Functions