SS_TranslateBusAddr (Windows Embedded CE 6.0)
1/6/2010
This function provides a PC Card address to translate to a system address. It is used by PC Card services.
Syntax
STATUS (*SS_TranslateBusAddr)(
HANDLE hSocket,
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 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 |