Skip to content

Latest commit

 

History

History
115 lines (77 loc) · 3.37 KB

nf-winddi-englineto.md

File metadata and controls

115 lines (77 loc) · 3.37 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.EngLineTo
EngLineTo function (winddi.h)
The EngLineTo function draws a single, solid, integer-only cosmetic line.
EngLineTo
EngLineTo function [Display Devices]
display.englineto
gdifncs_7f51ef7a-df4c-4482-a411-101dff0711d7.xml
winddi/EngLineTo
display\englineto.htm
display
989ac941-496e-4433-a871-f541fdced45f
12/05/2018
EngLineTo, EngLineTo function [Display Devices], display.englineto, gdifncs_7f51ef7a-df4c-4482-a411-101dff0711d7.xml, winddi/EngLineTo
winddi.h
Winddi.h
Universal
Available in Windows 2000 and later versions of the Windows operating systems.
Win32k.lib
Win32k.sys
Windows
19H1
EngLineTo
winddi/EngLineTo
c++
APIRef
kbSyntax
DllExport
Win32k.sys
EngLineTo

EngLineTo function

-description

The EngLineTo function draws a single, solid, integer-only cosmetic line.

-parameters

-param pso

Pointer to a SURFOBJ structure that describes the surface on which to draw.

-param pco

Pointer to a CLIPOBJ structure that defines the clip region in which the rendering must be done. No pixels can be affected outside this clip region.

-param pbo

Pointer to a BRUSHOBJ structure that specifies the brush to use when drawing the line.

-param x1

Specify the integer x-coordinate of the line's beginning point.

-param y1

Specify the integer y-coordinate of the line's beginning point.

-param x2

Specify the integer x-coordinate of the line's end point.

-param y2

Specify the integer x- and y-coordinate of the line's end point.

-param prclBounds

Pointer to a RECTL structure that describes the rectangle that bounds the unclipped line. Drivers that support hardware line drawing can use this rectangle to quickly determine whether the line fits in a coordinate space small enough to be rendered by the hardware.

-param mix

Defines how the incoming pattern should be mixed with the data already on the device surface. The low-order byte defines the raster operation. For more information about raster operation codes, see the Microsoft Windows SDK documentation.

-returns

EngLineTo returns TRUE if it succeeds; otherwise, it returns FALSE.

-remarks

The driver that has hooked DrvLineTo can call EngLineTo when the rendering surface is a device-independent bitmap (DIB).

-see-also

BRUSHOBJ

CLIPOBJ

DrvLineTo

SURFOBJ