The OutputProc function is an application-defined callback function used with the GrayString function. It is used to draw a string. The GRAYSTRINGPROC type defines a pointer to this callback function. OutputProc is a placeholder for the application-defined or library-defined function name.
BOOL CALLBACK OutputProc(
HDC hdc, // handle to device context
LPARAM lpData, // pointer to string to be drawn
int cchData // length of string to be drawn
);
If it succeeds, the callback function should return TRUE.
If the function fails, the return value is FALSE.
The callback function must draw an image relative to the coordinates (0,0).
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: User-defined.
Painting and Drawing Overview, Painting and Drawing Functions, GrayString