Share via


SERVICE_ADDRESS (Windows CE 5.0)

Send Feedback

This structure contains address information for a service. The structure can accommodate many types of interprocess communications (IPC) mechanisms and their address forms, including remote procedure calls (RPCs) and sockets.

typedef struct _SERVICE_ADDRESS { DWORD dwAddressType; DWORD dwAddressFlags; DWORD dwAddressLength; DWORD dwPrincipalLength; BYTE* lpAddress; BYTE* lpPrincipal; } SERVICE_ADDRESS;

Members

  • dwAddressType
    Address family to which the socket address pointed to by lpAddress belongs.
  • dwAddressFlags
    Set of bit flags that specify properties of the address. The following table shows the bit flags that are defined.
    Value Description
    SERVICE_ADDRESS_FLAG_RPC_CN If this bit flag is set, the service supports connection-oriented RPC over this transport protocol.
    SERVICE_ADDRESS_FLAG_RPC_DG If this bit flag is set, the service supports datagram-oriented RPC over this transport protocol.
    SERVICE_ADDRESS_FLAG_RPC_NB If this bit flag is set, the service supports NetBIOS RPC over this transport protocol.
  • dwAddressLength
    Size, in bytes, of the address.
  • dwPrincipalLength
    Reserved for future use. This must be zero.
  • lpAddress
    Pointer to a socket address of the appropriate type.
  • lpPrincipal
    Reserved for future use. This must be null.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Winsock2.h.

See Also

SERVICE_ADDRESSES | SERVICE_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.