ConfigSize (Compact 2013)
3/26/2014
This function queries the device for resource information. It is similar to the ConfigRsrc function.
Syntax
static BOOL ConfigSize(
PPCI_DEV_INFO pInfo
);
Parameters
- pInfo
[in] Pointer to a PCI_DEV_INFO structure.
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
Header |
gdcfg.c |
Library |
Gdcfg.lib |