Compartir a través de


SS_TranslateBusAddr (Windows CE 5.0)

Send Feedback

This function provides a PC Card address to translate to a system address. It is used by PC Card services.

STATUS (*SS_TranslateBusAddr)(HANDLEhSocket,INTERFACE_TYPE InterfaceType,  ULONG BusNumber,  PHYSICAL_ADDRESS BusAddress,  PULONG AddressSpace,  PPHYISCAL_ADDRESS TranslatedAddress);

Parameters

  • hSocket
    [in] Handle passed during the card-detect event notification.
  • InterfaceType
    [in] Bus interface type. The maximim number of supported bus types is always MaximumInterfaceType.
  • 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.
  • 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, 0x1 indicates I/O space.
  • TranslatedAddress
    [out] Pointer to the translated address.

Return Values

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

Requirements

OS Versions: Windows CE 5.0 and later
Header: Socksv2.h
Link Library: Pcc_serv.dll

See Also

PC Card Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.