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