CONST_DIPHFLAGS
Members of the CONST_DIPHFLAGS enumeration are used to specify how a device object is identified. They are used in the DirectInputDevice.GetObjectInfo method as well as in the DIPROPLONG and DIPROPRANGE types.
Enum CONST_DIPHFLAGS
DIPH_DEVICE = 0
DIPH_BYID = 2
DIPH_BYOFFSET = 1
End Enum
- DIPH_DEVICE
- The property applies to the entire device, not to a particular object.
- DIPH_BYOFFSET
- The device object is identified by the offset into the current data format of the object whose information is being accessed.
- DIPH_BYID
- The device object is identified by the instance identifier obtained from the return value of the DirectInputDeviceObjectInstance.GetType method.