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.
Declared in "include/rpcdcep.h". gitlab.winehq.org/wine/wine/blob/master/include/rpcdcep.h
Implemented in "dlls/rpcrt4/rpc_message.c". gitlab.winehq.org/wine/wine/blob/master/dlls/rpcrt4/rpc_message.c
Debug channel "rpc".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.