ConfigSet

This function sets the base address of a resource.

static BOOL ConfigSet(
  PPCI_RSRC pRsrc
);

Parameters

  • pRsrc
    [in] Pointer to a PCI_RSRC structure.

Return Values

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 is assigning base addresses to all resources on the PCI bus.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdcfg.c.
Link Library: Gdcfg.lib.

See Also

ConfigInit | ConfigRsrc | ConfigSize | DeviceConfig | PCI_RSRC | PCI Bus Configuration and Enumeration

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.