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

ParseTsFpInputMousex() private method

Parse TS_FP_POINTERX_EVENT (parser index is updated according to parsed length)
private ParseTsFpInputMousex ( byte data, int &currentIndex ) : TS_FP_POINTERX_EVENT
data byte data to be parsed
currentIndex int current parser index
return TS_FP_POINTERX_EVENT
        private TS_FP_POINTERX_EVENT ParseTsFpInputMousex(byte[] data, ref int currentIndex)
        {
            TS_FP_POINTERX_EVENT mousex = new TS_FP_POINTERX_EVENT();

            mousex.pointerFlags = ParseUInt16(data, ref currentIndex, false);
            mousex.xPos = ParseUInt16(data, ref currentIndex, false);
            mousex.yPos = ParseUInt16(data, ref currentIndex, false);

            return mousex;
        }
RdpbcgrServerDecoder