Skip to content

Latest commit

 

History

History
149 lines (113 loc) · 3.94 KB

ns-nspapi-service_address.md

File metadata and controls

149 lines (113 loc) · 3.94 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:nspapi._SERVICE_ADDRESS
SERVICE_ADDRESS (nspapi.h)
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.
*LPSERVICE_ADDRESS
*PSERVICE_ADDRESS
SERVICE_ADDRESS
SERVICE_ADDRESS structure [Winsock]
SERVICE_ADDRESS_FLAG_RPC_CN
SERVICE_ADDRESS_FLAG_RPC_DG
SERVICE_ADDRESS_FLAG_RPC_NB
_win32_service_address_2
nspapi/SERVICE_ADDRESS
winsock.service_address_2
winsock\service_address_2.htm
WinSock
5fc99e3a-7316-4950-9249-968bbc4168c2
12/05/2018
*LPSERVICE_ADDRESS, *PSERVICE_ADDRESS, SERVICE_ADDRESS, SERVICE_ADDRESS structure [Winsock], SERVICE_ADDRESS_FLAG_RPC_CN, SERVICE_ADDRESS_FLAG_RPC_DG, SERVICE_ADDRESS_FLAG_RPC_NB, _win32_service_address_2, nspapi/SERVICE_ADDRESS, winsock.service_address_2
nspapi.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
SERVICE_ADDRESS, *PSERVICE_ADDRESS, *LPSERVICE_ADDRESS
19H1
_SERVICE_ADDRESS
nspapi/_SERVICE_ADDRESS
PSERVICE_ADDRESS
nspapi/PSERVICE_ADDRESS
SERVICE_ADDRESS
nspapi/SERVICE_ADDRESS
c++
APIRef
kbSyntax
HeaderDef
Nspapi.h
SERVICE_ADDRESS

SERVICE_ADDRESS structure

-description

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.

-struct-fields

-field dwAddressType

Type: DWORD

The address family to which the socket address pointed to by lpAddress member belongs.

-field dwAddressFlags

Type: DWORD

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.

-field dwAddressLength

Type: DWORD

The size, in bytes, of the address.

-field dwPrincipalLength

Type: DWORD

Reserved for future use. Must be zero.

-field lpAddress.size_is

-field lpAddress.size_is.dwAddressLength

-field lpAddress

Type: BYTE*

A pointer to a socket address of the appropriate type.

-field lpPrincipal.size_is

-field lpPrincipal.size_is.dwPrincipalLength

-field lpPrincipal

Type: BYTE*

Reserved for future use. Must be NULL.

-see-also

SERVICE_ADDRESSES

SERVICE_INFO