次の方法で共有


PCI_DEV_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure describes a PCI device.

Syntax

typedef struct _PCI_DEV_INFO {
  WCHAR RegPath[DEVKEY_LEN];
  DWORD Bus;
  DWORD Device;
  DWORD Function;
  PPCI_COMMON_CONFIG Cfg;
  PCI_RSRC_LIST MemBase;
  PCI_RSRC_LIST MemLen;
  PCI_RSRC_LIST IoBase;
  PCI_RSRC_LIST IoLen;
  BOOL Matched;
  BOOL Configure;
  BOOL ConfigEntry;
  WCHAR ConfigEntryName[DEVENTRY_LEN];
  WCHAR ConfigDllName[DEVDLL_LEN];
  WCHAR DllName[DEVDLL_LEN];
  DWORD DevFlags;
  PPCI_CFG_INFO ConfigInfo;
  DWORD Command;
  DWORD BridgeControl;
  DWORD Latency;
  DWORD SecondaryLatency;
} PCI_DEV_INFO, *PPCI_DEV_INFO; 

Members

  • RegPath
    Registry path to device's registry key.
  • Bus
    PCI device bus number.
  • Device
    PCI device number.
  • Function
    PCI device function number.
  • Cfg
    Copy of the device's configuration registers.
  • MemBase
    Pointer to a structure that contains memory resource base addresses.
  • MemLen
    Pointer to a structure that contains memory resource sizes.
  • IoBase
    Pointer to a structure that contains I/O resource base addresses.
  • IoLen
    Pointer to a structure that contains I/O resource sizes.
  • Matched
    TRUE if this device has been matched to a registry entry.
  • Configure
    TRUE if the PCI bus driver will configure this device.
  • ConfigEntry
    TRUE if there is a configuration routine associated with this device.
  • ConfigEntryName
    Entry point of configuration module.
  • ConfigDllName
    Configuration routine's DLL. Empty string, if the configuration routine is in the device driver DLL.
  • DllName
    Name of device driver DLL.
  • DevFlags
    Device flags from device driver's registry entry.
  • ConfigInfo
    Configuration routine entry point function pointer.
  • Command
    Copy of the Command registry value.
  • BridgeControl
    Copy of the BridgeControl registry value.
  • Latency
    Copy of the Latency registry value.
  • SecondaryLatency
    Copy of the SecondaryLatency registry value.

Requirements

Header pcibus.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

PCI Bus Driver Structures
ConfigInit
ConfigRsrc
ConfigSize
DeviceConfig