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:d3d9.IDirect3DDevice9Ex.CreateOffscreenPlainSurfaceEx |
IDirect3DDevice9Ex::CreateOffscreenPlainSurfaceEx (d3d9.h) |
Create an off-screen surface. (IDirect3DDevice9Ex.CreateOffscreenPlainSurfaceEx) |
|
direct3d9\idirect3ddevice9ex_createoffscreenplainsurfaceex.htm |
direct3d9 |
VS|directx_sdk|~\idirect3ddevice9ex_createoffscreenplainsurfaceex.htm |
12/05/2018 |
63d121fa-1b4f-16db-b792-c30558006ddb, CreateOffscreenPlainSurfaceEx, CreateOffscreenPlainSurfaceEx method [Direct3D 9], CreateOffscreenPlainSurfaceEx method [Direct3D 9],IDirect3DDevice9Ex interface, IDirect3DDevice9Ex interface [Direct3D 9],CreateOffscreenPlainSurfaceEx method, IDirect3DDevice9Ex.CreateOffscreenPlainSurfaceEx, IDirect3DDevice9Ex::CreateOffscreenPlainSurfaceEx, d3d9/IDirect3DDevice9Ex::CreateOffscreenPlainSurfaceEx, direct3d9.idirect3ddevice9ex_createoffscreenplainsurfaceex |
d3d9.h |
Windows |
D3D9.lib |
Windows |
19H1 |
|
|
|
|
|
|
Create an off-screen surface.
Type: UINT
Width of the surface.
Type: UINT
Height of the surface.
Type: D3DFORMAT
Format of the surface. See D3DFORMAT.
Type: D3DPOOL
Surface pool type. See D3DPOOL.
Type: IDirect3DSurface9**
Pointer to the IDirect3DSurface9 interface created.
Type: HANDLE*
Reserved. Set this parameter to NULL. This parameter can be used in Direct3D 9 for Windows Vista to share resources.
Type: DWORD
Combination of one or more D3DUSAGE constants which can be OR'd together. Value of 0 indicates no usage.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be the following: D3DERR_INVALIDCALL.
D3DPOOL_SCRATCH will return a surface that has identical characteristics to a surface created by the DirectX 8.x method CreateImageSurface.
D3DPOOL_DEFAULT is the appropriate pool for use with the IDirect3DDevice9::StretchRect and IDirect3DDevice9::ColorFill.
D3DPOOL_MANAGED is not allowed when creating an offscreen plain surface. For more information about memory pools, see D3DPOOL.
Off-screen plain surfaces are always lockable, regardless of their pool types.