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 |
|
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 |
|
|
|
|
|
The GetSupportedVersions function queries for the Direct3D interface versions that the driver supports.
hAdapter [in]
A handle that identifies the graphics adapter.
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.
A pointer to a block of memory that receives the array of Direct3D interface versions that the driver supports.
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. |
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.