This function is specific to OS/2 Version 2.1 or higher.

This function returns the icon data for the specified system pointer for application use.

#define INCL_WINPOINTERS /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HWND         hwndDesktop;  /*  Handle to the desktop window. */
ULONG        iptr;         /*  The index of the desired system pointer. */
PICONINFO    pIconInfo;    /*  Icon data buffer. */
BOOL         rc;           /*  Return value. */

rc = WinQuerySysPointerData(hwndDesktop, iptr,
       pIconInfo);


[Back] [Next]