Share via


SS_TranslateSystemAddr (Windows Embedded CE 6.0)

1/6/2010

This function translates a system address to a PC Card address.

Syntax

STATUS (*SS_TranslateSystemAddr)(
  HANDLE hSocket,
  INTERFACE_TYPE InterfaceType,
  ULONG BusNumber,
  PHYSICAL_ADDRESS SystemAddress,
  PPHYISCAL_ADDRESS TranslatedAddress
);

Parameters

  • hSocket
    [in] Handle passed during the card detect event notification.
  • InterfaceType
    [in] Bus interface type. Type of bus on which the direct memory access (DMA) controller resides.
  • BusNumber
    [in] Zero-based and system-assigned bus number for the device, used together with InterfaceType to identify the bus for systems with more than one bus of the same type.
  • SystemAddress
    [in] System physical address to translate.
  • TranslatedAddress
    [out] Translated bus-relative logical address.

Return Value

Returns one of the return codes defined in the Cardsv2.h header file.

Requirements

Header socksv2.h
Library Pcc_serv.dll
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Socket Service Functions

Other Resources

PC Card Drivers