コード例 #1
0
        // Token: 0x0600030A RID: 778 RVA: 0x0000F198 File Offset: 0x0000D398
        internal static MouseEventExtArgs FromRawDataApp(CallbackData data)
        {
            IntPtr wparam = data.WParam;
            IntPtr lparam = data.LParam;

            return(MouseEventExtArgs.FromRawDataUniversal(wparam, ((AppMouseStruct)Marshal.PtrToStructure(lparam, typeof(AppMouseStruct))).ToMouseStruct()));
        }
コード例 #2
0
        // Token: 0x0600030B RID: 779 RVA: 0x0000F1D8 File Offset: 0x0000D3D8
        internal static MouseEventExtArgs FromRawDataGlobal(CallbackData data)
        {
            IntPtr      wparam    = data.WParam;
            IntPtr      lparam    = data.LParam;
            MouseStruct mouseInfo = (MouseStruct)Marshal.PtrToStructure(lparam, typeof(MouseStruct));

            return(MouseEventExtArgs.FromRawDataUniversal(wparam, mouseInfo));
        }