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
);
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.
Value | Meaning |
---|---|
RPC_S_OK | Success |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.
RpcBindingToStringBinding, RpcNsBindingInqEntryName, RpcStringBindingParse