The LineDDAProc function is an application-defined callback function used with the LineDDA function. It is used to process coordinates. The LINEDDAPROC type defines a pointer to this callback function. LineDDAProc is a placeholder for the application-defined function name.
VOID CALLBACK LineDDAProc(
int X, // x-coordinate of point being evaluated
int Y, // y-coordinate of point being evaluated
LPARAM lpData // pointer to application-defined data
);
An application registers a LineDDAProc function by passing its address to the LineDDA function.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Import Library: User-defined.
Lines and Curves Overview, Line and Curve Functions, LineDDA