MouGetPtrShape

MouGetPtrShape

typedef struct _PTRSHAPE {   /* moups */
  USHORT cb;                 /* total length necessary to build image */
  USHORT col;                /* # of columns in mouse shape */
  USHORT row;                /* number of rows in mouse shape */
  USHORT colHot;             /* column coordinate of pointer image
                                  hotspot */
  USHORT rowHot;             /* row coordinate of pointer image
                                  hotspot */
} PTRSHAPE;

#define INCL_MOU

USHORT  rc = MouGetPtrShape(PtrBuffer, PtrDefRec, DeviceHandle);

PBYTE            PtrBuffer;     /* Pointer shape buffer */
PPTRSHAPE        PtrDefRec;     /* Pointer definition struct */
HMOU             DeviceHandle;  /* Mouse device handle */

USHORT           rc;            /* return code */


[Back: MouGetPtrPos]
[Next: MouGetScaleFact]