Export (0) Print
Expand All
Expand Minimize

RpcStringFree function

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

Syntax


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 client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

Unicode and ANSI names

RpcStringFreeW (Unicode) and RpcStringFreeA (ANSI)

See also

RpcBindingToStringBinding
RpcNsBindingInqEntryName
RpcStringBindingParse

 

 

Community Additions

ADD
Show:
© 2014 Microsoft