The DIPROPRANGE structure contains information about the range of an object within a device. This structure is used with the DIPROP_RANGE flag set in the IDirectInputDevice::GetProperty and IDirectInputDevice::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 | Identifier of the object whose range is being retrieved or set. | 
| dwHow | How the dwObj member should be interpreted. | 
The range values for devices whose ranges are unrestricted will wrap around.
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dinput.h.
IDirectInputDevice::GetProperty, IDirectInputDevice::SetProperty