OALIoTransBusAddress (Windows CE 5.0)
This function translates the bus-relative address to the system address, which can be used for I/O operations.
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 Values
TRUE indicates success.
FALSE indicates failure.
Remarks
Requirements
OS Versions: Windows CE Version 5.0 and later
Header: Oal_io.h
Link Library: Developer-defined
See Also
Send Feedback on this topic to the authors