Platform SDK: DirectX |
The DirectInputDeviceObjectInstance.GetOfs method retrieves the offset of the device object's data within the data format for the device.
object.GetOfs() As Long
The method returns the offset within the data format at which data is reported for this object. This value can be used to identify the object in method calls and types that accept the DIPH_BYOFFSET flag.
If the method fails, an error is raised and Err.Number will be set.