Eliminate inline assembly; use _setcursortype() instead.