RpcIfIdVectorFree function (rpcdce.h)

The RpcIfIdVectorFree function frees the vector and the interface-identification structures contained in the vector.

Syntax

RPC_STATUS RpcIfIdVectorFree(
  RPC_IF_ID_VECTOR **IfIdVector
);

Parameters

IfIdVector

Address of a pointer to a vector of interface information. On return, the pointer is set to NULL.

Return value

Value Meaning
RPC_S_OK
The call succeeded.
RPC_S_INVALID_ARG
The argument was invalid.
 
Note  For a list of valid error codes, see RPC Return Values.
 

Remarks

An application calls the RpcIfIdVectorFree function to release the memory used to store a vector of interface identifications. RpcIfIdVectorFree frees memory containing the interface identifications and the vector itself. On return, this function sets the IfIdVec parameter to NULL.

An application obtains a vector of interface identifications by calling the RpcNsMgmtEntryInqIfIds and RpcMgmtInqIfIds functions.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header rpcdce.h (include Rpc.h)
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

RpcIfInqId

RpcMgmtInqIfIds

RpcNsMgmtEntryInqIfIds