Skip to content

Latest commit

 

History

History
77 lines (62 loc) · 3.56 KB

nf-d3d9helper-idirect3dswapchain9-getfrontbufferdata.md

File metadata and controls

77 lines (62 loc) · 3.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d9helper.IDirect3DSwapChain9.GetFrontBufferData
IDirect3DSwapChain9::GetFrontBufferData (d3d9helper.h)
The IDirect3DSwapChain9::GetFrontBufferData method (d3d9helper.h) generates a copy of the swapchain's front buffer and places that copy in a system memory buffer provided by the application.
8f442969-657a-a5ab-1aa3-ff227fe2f705
GetFrontBufferData
GetFrontBufferData method [Direct3D 9]
GetFrontBufferData method [Direct3D 9]
IDirect3DSwapChain9 interface
IDirect3DSwapChain9 interface [Direct3D 9]
GetFrontBufferData method
IDirect3DSwapChain9.GetFrontBufferData
IDirect3DSwapChain9::GetFrontBufferData
d3d9helper/IDirect3DSwapChain9::GetFrontBufferData
direct3d9.idirect3dswapchain9__getfrontbufferdata
direct3d9\idirect3dswapchain9__getfrontbufferdata.htm
direct3d9
VS|directx_sdk|~\idirect3dswapchain9__getfrontbufferdata.htm
08/12/2022
8f442969-657a-a5ab-1aa3-ff227fe2f705, GetFrontBufferData, GetFrontBufferData method [Direct3D 9], GetFrontBufferData method [Direct3D 9],IDirect3DSwapChain9 interface, IDirect3DSwapChain9 interface [Direct3D 9],GetFrontBufferData method, IDirect3DSwapChain9.GetFrontBufferData, IDirect3DSwapChain9::GetFrontBufferData, d3d9helper/IDirect3DSwapChain9::GetFrontBufferData, direct3d9.idirect3dswapchain9__getfrontbufferdata
d3d9helper.h
D3D9.h
Windows
D3D9.lib
Windows
19H1
IDirect3DSwapChain9::GetFrontBufferData
d3d9helper/IDirect3DSwapChain9::GetFrontBufferData
c++
APIRef
kbSyntax
COM
D3D9.lib
D3D9.dll
IDirect3DSwapChain9.GetFrontBufferData

IDirect3DSwapChain9::GetFrontBufferData

-description

Generates a copy of the swapchain's front buffer and places that copy in a system memory buffer provided by the application.

-parameters

-param pDestSurface [in, out]

Type: IDirect3DSurface9*

Pointer to an IDirect3DSurface9 interface that will receive a copy of the swapchain's front buffer. The data is returned in successive rows with no intervening space, starting from the vertically highest row to the lowest. For windowed mode, the size of the destination surface should be the size of the desktop. For full screen mode, the size of the destination surface should be the screen size.

-returns

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If BackBuffer exceeds or equals the total number of back buffers, the function fails and returns D3DERR_INVALIDCALL.

-remarks

Calling this method will increase the internal reference count on the IDirect3DSurface9 interface. Failure to call IUnknown::Release when finished using this IDirect3DSurface9 interface results in a memory leak.

-see-also

IDirect3DSwapChain9