次の方法で共有


ConfigSet (Compact 2013)

3/26/2014

This function sets the base address of a resource.

Syntax

static BOOL ConfigSet(
  PPCI_RSRC pRsrc
);

Parameters

  • pRsrc
    [in] Pointer to a PCI_RSRC structure.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The Base member of the PCI_RSRC structure defines the base address. The offset member defines the offset to the register that controls the resource address decoder. This function executes when the PCI bus assigns base addresses to all resources on the PCI bus.

Requirements

Header

gdcfg.c

Library

Gdcfg.lib

See Also

Reference

Device Configuration Functions
PCI_RSRC