Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrServerDecoder.ParseCapsTypeBrush C# (CSharp) Method

ParseCapsTypeBrush() private method

Parse TS_BRUSH_CAPABILITYSET
private ParseCapsTypeBrush ( byte data ) : TS_BRUSH_CAPABILITYSET
data byte data to be parsed
return TS_BRUSH_CAPABILITYSET
        private TS_BRUSH_CAPABILITYSET ParseCapsTypeBrush(byte[] data)
        {
            TS_BRUSH_CAPABILITYSET set = RdpbcgrUtility.ToStruct<TS_BRUSH_CAPABILITYSET>(data);

            VerifyDataLength(data.Length, Marshal.SizeOf(set), ConstValue.ERROR_MESSAGE_DATA_LENGTH_INCONSISTENT);
            return set;
        }
RdpbcgrServerDecoder