This function destroys a pointer or icon.
#define INCL_WINPOINTERS /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HPOINTER hptrPointer; /* Handle of pointer to be destroyed. */ BOOL rc; /* Success indicator. */ rc = WinDestroyPointer(hptrPointer);