Skip to content

Latest commit

 

History

History
100 lines (69 loc) · 4.62 KB

ns-d3dumddi-_d3dddiarg_openadapter.md

File metadata and controls

100 lines (69 loc) · 4.62 KB
UID title description old-location tech.root 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 req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dumddi._D3DDDIARG_OPENADAPTER
_D3DDDIARG_OPENADAPTER (d3dumddi.h)
The D3DDDIARG_OPENADAPTER structure contains information that describes the graphics adapter object.
display\d3dddiarg_openadapter.htm
display
05/10/2018
D3DDDIARG_OPENADAPTER structure
D3DDDIARG_OPENADAPTER, D3DDDIARG_OPENADAPTER structure [Display Devices], UMDisplayDriver_param_Structs_6b07c27c-40f3-497c-ba20-53a19a003ea6.xml, _D3DDDIARG_OPENADAPTER, d3dumddi/D3DDDIARG_OPENADAPTER, display.d3dddiarg_openadapter
d3dumddi.h
D3dumddi.h
Windows
Available in Windows Vista and later versions of the Windows operating systems.
Windows
D3DDDIARG_OPENADAPTER
_D3DDDIARG_OPENADAPTER
d3dumddi/_D3DDDIARG_OPENADAPTER
D3DDDIARG_OPENADAPTER
d3dumddi/D3DDDIARG_OPENADAPTER
APIRef
kbSyntax
HeaderDef
d3dumddi.h
_D3DDDIARG_OPENADAPTER
D3DDDIARG_OPENADAPTER

_D3DDDIARG_OPENADAPTER structure

-description

The D3DDDIARG_OPENADAPTER structure contains information that describes the graphics adapter object.

-struct-fields

-field hAdapter [in/out]

A handle to the graphics adapter object. On input to the OpenAdapter function, hAdapter specifies the handle that the driver should use to query for graphics adapter capabilities when the driver calls the Microsoft Direct3D runtime-supplied pfnQueryAdapterInfoCb callback function.

The driver generates a unique handle and passes it back to the Direct3D runtime. On output from the OpenAdapter function, hAdapter specifies the handle that the Direct3D runtime uses in subsequent driver calls to identify the graphics adapter object.

-field Interface [in]

The Direct3D/DirectDraw interface version (for example, 7, 8, or 9) that opens the graphics adapter.

-field Version [in]

A number that the driver can use to identify when the Direct3D/DirectDraw runtime was built. For example, the driver can use the version number to differentiate between a runtime that is released with Windows Vista and a runtime that is released with a subsequent service pack, which might contain a fix that the driver requires.

-field pAdapterCallbacks [in]

A pointer to a D3DDDI_ADAPTERCALLBACKS structure that contains the Direct3D runtime-supplied pfnQueryAdapterInfoCb callback function that the driver can use.

-field pAdapterFuncs [out]

A pointer to a D3DDDI_ADAPTERFUNCS structure that contains a table of user-mode display driver adapter-specific functions. The Direct3D runtime uses these functions to communicate with the user-mode display driver about operations that are specific to the graphics adapter.

-field DriverVersion [out]

The version of the Direct3D user-mode display driver's interface, which was obtained from the D3dumddi.h header file, that the driver was compiled with. The user-mode display driver should return D3D_UMD_INTERFACE_VERSION.

Note  If a user-mode driver does not support Windows 7 features (DXGKDDI_INTERFACE_VERSION < DXGKDDI_INTERFACE_VERSION_WIN7), and you want to compile the driver with the Windows 7 WDK (Version 7600), make sure that the driver returns D3D_UMD_INTERFACE_VERSION_VISTA.
 

-see-also

D3DDDI_ADAPTERCALLBACKS

D3DDDI_ADAPTERFUNCS

OpenAdapter

pfnQueryAdapterInfoCb