Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
3/26/2014
This function retrieves configuration data, starting at the offset, about a slot or address on an I/O bus.
Syntax
ULONG GetDeviceConfigurationData (
HANDLE hBusAccess,
DWORD dwSpace,
DWORD BusNumber,
DWORD SlotNumber,
DWORD dwOffset,
DWORD dwLength,
PVOID pBuffer
);
Parameters
- hBusAccess
[in] Handle obtained from CreateBusAccessHandle.
dwSpace
[in] Configuration address space from which to get information. The following list shows the address spaces you can specify:- For a PCI bus, you can use PCI_WHICHSPACE_CONFIG or PCI_WHICHSPACE_ROM.
These are defined in %_WINCEROOT%\Public\Common\DDK\Inc\Cebuscfg.h.
- BusNumber
[in] Zero-based and system-assigned bus number for the device, used with InterfaceType to identify the bus for systems with more than one bus of the same type.
- SlotNumber
[in] Logical slot number or location of the device. This value is the slot and function numbers combined.
- dwOffset
[in] Byte offset in the PCI_COMMON_CONFIG structure for which the requested information should be returned. Callers can use the system-defined constant PCI_COMMON_HDR_LENGTH to specify the device-specific area of PCI_COMMON_CONFIG.
- dwLength
[in] Maximum number of bytes in pBuffer.
- pBuffer
[out] Pointer to a buffer to receive configuration information.
Return Value
Returns the number of bytes of data it received in the specified buffer.
Requirements
Header |
ceddk.h |
Library |
CEDDK.lib |
See Also
Reference
Ceddk.dll Bus Access Functions
CreateBusAccessHandle
HalGetBusDataByOffset
PCI_COMMON_CONFIG