Skip to content

Latest commit

 

History

History
78 lines (62 loc) · 2.9 KB

nf-d3dkmthk-d3dkmtopenadapterfromgdidisplayname.md

File metadata and controls

78 lines (62 loc) · 2.9 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
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 function
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
D3DKMTOpenAdapterFromGdiDisplayName
d3dkmthk/D3DKMTOpenAdapterFromGdiDisplayName
APIRef
kbSyntax
DllExport
Gdi32.dll
API-MS-Win-DX-D3DKmt-l1-1-0.dll
API-MS-Win-DX-D3DKmt-l1-1-1.dll
API-MS-Win-DX-D3DKMT-L1-1-2.dll
D3DKMTOpenAdapterFromGdiDisplayName

D3DKMTOpenAdapterFromGdiDisplayName function

-description

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.

-parameters

-param unnamedParam1

pData [in, out]

A pointer to a D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME structure that describes the parameters that are required to perform the mapping.

-returns

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.

-remarks

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.

-see-also

D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME