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 to unbind from the server and free the message buffer.

SEE ALSO

I_RpcFreeBuffer, I_RpcSend, I_RpcReceive, I_RpcSendReceive.

IMPLEMENTATION

Declared in "rpcdcep.h". https://source.winehq.org/source/include/rpcdcep.h

Implemented in "dlls/rpcrt4/rpc_message.c". https://source.winehq.org/source/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 Apr 2024.