SERVICE_ADDRESS Structure
The SERVICE_ADDRESS 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 (RPC), named pipes, and sockets.
Syntax
typedef struct _SERVICE_ADDRESS {
DWORD dwAddressType;
DWORD dwAddressFlags;
DWORD dwAddressLength;
DWORD dwPrincipalLength;
BYTE *lpAddress;
BYTE *lpPrincipal;
} SERVICE_ADDRESS;
Mitglieder
dwAddressType
Typ: DWORDThe address family to which the socket address pointed to by lpAddress member belongs.
dwAddressFlags
Typ: DWORDA set of bit flags that specify properties of the address. The following bit flags are defined.
Wert Bedeutung 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
Typ: DWORDThe size, in bytes, of the address.
dwPrincipalLength
Typ: DWORDReserved for future use. Must be zero.
lpAddress
Typ: BYTE*A pointer to a socket address of the appropriate type.
lpPrincipal
Typ: BYTE*Reserved for future use. Must be NULL.
Anforderungen
Mindestens unterstützter Client |
Windows 2000 Professional |
Mindestens unterstützter Server |
Windows 2000 Server |
Header |
Nspapi.h |