gdiplus: Store the codec information and functions in a single structure.