Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBuffer
Collapse the table of content
Expand the table of content

GetBuffer method

Returns a specific buffer in the ISurfacePresenter interface.

Internet Explorer 9

 

Syntax


HRESULT retVal = object.GetBuffer(backBufferIndex, riid, ppBuffer);

Parameters

backBufferIndex [in]

Type: UINT

The index of the desired back buffer.

riid [in]

Type: REFIID

The interface from which to get the back buffer.

ppBuffer [out, retval]

Type: void

A buffer in the surface presenter.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The interface request must match the mode that the presenter was opened with.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft