OALIoTransBusAddress (Windows Embedded CE 6.0)
1/5/2010
This function translates the bus-relative address to the system address, which can be used for I/O operations.
Syntax
BOOL OALIoTransBusAddress(
INTERFACE_TYPE ifcType,
UINT32 busNumber,
UINT64 busAddress,
UINT32 *pAddressSpace,
UINT64 *pSystemAddress
);
Parameters
- ifcType
[in] Bus type specified by the INTERFACE_TYPE enumeration.
- busNumber
[in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.
- busAddress
[in] Bus-relative address.
- pAddressSpace
[in, out] On output, a pointer to a port number or a memory address. pAddressSpace 0x0 indicates memory, 0x1 indicates I/O space.
- pSystemAddress
[out] Pointer to the translated system address.
Return Value
TRUE indicates success.
FALSE indicates failure.
Requirements
Header | oal_io.h |
Library | Developer Implemented |
Windows Embedded CE | Windows CE 5.0 and later |