次の方法で共有


TranslateSystemAddr (Compact 2013)

3/26/2014

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

Syntax

BOOL TranslateSystemAddr (
  HANDLE hBusAccess,
  INTERFACE_TYPE InterfaceType,
  ULONG BusNumber,
  PHYSICAL_ADDRESS SystemAddress,
  PPHYSICAL_ADDRESS TranslatedAddress 
);

Parameters

  • 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.
  • SystemAddress
    [in] System physical address.
  • TranslatedAddress
    [out] Pointer to the translated address.

Return Value

Returns TRUE if successful. Otherwise, it returns FALSE.

Requirements

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

Ceddk.dll Bus Access Functions
CreateBusAccessHandle
INTERFACE_TYPE