Skip to content

Latest commit

 

History

History
95 lines (70 loc) · 3.08 KB

nf-winddi-engdeviceiocontrol.md

File metadata and controls

95 lines (70 loc) · 3.08 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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 req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winddi.EngDeviceIoControl
EngDeviceIoControl function (winddi.h)
The EngDeviceIoControl function sends a control code to the specified video miniport driver, causing the device to perform the specified operation.
EngDeviceIoControl
EngDeviceIoControl function [Display Devices]
display.engdeviceiocontrol
gdifncs_735d205a-99e3-4397-a5ac-31312ac734e7.xml
winddi/EngDeviceIoControl
display\engdeviceiocontrol.htm
display
a38186b6-4b27-4360-8721-49c95dd94806
12/05/2018
EngDeviceIoControl, EngDeviceIoControl function [Display Devices], display.engdeviceiocontrol, gdifncs_735d205a-99e3-4397-a5ac-31312ac734e7.xml, winddi/EngDeviceIoControl
winddi.h
Winddi.h
Universal
Available in Windows 2000 and later versions of the Windows operating systems.
Win32k.lib
Win32k.sys
Windows
19H1
EngDeviceIoControl
winddi/EngDeviceIoControl
c++
APIRef
kbSyntax
DllExport
Win32k.sys
EngDeviceIoControl

EngDeviceIoControl function

-description

The EngDeviceIoControl function sends a control code to the specified video miniport driver, causing the device to perform the specified operation.

-parameters

-param hDevice [in]

Handle to the device that is to perform the operation.

-param dwIoControlCode [in]

Specifies the control code for the operation. The I/O controls are listed and described in full in Video Miniport Driver I/O Control Codes.

-param lpInBuffer [in, optional]

Pointer to a buffer containing data required to perform the operation. This parameter can be NULL if the control code specifies an operation that does not require input data.

-param nInBufferSize [in]

Specifies the size, in bytes, of lpInBuffer.

-param lpOutBuffer [out, optional]

Pointer to a buffer in which the operation's output data is returned. This parameter can be NULL if the control code specifies an operation that does not produce output data.

-param nOutBufferSize [in]

Specifies the size, in bytes, of lpOutBuffer.

-param lpBytesReturned [out]

Pointer to a DWORD that specifies the actual size, in bytes, of the data returned in lpOutBuffer.

-returns

The return value is a 32-bit Win32 API-defined error code.

-remarks

EngDeviceIoControl is used by a display driver to communicate I/O requests to its corresponding miniport driver. This function provides the only communication channel between a display and video miniport driver.

-see-also

VIDEO_REQUEST_PACKET