VOID CALLBACK LineDDAFunc(X, Y, lpData) | |||||
int X; | /* x-coordinate of point being evaluated | */ | |||
int Y; | /* y-coordinate of point being evaluated | */ | |||
LPARAM lpData; | /* address of application-supplied data | */ |
The LineDDAProc function is an application defined callback function that processes coordinates from the LineDDA function.
X
Specifies the x-coordinate of the current point.
Y
Specifies the y-coordinate of the current point.
lpData
Points to the application-supplied data.
This function must return a nonzero value to continue enumeration; to stop enumeration, it must return zero.
LineDDAProc is a placeholder for the application-supplied function name. The actual name must be exported by including it in an EXPORTS statement in the application's module-definition file.
An application must register this function by passing its address to the LineDDA function.
LineDDA