Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft