THis is the first time I actually make use of this offset in any of my programs. It is offset 0x0c4b / 0x0c5b which is documented as follows:
1 byte, Vor indicator with values 0=inactive, 1=to, 2=from.
Now I set up my aircraft as follows:
Tuned NAV1 to 110.00 (TBG)
Aircraft flying within 5nm of the TBG VOR, signal received
Aircraft flying heading 203 towards VOR with about 10 degrees off target. Nevertheless flying TOWARDS (TO) VOR station
Now, in this setup the cockpit VOR instrument/CDI is showing that I am flying TO the VOR, that is correct. That means that when querying that FSUIPC offset I should be getting the value 1 (to) but I am continually getting the value 2 (from).
It appears that the description for that offset should read 0=inactive, 1=from, 2=to. Most likely a typo error.