RpcNetworkInqProtseqs  K.VWJS

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 Binding1CPK9NH in RPC Data Types and Structures.

#include <rpc.h>

RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqs(

    RPC_PROTSEQ_VECTOR * *  ProtSeqVector

 

   );

 

 

Parameters

ProtSeqVector

Returns a pointer to a pointer to a protocol sequence vector.

 

Remarks

 

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.

Return Values

Value

Meaning

RPC_S_OK

Success

RPC_S_NO_PROTSEQS

No supported protocol sequences

 

See Also

RpcProtseqVectorFree