Callback Function for CDC::GrayString

BOOL CALLBACK EXPORT OutputFunc( HDC hDC, LPARAM lpData, int nCount );

Return Value

The callback function’s return value must be TRUE to indicate success; otherwise it is FALSE.

Parameters

hDC

Identifies a memory device context with a bitmap of at least the width and height specified by nWidth and nHeight to GrayString.

lpData

Points to the character string to be drawn.

nCount

Specifies the number of characters to output.

Remarks

OutputFunc is a placeholder for the application-supplied callback function name. The callback function (OutputFunc) must draw an image relative to the coordinates (0,0) rather than (x, y).

See Also   CDC::GrayString