RpcStringFree function (rpcdce.h)

The RpcStringFree function frees a character string allocated by the RPC run-time library.

Syntax

RPC_STATUS RpcStringFree(
  RPC_CSTR *String
);

Parameters

String

Pointer to a pointer to the character string to free.

Return value

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

Remarks

An application is responsible for calling RpcStringFree once for each character string allocated and returned by calls to other RPC run-time library routines.

Requirements

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

See also

RpcBindingToStringBinding

RpcNsBindingInqEntryName

RpcStringBindingParse