DDKPCIINFO (Windows CE 5.0)

Send Feedback

This structure tracks standard PCI device instance information.

typedef struct _DDKPCIINFO_tag {DWORD cbSize;DWORD dwDeviceNumber;DWORD dwFunctionNumber;DWORD dwInstanceIndex;DWORD dwWhichIds;DWORD idVals[PCIID_MAXNUMIDS];} DDKPCIINFO, *PDDKPCIINFO;

Members

  • cbSize
    Size of this structure.
  • dwDeviceNumber
    PCI device number. Use DeviceNumber in the registry.
  • dwFunctionNumber
    PCI function number. This indicates a single function device on a multifunction PCI card. Use FunctionNumber in the registry.
  • dwInstanceIndex
    PCI device instance number. Use InstanceIndex in the registry.
  • dwWhichIds
    Bitmask of PCIID_XXX values, indicating which identifier values are present in the idVals array.
  • idVals
    Array of device identifiers, representing a device's PCI Class, Subclass, and so on. Because not all possible identifiers are guaranteed to be present in the registry, view the dwWhichIds bitmask to determine which ones are present in this structure.

Remarks

Because registry values corresponding to the instance members of this structure must be present for useful PCI information to be returned, they are required for a successful return code. Not all PCI device identifier information is guaranteed to be present. The Class, SubClass, ProgIF, VendorID, DeviceID, RevisionID, SubVendorID, and SubSystemID registry values populate the idVals array. For each of these values found, its entry in idVals is initialized and its bit in dwWhichIds is set. For example, if a SubClass value is found in the registry, it is used to initialize idVals[PCIID_SUBCLASS] and the PCIIDM_SUBCLASS bit is set in dwWhichIds.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ddkreg.h.

See Also

Interrupts | Loading Device Drivers | PCI Bus Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.