次の方法で共有


PCIInitInfo (Compact 2013)

3/26/2014

This function fills in a PCI_REG_INFO structure from the arguments.

Syntax

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 Value

None.

Requirements

Header

pcireg.h

Library

PCIReg.lib

See Also

Reference

PCI Bus Driver Functions
PCI_COMMON_CONFIG
PCI_REG_INFO