Microsoft DirectX 8.1 (Visual Basic)

DIPROPCPOINTS

Sets calibration points for the current instance.

Type DIPROPCPOINTS 
    lObj As Long
    lHow As Long
    dwCPointsNum As Long
    cp(MAXCPOINTSNUM) As CPOINT
End Type

Members

lObj
If the lHow member is DIPH_BYID, this member must be the identifier for the object whose property setting is set or retrieved.

If the lHow member is DIPH_BYOFFSET, this member must be a data format offset for the object whose property setting is set or retrieved.

If the lHow member is DIPH_BYUSAGE, the device must be a Human Interface Device (HID). The device object is identified by the HID usage page and usage values in packed form.

This property can be applied only to individual device objects, so DIPH_DEVICE cannot be used.

lHow
Specifies how the lObj member should be interpreted. See the description of the lObj member for details.
dwCPointsNum
Number of stored calibration points. You can use no more than 8 calibration points.
cp(MAXCPOINTSNUM)
Array of calibration points. See CPOINT for more information.