Platform SDK: DirectX |
The DIPROPRANGE type is used to store property information to be set on or retrieved from the input device by using the DirectInputDevice.SetProperty and DirectInputDevice.GetProperty methods, where the property is a range of values.
Type DIPROPRANGE lHow As Long lMax As Long lMin As Long lObj As Long lSize As Long End Type
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.