I_RpcGetBuffer (RPCRT4.@)
RPC_STATUS I_RpcGetBuffer ( PRPC_MESSAGE pMsg )
Allocates a buffer for use by I_RpcSend or I_RpcSendReceive and binds to the server interface.
pMsg | [In/Out] | RPC message information. |
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.
The pMsg->BufferLength field determines the size of the buffer to allocate, in bytes.
Use I_RpcFreeBuffer to unbind from the server and free the message buffer.
I_RpcFreeBuffer, I_RpcSend, I_RpcReceive, I_RpcSendReceive.
Defined in "rpcdcep.h".
Implemented in "dlls/rpcrt4/rpc_message.c". source.winehq.org/source/dlls/rpcrt4/rpc_message.c
Debug channel "rpc".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.