?/TD>
Microsoft DirectX 9.0

DIPROPCPOINTS Structure


Sets calibration points for the current instance.

Syntax

typedef struct DIPROPCPOINTS {
    DIPROPHEADER diph;
    DWORD  dwCPointsNum;
    CPOINT cp[MAXCPOINTSNUM];
} DIPROPCPOINTS, *LPDIPROPCPOINTS;

typedef const DIPROPCPOINTS *LPCDIPROPCPOINTS;

Members

diph
DIPROPHEADER structure.
dwCPointsNum
Number of stored calibration points. No more than 8 calibration points may be used.
cp
Array of calibration points.

Remarks

The diph member must be initialized as follows:
Member Value
dwSizesizeof(DIPROPCPOINTS)
dwHeaderSizesizeof(DIPROPHEADER)
dwObjIf the dwHow member is DIPH_BYID, this member must be the identifier for the object whose property setting is to be set or retrieved.

If the dwHow member is DIPH_BYOFFSET, this member must be a data format offset for the object whose property setting is to be set or retrieved. For example, if the c_dfDIMouse data format is selected, it must be one of the DIMOFS_* values.

If the dwHow member is DIPH_BYUSAGE, the device must be a Human Interface Device (HID). The device object will be 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.

dwHowSpecifies how the dwObj member should be interpreted. See the preceding description of the dwObj member for details.

Structure Information

Headerdinput.h
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.