Compartilhar via


TranslateBusAddr (Windows CE 5.0)

Send Feedback

This function translates a physical bus address to a physical system address.

BOOL TranslateBusAddr (
  HANDLE hBusAccess,  INTERFACE_TYPE InterfaceType,  ULONG BusNumber,  PHYSICAL_ADDRESS BusAddress,  PULONG AddressSpace,  PPHYSICAL_ADDRESS TranslatedAddress);

Parameters

  • hBusAccess
    Handle obtained from CreateBusAccessHandle.
  • InterfaceType
    [in] Bus type specified by the INTERFACE_TYPE enumeration.
  • 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.
  • BusAddress
    [in] Bus-relative address.
  • AddressSpace
    [in, out] On input, an initialized PULONG. On output, a port number or a memory address. AddressSpace 0x0 indicates memory and AddressSpace 0x1 indicates I/O space.
  • TranslatedAddress
    [out] Pointer to the translated address.

Return Values

Returns TRUE if successful. Otherwise, it returns FALSE.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: CEDDK.h.

See Also

INTERFACE_TYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.