Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RpcBindingVectorFree
Collapse the table of content
Expand the table of content

RpcBindingVectorFree function

The RpcBindingVectorFree function frees the binding handles contained in the vector and the vector itself.

Syntax


RPC_STATUS RPC_ENTRY RpcBindingVectorFree(
   RPC_BINDING_VECTOR **BindingVector
);

Parameters

BindingVector

Pointer to a pointer to a vector of server binding handles. On return, the pointer is set to NULL.

Return value

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_INVALID_ARG

The argument was invalid.

RPC_S_INVALID_BINDING

The binding handle was invalid.

RPC_S_WRONG_KIND_OF_BINDING

This was the wrong kind of binding for the operation.

 

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

Remarks

An application calls the RpcBindingVectorFree function to release the memory used to store a vector of server binding handles. The function frees both the binding handles and the vector itself.

A server obtains a vector of binding handles by calling the RpcServerInqBindings function. A client obtains a vector of binding handles by calling the RpcNsBindingLookupNext function.

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

See also

RpcNsBindingLookupNext
RpcServerInqBindings

 

 

Community Additions

ADD
Show:
© 2015 Microsoft