Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LineDDAProc callback function

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.

Syntax


VOID CALLBACK LineDDAProc(
  _In_ int    X,
  _In_ int    Y,
  _In_ LPARAM lpData
);

Parameters

X [in]

Specifies the x-coordinate, in logical units, of the current point.

Y [in]

Specifies the y-coordinate, in logical units, of the current point.

lpData [in]

Pointer to the application-defined data.

Return value

This function does not return a value.

Remarks

An application registers a LineDDAProc function by passing its address to the LineDDA function.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Lines and Curves Overview
Line and Curve Functions
LineDDA

 

 

Community Additions

ADD
Show:
© 2015 Microsoft