Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MOU_SETPTRSHAPE (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_DOSDEVIOCTL
USHORT DosDevIOCtl(pbBuffer, ppsShape, 0x0056, 0x0007, hDevice)
PBYTE pbBuffer; /* pointer to structure with shape masks */
PPTRSHAPE ppsShape; /* pointer to structure with shape information */
HFILE hDevice; /* device handle */
The MOU_SETPTRSHAPE function sets the pointer shape.
Parameter Description
────────────────────────────────────────────────────────────────────────────
pbBuffer Points to the buffer that contains the pointer image. The image
format depends on the mode of the display. For currently
supported modes, the buffer always consists of the AND image
data, followed by the XOR image data. The buffer always describes
one display plane.
ppsShape Points to the PTRSHAPE structure that receives the pointer
information and shape.
hDevice Identifies the pointing device that receives the device-control
function. The handle must have been created previously by using
the DosOpen function.
Return Value
The return value is zero if the function is successful or an error value if
an error occurs.
Comments
The parameter values must be in the same mode as the current screen-group
display mode. For text mode, these must be character values; for graphics
mode, these must be pel values.
See Also
DosOpen, MOU_GETPTRSHAPE, PTRSHAPE
♦