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

ParseTsFpInputMouse() private method

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

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

            return mouse;
        }
RdpbcgrServerDecoder