Glwin32: move affinity to the glwin32 structure