Export (0) Print
Expand All
Expand Minimize

RpcNetworkInqProtseqs function

The RpcNetworkInqProtseqs function returns all protocol sequences supported by both the RPC run-time library and the operating system. Client applications often use RpcNetworkIsProtseqValid. For a list of Microsoft RPC's supported protocol sequences, see String Binding.

Syntax


RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqs(
  RPC_PROTSEQ_VECTOR **ProtSeqVector
);

Parameters

ProtSeqVector

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

Return value

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_NO_PROTSEQS

No supported protocol sequences.

 

Note  For a list of valid error codes, see RPC Return Values.

Remarks

A server application calls the RpcNetworkInqProtseqs function 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 function returns the RPC_S_NO_PROTSEQS status code and a ProtSeqVector parameter value of NULL.

The server is responsible for calling the RpcProtseqVectorFree function to release the memory used by the vector.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

Unicode and ANSI names

RpcNetworkInqProtseqsW (Unicode) and RpcNetworkInqProtseqsA (ANSI)

See also

RpcNetworkIsProtseqValid

 

 

Community Additions

ADD
Show:
© 2014 Microsoft