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
| 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
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| 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
Send comments about this topic to Microsoft
Build date: 5/28/2009