RpcProtseqVectorFree

The RpcProtseqVectorFree function frees the protocol sequences contained in the vector and the vector itself.

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 RpcProtseqVectorFree( 
  RPC_PROTSEQ_VECTOR * *  ProtSeqVector  
);
 

Parameters

ProtSeqVector
Points to a pointer to a vector of protocol sequences. On return, the pointer is set to NULL.

Note  RpcProtseqVectorFree is available for server applications, not client applications, using Microsoft RPC.

Remarks

A server calls the RpcProtseqVectorFree routine to release the memory used to store a vector of protocol sequences and the individual protocol sequences. RpcProtseqVectorFree sets the ProtSeqVector argument to a null value.

A server obtains a vector of protocol sequences by calling the RpcNetworkInqProtseqs routine.

Return Values

Value Meaning
RPC_S_OK Success

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.
  Import Library: Link with rpcrt4.lib.

See Also

RpcNetworkInqProtseqs