I don't know how conitec finally included the structure because I don't have the A7.06 beta, but if they did as I sugested above they won't have included the rgb macros, but defined the rgbresult as a byte array with 4 values. The rgba value will then be seperated automattically (it did in my code!).
You should check this in the windows.h, and then try it with the var type which they used for the rgbresult.