Thanks for the manual hint - didn't know that handle is good for that.

But cause I'm far away from beeing a struct/pointer/bit-shifting expert... there are two problems appearing for me:

1) How has the code to look like, when I want to
-> [converting the handle to a var that contains the index number,] right shift it by 24, then left shift the resulting int by 10?
(something I probably would be able to find out with enough time...)

2) And for my function above I forget the problem of the following compiler error:
'pos_x': is not a member of 'VOID'
Object.pos_x = PositionX;

(something I don't know where to start finding the solution...)