The SERVICE_ADDRESS structure contains address information for a service. The structure can accomodate many types of interprocess communications (IPC) mechanisms and their address forms, including remote procedure calls (RPCs), named pipes, and sockets.
typedef struct _SERVICE_ADDRESS {
DWORD dwAddressType;
DWORD dwAddressFlags;
DWORD dwAddressLength;
DWORD dwPrincipalLength;
BYTE *lpAddress;
BYTE *lpPrincipal;
} SERVICE_ADDRESS;
Members
dwAddressType
Specifies the address family that the socket address pointed to by lpAddress belongs to.
dwAddressFlags
A set of bit flags that specify properties of the address. The following bit flags are defined:
Value | Meaning |
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
Specifies the size, in bytes, of the address.
dwPrincipalLength
This member is reserved for future use. It must be zero.
lpAddress
Points to a socket address of the appropriate type.
lpPrincipal
This member is reserved for future use. It must be NULL.
See Also