GrayString function user32
Draws gray text at the specified location.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-graystringw.
Implementation
@pragma('vm:prefer-inline')
bool GrayString(
HDC hDC,
HBRUSH? hBrush,
Pointer<NativeFunction<GRAYSTRINGPROC>>? lpOutputFunc,
LPARAM lpData,
int nCount,
int x,
int y,
int nWidth,
int nHeight,
) =>
_GrayString(
hDC,
hBrush ?? nullptr,
lpOutputFunc ?? nullptr,
lpData,
nCount,
x,
y,
nWidth,
nHeight,
) !=
FALSE;