[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            SetResPointDevice - Pointing Device BIOS
                                            Interface: Set Resolution

  Syntax              int SetResPointDevice(unsigned char countpermm);

  Prototype in        ibm.h

  Remarks             SetResPointDevice() will set the resolution based
                      on the value of countpermm. The values of
                      countpermm currently supported are:

                           0x00      1 count per mm
                           0x01      2 counts per mm
                           0x02      4 counts per mm
                           0x03      8 counts per mm

  Return value        returns 0 on success and -1 on failure, with the
                      error code stored in Borland's global variable
                      errno. Here are the possible error values:

                           0x01      Invalid function
                           0x02      Invalid input
                           0x03      Interface error
                           0x04      Need to resend
                           0x05      No device handler installed

  Note                This function is only available on PS/2 machines or
                      under DESQview 2.x.

  See also            GetTypePointDevice(), ResetPointDevice(),
                      SetPointDevice(), SetRatePointDevice()


See Also: ResetPointDevice() SetRatePointDevice()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson