Partager via


ConfigSize (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

static BOOL ConfigSize(
  PPCI_DEV_INFO pInfo 
);

Parameters

Return Value

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

Library Gdcfg.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Device Configuration Functions
ConfigRsrc
PCI_DEV_INFO