Skip to content

Latest commit

 

History

History
90 lines (64 loc) · 3.37 KB

nc-d3d10umddi-pfnd3d10_2ddi_getsupportedversions.md

File metadata and controls

90 lines (64 loc) · 3.37 KB
UID title description old-location ms.date keywords 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 tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3d10umddi.PFND3D10_2DDI_GETSUPPORTEDVERSIONS
PFND3D10_2DDI_GETSUPPORTEDVERSIONS (d3d10umddi.h)
The GetSupportedVersions function queries for the Direct3D interface versions that the driver supports.
display\getsupportedversions.htm
05/10/2018
PFND3D10_2DDI_GETSUPPORTEDVERSIONS callback function
GetSupportedVersions, GetSupportedVersions callback function [Display Devices], PFND3D10_2DDI_GETSUPPORTEDVERSIONS, PFND3D10_2DDI_GETSUPPORTEDVERSIONS callback, UserModeDisplayDriverDx11_Functions_065e47e6-c02d-4091-b614-a93aa834cbfb.xml, d3d10umddi/GetSupportedVersions, display.getsupportedversions
d3d10umddi.h
D3d10umddi.h, Prdrvcom.h
Desktop
GetSupportedVersions is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D10_2DDI_GETSUPPORTEDVERSIONS
d3d10umddi/PFND3D10_2DDI_GETSUPPORTEDVERSIONS
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D10_2DDI_GETSUPPORTEDVERSIONS

PFND3D10_2DDI_GETSUPPORTEDVERSIONS callback function

-description

The GetSupportedVersions function queries for the Direct3D interface versions that the driver supports.

-parameters

-param unnamedParam1

hAdapter [in]

A handle that identifies the graphics adapter.

-param puEntries

A pointer to a variable that, on input, contains the number of entries that the pSupportedDDIInterfaceVersions array should return and, on output, the number of entries that the pSupportedDDIInterfaceVersions array actually returns.

-param pSupportedDDIInterfaceVersions

A pointer to a block of memory that receives the array of Direct3D interface versions that the driver supports.

-returns

GetSupportedVersions returns one of the following values:

Return code Description
S_OK The capabilities are successfully retrieved.
E_OUTOFMEMORY GetSupportedVersions could not allocate memory that is required for it to complete.

-remarks

When the Direct3D runtime calls the driver's OpenAdapter10_2 function, the Interface and Version members of the D3D10DDIARG_OPENADAPTER structure contain the DDI version that the runtime uses to instantiate the driver. The driver can completely ignore these members. The driver can instead return capabilities and version information out through its GetSupportedVersions function.

-see-also

D3D10DDIARG_OPENADAPTER

D3D10_2DDI_ADAPTERFUNCS

OpenAdapter10_2