Export (0) Print
Expand All

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:
© 2014 Microsoft