The RpcNetworkInqProtseqs function returns all protocol sequences supported by both the RPC run-time library and the operating system.
This function is supported by both 32-bit platforms — Windows NT and Windows 95.
For a list of Microsoft RPC's supported protocol sequences, see the reference topic String Binding in RPC Data Types and Structures.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqs(
RPC_PROTSEQ_VECTOR * * ProtSeqVector
);
Note RpcNetworkInqProtseqs is available for server applications, not client applications, using Microsoft RPC. Use RpcNetworkIsProtseqValid in client applications.
A server application calls the RpcNetworkInqProtseqs routine to obtain a vector containing the protocol sequences supported by both the RPC run-time library and the operating system. If there are no supported protocol sequences, this routine returns the RPC_S_NO_PROTSEQS status code and a ProtSeqVector argument value of NULL.
The server is responsible for calling the RpcProtseqVectorFree routine to release the memory used by the vector.
Value | Meaning |
---|---|
RPC_S_OK | Success |
RPC_S_NO_PROTSEQS | No supported protocol sequences |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.