The TS_COLORPOINTERATTRIBUTE structure represents a regular T.128 24 bits-per-pixel color pointer, as specified in [T128] section 8.14.3. This pointer update is used for both monochrome and color pointers in RDP.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_8_1_1_4_4.xml
        /// <summary>
        /// Parse TS_COLORPOINTERATTRIBUTE
        /// (parser index is updated according to parsed length)
        /// </summary>
        /// <param name="data">data to be parsed</param>
        /// <param name="currentIndex">current parser index</param>
        /// <returns>TS_COLORPOINTERATTRIBUTE</returns>
        private TS_COLORPOINTERATTRIBUTE ParseTsColorPointerAttribute(byte[] data, ref int currentIndex)
        {
            TS_COLORPOINTERATTRIBUTE attribute = new TS_COLORPOINTERATTRIBUTE();

            // TS_COLORPOINTERATTRIBUTE: cacheIndex
            attribute.cacheIndex = ParseUInt16(data, ref currentIndex, false);

            // TS_COLORPOINTERATTRIBUTE: hotSpot
            attribute.hotSpot = ParseTsPoint16(data, ref currentIndex);

            // TS_COLORPOINTERATTRIBUTE: width
            attribute.width = ParseUInt16(data, ref currentIndex, false);

            // TS_COLORPOINTERATTRIBUTE: height
            attribute.height = ParseUInt16(data, ref currentIndex, false);

            // TS_COLORPOINTERATTRIBUTE: lengthAndMask
            attribute.lengthAndMask = ParseUInt16(data, ref currentIndex, false);

            // TS_COLORPOINTERATTRIBUTE: lengthXorMask
            attribute.lengthXorMask = ParseUInt16(data, ref currentIndex, false);

            // TS_COLORPOINTERATTRIBUTE: xorMaskData
            attribute.xorMaskData = GetBytes(data, ref currentIndex, (int)attribute.lengthXorMask);

            // TS_COLORPOINTERATTRIBUTE: andMaskData
            attribute.andMaskData = GetBytes(data, ref currentIndex, (int)attribute.lengthAndMask);

            // TS_COLORPOINTERATTRIBUTE: pad
            attribute.pad = ParseByte(data, ref currentIndex);

            return attribute;
        }