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:d3dkmthk.PFND3DKMT_CREATEDEVICE |
PFND3DKMT_CREATEDEVICE (d3dkmthk.h) |
The PFND3DKMT_CREATEDEVICE callback creates a kernel-mode device context. The function returns STATUS_SUCCESS on successful creation of the device context. |
display\d3dkmtcreatedevice.htm |
05/10/2018 |
|
D3DKMTCreateDevice, D3DKMTCreateDevice callback function [Display Devices], OpenGL_Functions_09099f43-bae3-4859-9465-434915af774a.xml, PFND3DKMT_CREATEDEVICE, PFND3DKMT_CREATEDEVICE callback, d3dkmthk/D3DKMTCreateDevice, display.d3dkmtcreatedevice |
d3dkmthk.h |
D3dkmthk.h |
Universal |
Windows Vista |
Windows |
display |
|
|
|
|
|
The D3DKMTCreateDevice function creates a kernel-mode device context.
pData [in, out]
A pointer to a D3DKMT_CREATEDEVICE structure that describes the kernel-mode device context.
D3DKMTCreateDevice returns one of the following values:
Return code | Description |
---|---|
STATUS_SUCCESS | The device context was successfully created. |
STATUS_DEVICE_REMOVED | The graphics adapter was stopped. |
STATUS_INVALID_PARAMETER | Parameters were validated and determined to be incorrect. |
STATUS_NO_MEMORY | D3DKMTCreateDevice could not complete because of insufficient memory. |
This function might also return other NTSTATUS values.