I_RpcGetBuffer(3w)
NAME
I_RpcGetBuffer (RPCRT4.@)
SYNOPSIS
RPC_STATUS I_RpcGetBuffer
(
PRPC_MESSAGE pMsg
)
DESCRIPTION
Allocates a buffer for use by I_RpcSend or I_RpcSendReceive and binds
to the server interface.
PARAMS
pMsg [In/Out] RPC message information.
RETURNS
Success: RPC_S_OK.
Failure: RPC_S_INVALID_BINDING if pMsg->Handle is invalid.
RPC_S_SERVER_UNAVAILABLE if unable to connect to server. ERROR_OUTOFMEMORY if buffer allocation failed.
NOTES
The pMsg->BufferLength field determines the size of the buffer to allocate, in bytes.
Use I_RpcFreeBuffer(3w) to unbind from the server and free the message
buffer.
SEE ALSO
I_RpcFreeBuffer(), I_RpcSend(3w), I_RpcReceive(3w), I_RpcSendReceive(3w).
IMPLEMENTATION
Defined in "rpcdcep.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/rpcrt4/rpc_message.c".
- Debug channel "rpc".