Share via


SERVICE_ADDRESS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

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

Header winsock2.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

SERVICE_ADDRESSES
SERVICE_INFO