CreateCaret function user32
Creates a new shape for the system caret and assigns ownership of the caret to the specified window. The caret shape can be a line, a block, or a bitmap.
BOOL CreateCaret(
[in] HWND hWnd,
[in, optional] HBITMAP hBitmap,
[in] int nWidth,
[in] int nHeight
);
Implementation
int CreateCaret(int hWnd, int hBitmap, int nWidth, int nHeight) =>
_CreateCaret(hWnd, hBitmap, nWidth, nHeight);