Microsoft DirectX 8.1 (Visual Basic)

DIPROPRANGE

Contains property information that is set on or retrieved from the input device by using the DirectInputDevice8.SetProperty and DirectInputDevice8.GetProperty methods, where the property is a range of values.

Type DIPROPRANGE
    lHow As Long
    lMax As Long
    lMin As Long
    lObj As Long
End Type

Members

lHow
Value specifying how the lObj member should be interpreted. This value may be one of the members of the CONST_DIPHFLAGS enumeration.
lMax
Upper limit of the range. If the range of the device is unrestricted, this value will be DIPROPRANGE_NOMAX (from the CONST_DINPUT enumeration) when the DirectInputDevice8.GetProperty method returns.
lMin
Lower limit of the range. If the range of the device is unrestricted, this value will be DIPROPRANGE_NOMIN (from the CONST_DINPUT enumeration)when the DirectInput8Device.GetProperty method returns.
lObj
Object for which the property is to be accessed.

If the lHow member is DIPH_BYID, this member must be the identifier for the object whose property setting is to be set or retrieved. This value can be retrieved for the object by using the DirectInputDeviceObjectInstance.GetType method.

If the lHow member is DIPH_BYOFFSET, this member must be a data format offset for the object whose property setting is to be set or retrieved. This value can be obtained by using the DirectInputDeviceObjectInstance.GetOfs method.

If lHow is DIPH_DEVICE, this value should be 0.

See Also

DIPROPLONG