Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a buffer into which data can be marshaled for transmission.
Syntax
HRESULT GetBuffer(
  [in, out] RPCOLEMESSAGE *pMessage,
  [in]      REFIID        riid
);
Parameters
[in, out] pMessage
A pointer to an RPCOLEMESSAGE data structure.
[in] riid
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
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] | 
| Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | objidl.h (include ObjIdl.h) |