Skip to content

Latest commit

 

History

History
139 lines (107 loc) · 4.21 KB

nf-d3d9-idirect3d9exoverlayextension-checkdeviceoverlaytype.md

File metadata and controls

139 lines (107 loc) · 4.21 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:d3d9.IDirect3D9ExOverlayExtension.CheckDeviceOverlayType
IDirect3D9ExOverlayExtension::CheckDeviceOverlayType (d3d9.h)
Queries the overlay hardware capabilities of a Direct3D device. (IDirect3D9ExOverlayExtension.CheckDeviceOverlayType)
CheckDeviceOverlayType
CheckDeviceOverlayType method [Media Foundation]
CheckDeviceOverlayType method [Media Foundation]
IDirect3D9ExOverlayExtension interface
IDirect3D9ExOverlayExtension interface [Media Foundation]
CheckDeviceOverlayType method
IDirect3D9ExOverlayExtension.CheckDeviceOverlayType
IDirect3D9ExOverlayExtension::CheckDeviceOverlayType
d3d9/IDirect3D9ExOverlayExtension::CheckDeviceOverlayType
mf.idirect3d9exoverlayextension_checkdeviceoverlaytype
mf\idirect3d9exoverlayextension_checkdeviceoverlaytype.htm
mf
83880b6f-f8a0-4be4-a400-ea86ca41f9e7
12/05/2018
CheckDeviceOverlayType, CheckDeviceOverlayType method [Media Foundation], CheckDeviceOverlayType method [Media Foundation],IDirect3D9ExOverlayExtension interface, IDirect3D9ExOverlayExtension interface [Media Foundation],CheckDeviceOverlayType method, IDirect3D9ExOverlayExtension.CheckDeviceOverlayType, IDirect3D9ExOverlayExtension::CheckDeviceOverlayType, d3d9/IDirect3D9ExOverlayExtension::CheckDeviceOverlayType, mf.idirect3d9exoverlayextension_checkdeviceoverlaytype
d3d9.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IDirect3D9ExOverlayExtension::CheckDeviceOverlayType
d3d9/IDirect3D9ExOverlayExtension::CheckDeviceOverlayType
c++
APIRef
kbSyntax
COM
d3d9.h
IDirect3D9ExOverlayExtension.CheckDeviceOverlayType

IDirect3D9ExOverlayExtension::CheckDeviceOverlayType

-description

Queries the overlay hardware capabilities of a Direct3D device.

-parameters

-param Adapter [in]

An ordinal number that denotes the display adapter. D3DADAPTER_DEFAULT is always the primary display adapter.

-param DevType [in]

Specifies the Direct3D device type as a member of the D3DDEVTYPE enumerated type.

-param OverlayWidth [in]

The width of the overlay to create, in pixels.

-param OverlayHeight [in]

The height of the overlay to create, in pixels.

-param OverlayFormat [in]

The surface format of the overlay.

-param pDisplayMode [in]

A pointer to a D3DDISPLAYMODEEX structure that specifies the display mode that will be used. If this parameter is NULL, the current display mode is assumed.

-param DisplayRotation [in]

Specifies the display rotation mode as a member of the D3DDISPLAYROTATION enumerated type.

-param pOverlayCaps [out]

A pointer to a D3DOVERLAYCAPS structure. If the driver supports the overlay settings specified in the input parameters, the method fills this structure with the capabilities of the overlay hardware.

-returns

This method can return one of these values.

Return code Description
D3DERR_INVALIDCALL
Invalid parameter, or the device does not support hardware overlay.
D3DERR_UNSUPPORTEDOVERLAY
The device does not support overlay for the specified size or display mode.
D3DERR_UNSUPPORTEDOVERLAYFORMAT
The device does not support overlay for the specified surface format.

-see-also

Hardware Overlay Support

IDirect3D9ExOverlayExtension