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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:d3dkmthk.D3DKMTOpenAdapterFromGdiDisplayName |
D3DKMTOpenAdapterFromGdiDisplayName function (d3dkmthk.h) |
The D3DKMTOpenAdapterFromGdiDisplayName function maps a GDI device name to a graphics adapter handle and, if the adapter contains multiple monitor outputs, to one of those outputs. |
display\d3dkmtopenadapterfromgdidisplayname.htm |
05/10/2018 |
|
D3DKMTOpenAdapterFromGdiDisplayName, D3DKMTOpenAdapterFromGdiDisplayName function [Display Devices], OpenGL_Functions_74419d9d-cd33-4fed-8103-3be487c3c7a1.xml, d3dkmthk/D3DKMTOpenAdapterFromGdiDisplayName, display.d3dkmtopenadapterfromgdidisplayname |
d3dkmthk.h |
D3dkmthk.h |
Universal |
Windows Vista |
Gdi32.lib |
Gdi32.dll |
Windows |
display |
|
|
|
|
|
The D3DKMTOpenAdapterFromGdiDisplayName function maps a GDI device name to a graphics adapter handle and, if the adapter contains multiple monitor outputs, to one of those outputs.
pData [in, out]
A pointer to a D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME structure that describes the parameters that are required to perform the mapping.
D3DKMTOpenAdapterFromGdiDisplayName returns one of the following values:
Return code | Description |
---|---|
STATUS_SUCCESS | The mapping was performed successfully. |
STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect or the Windows Vista display driver model was not used. |
This function might also return other NTSTATUS values.
A graphics adapter corresponds to a video card. A monitor output corresponds to a head on a video card. A system with a single video card contains only one adapter. However, if the video card supports multiple heads, it supports outputting to multiple monitors.