## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SDLine - Syntax

Simulation support:

This function is simulated by a handling routine in Revision 2.X of the graphics engine.

Description:

SDLine is a preclipped line rendering routine. It processes line operations onto a destination linear address. SDLine is the default when OS2_PM_DRV_ ENABLE: QueryDeviceSurface does not hook the pfnLine function directly.

    #include <os2.h>

    PLINEINFO    pInput;   /*  Pointer to LINEINFO data structure. */

    PVOID        pOutput;  /*  Reserved. */

    ULONG        rc;       /*  Return codes. */

    rc = SDLine(pInput, pOutput);