RPC Functions


RpcStringFree Function

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

Syntax

C++
RPC_STATUS RPC_ENTRY RpcStringFree(
    unsigned char **String
);

Parameters

String

Pointer to a pointer to the character string to free.

Return Value

ValueMeaning
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

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderRpcdce.h (include Rpc.h)
LibraryRpcrt4.lib
DLLRpcrt4.dll
Unicode and ANSI namesRpcStringFreeW (Unicode) and RpcStringFreeA (ANSI)

See Also

RpcBindingToStringBinding
RpcNsBindingInqEntryName
RpcStringBindingParse

Send comments about this topic to Microsoft

Build date: 5/28/2009

Tags :


Page view tracker