ShowCaret function user32
Makes the caret visible on the screen at the caret's current position.
When the caret becomes visible, it begins flashing automatically.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-showcaret.
Implementation
Win32Result<bool> ShowCaret(HWND? hWnd) {
resolveGetLastError();
final result_ = _ShowCaret(hWnd ?? nullptr);
return .new(value: result_ != FALSE, error: GetLastError());
}