Partager via


PCIInitInfo

This function fills in a PCI_REG_INFO structure from the arguments.

void PCIInitInfo(
  LPCWSTR RegPath,
  DWORD Bus,
  DWORD Device,
  DWORD Function,
  DWORD SysIntr,
  PPCI_COMMON_CONFIG pCfg,
  PPCI_REG_INFO pInfo
);

Parameters

  • RegPath
    [in] Registry key name to place information about the device. For example, L"Drivers\\BuiltIn\\PCI\\Instance\\KITL".
  • Bus
    [in] PCI bus number of the device that the registry describes.
  • Device
    [in] PCI device number of the device that the registry describes.
  • Function
    [in] PCI function number of the device that the registry describes.
  • SysIntr
    [in] SYSINTR of device, as assigned by the OAL.
  • pCfg
    [in] Pointer to a PCI_COMMON_CONFIG structure, which contains the device's PCI configuration space information.
  • pInfo
    [out] Pointer to an initialized PCI_REG_INFO structure.

Return Values

None.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: PCIReg.h.
Link Library: PCIReg.lib.

See Also

PCI_COMMON_CONFIG | PCI_REG_INFO | PCI Device Support

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.