IRpcChannelBuffer::GetBuffer method

Retrieves a buffer into which data can be marshaled for transmission.

Syntax


HRESULT GetBuffer(
  [in, out]  RPCOLEMESSAGE *pMessage,
  [in]       REFIID riid
);

Parameters

pMessage [in, out]

A pointer to an RPCOLEMESSAGE data structure.

riid [in]

A reference to the identifier of the interface to be marshaled.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IRpcChannelBuffer is defined as D5F56B60-593B-101A-B569-08002B2DBF7A

See also

IRpcChannelBuffer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft