This function is specific to OS/2 Version 2.1 or higher.
This function causes the mouse pointer to change into the symbol described by hptrNew for the period of time indicated by ulTimeInterval.
#define INCL_WINPOINTERS /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HWND hwndDesktop; /* Handle to the desktop window. */ HPOINTER hptrNew; /* Pointer handle to be displayed. */ ULONG ulTimeInterval; /* Time interval. */ BOOL rc; /* Success indicator. */ rc = WinLockPointerUpdate(hwndDesktop, hptrNew, ulTimeInterval);