GRAYSTRINGPROC callback function (winuser.h)
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.
Syntax
GRAYSTRINGPROC Graystringproc;
BOOL Graystringproc(
HDC unnamedParam1,
LPARAM unnamedParam2,
int unnamedParam3
)
{...}
Parameters
unnamedParam1
A handle to a device context with a bitmap of at least the width and height specified by the nWidth and nHeight parameters passed to GrayString.
unnamedParam2
A pointer to the string to be drawn.
unnamedParam3
The length, in characters, of the string.
Return value
If it succeeds, the callback function should return TRUE.
If the function fails, the return value is FALSE.
Remarks
The callback function must draw an image relative to the coordinates (0,0).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winuser.h (include Windows.h) |