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.PFND3D10DDI_OPENADAPTER |
PFND3D10DDI_OPENADAPTER (d3d10umddi.h) |
The OpenAdapter10 function creates a graphics adapter object that is referenced in subsequent calls. |
display\openadapter10.htm |
05/10/2018 |
|
OpenAdapter10, OpenAdapter10 callback function [Display Devices], PFND3D10DDI_OPENADAPTER, PFND3D10DDI_OPENADAPTER callback, UserModeDisplayDriverDx10_Functions_686164e4-0e8b-40ab-8095-cdc3efb34866.xml, d3d10umddi/OpenAdapter10, display.openadapter10 |
d3d10umddi.h |
D3d10umddi.h |
Universal |
Available in Windows Vista and later versions of the Windows operating systems. |
Windows |
display |
|
|
|
|
|
The OpenAdapter10 function creates a graphics adapter object that is referenced in subsequent calls.
pOpenData [in, out]
A pointer to a D3D10DDIARG_OPENADAPTER structure. On input, this structure contains information that the driver can use. On output, the driver specifies information that the Microsoft Direct3D runtime can use.
OpenAdapter10 returns one of the following values:
Return code | Description |
---|---|
S_OK | The graphics adapter object was successfully created. |
E_OUTOFMEMORY | OpenAdapter10 could not allocate memory that was required for it to complete. |
The graphics adapter object that is created by the OpenAdapter10 function represents the underlying graphics hardware. Before the Direct3D runtime can create a display device by calling CreateDevice(D3D10), the user-mode display driver should call the pfnQueryAdapterInfoCb function to query for the graphics hardware capabilities from the display miniport driver.
The Direct3D runtime can open multiple graphics adapter objects from a single graphics adapter.