Skip to content

Latest commit

 

History

History
103 lines (73 loc) · 3.44 KB

nf-dxvahd-idxvahd_device-createvideosurface.md

File metadata and controls

103 lines (73 loc) · 3.44 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:dxvahd.IDXVAHD_Device.CreateVideoSurface
IDXVAHD_Device::CreateVideoSurface (dxvahd.h)
Creates one or more Microsoft Direct3D video surfaces.
CreateVideoSurface
CreateVideoSurface method [Media Foundation]
CreateVideoSurface method [Media Foundation]
IDXVAHD_Device interface
IDXVAHD_Device interface [Media Foundation]
CreateVideoSurface method
IDXVAHD_Device.CreateVideoSurface
IDXVAHD_Device::CreateVideoSurface
dxvahd/IDXVAHD_Device::CreateVideoSurface
mf.idxvahd_device_createvideosurface
mf\idxvahd_device_createvideosurface.htm
mf
c467a077-104c-443d-896b-d69441aa5160
12/05/2018
CreateVideoSurface, CreateVideoSurface method [Media Foundation], CreateVideoSurface method [Media Foundation],IDXVAHD_Device interface, IDXVAHD_Device interface [Media Foundation],CreateVideoSurface method, IDXVAHD_Device.CreateVideoSurface, IDXVAHD_Device::CreateVideoSurface, dxvahd/IDXVAHD_Device::CreateVideoSurface, mf.idxvahd_device_createvideosurface
dxvahd.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IDXVAHD_Device::CreateVideoSurface
dxvahd/IDXVAHD_Device::CreateVideoSurface
c++
APIRef
kbSyntax
COM
dxvahd.h
IDXVAHD_Device.CreateVideoSurface

IDXVAHD_Device::CreateVideoSurface

-description

Creates one or more Microsoft Direct3D video surfaces.

-parameters

-param Width [in]

The width of each surface, in pixels.

-param Height [in]

The height of each surface, in pixels.

-param Format [in]

The pixel format, specified as a D3DFORMAT value or FOURCC code. For more information, see Video FOURCCs.

-param Pool [in]

The memory pool in which the surface is created. This parameter must equal the InputPool member of the DXVAHD_VPDEVCAPS structure. Call the IDXVAHD_Device::GetVideoProcessorDeviceCaps method to get this value.

-param Usage [in]

Reserved. Set to 0.

-param Type [in]

The type of surface to create, specified as a member of the DXVAHD_SURFACE_TYPE enumeration.

-param NumSurfaces [in]

The number of surfaces to create.

-param ppSurfaces [out]

A pointer to an array of IDirect3DSurface9 pointers. The NumSurfaces parameter specifies the number of elements in the array. The method fills the array with pointers to the new video surfaces. The caller must release the pointers.

-param pSharedHandle [in, out]

Reserved. Set to NULL.

-returns

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

-see-also

DXVA-HD

IDXVAHD_Device