RpcStringFree

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

#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcStringFree( 
  unsigned char * *  String  
);
 

Parameters

String
Points to a pointer to the character string to free.

Remarks

The RpcStringFree routine deallocates the memory containing a NULL-terminated character string returned by the RPC run-time library.

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

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

RpcBindingToStringBinding, RpcNsBindingInqEntryName, RpcStringBindingParse