I_RpcGetBuffer(3w)

I_RpcGetBuffer3w

Usage

RPC_STATUS I_RpcGetBuffer
(
PRPC_MESSAGE pMsg
)

Overview

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.

Implementation

Declared in "rpcdcep.h".

Implemented in "dlls/rpcrt4/rpc_message.c".

Debug channel "rpc".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.