ConfigSize

This function is similar to the ConfigRsrc function because it queries the device for resource information.

static BOOL ConfigSize(
  PPCI_DEV_INFO pInfo 
);

Parameters

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

ConfigSize fills out the members of the PCI_DEV_INFO structure. If the resource is memory-mapped, the MemLen and MemBase members of the structure are updated to reflect the base address and size of the memory resource. If the resource is I/O-mapped, the IoLen and IoBase members of the structure are updated to reflect the base address and size of the I/O resource.

Requirements

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

See Also

ConfigInit | ConfigRsrc | ConfigSet | DeviceConfig | PCI_DEV_INFO | PCI Bus Configuration and Enumeration

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.