| Microsoft DirectX 8.1 (C++) |
Contains information about the range of an object within a device. This structure is used with the DIPROP_RANGE flag set in the IDirectInputDevice8::GetProperty and IDirectInputDevice8::SetProperty methods.
typedef struct DIPROPRANGE {
DIPROPHEADER diph;
LONG lMin;
LONG lMax;
} DIPROPRANGE, *LPDIPROPRANGE;
typedef const DIPROPRANGE *LPCDIPROPRANGE;
| Member | Value |
|---|---|
| dwSize | sizeof(DIPROPRANGE) |
| dwHeaderSize | sizeof(DIPROPHEADER) |
| dwObj | If the dwHow member is DIPH_DEVICE, this member must be 0.
If 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.Identifier of the object whose property is being retrieved or set. 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. |
| dwHow | Specifies how the dwObj member should be interpreted. See the preceding description of the dwObj member for details. |
The range values for devices whose ranges are unrestricted wraparound.
Windows NT/2000/XP: Requires Windows 2000.
Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
Header: Declared in Dinput.h.
IDirectInputDevice8::GetProperty, IDirectInputDevice8::SetProperty