Example #1
0
        // Token: 0x060026F8 RID: 9976 RVA: 0x0008C2CC File Offset: 0x0008A4CC
        public static bool smethod_28(IntPtr hWnd, string data, IntPtr dwData, uint timeOut)
        {
            Struct20 @struct = default(Struct20);
            bool     result;

            try
            {
                @struct.int_0    = (data.Length + 1) * 2;
                @struct.intptr_1 = Class265.LocalAlloc(Enum63.const_3, new IntPtr(@struct.int_0));
                Marshal.Copy(data.ToCharArray(), 0, @struct.intptr_1, data.Length);
                @struct.intptr_0 = dwData;
                IntPtr intPtr;
                result = (Class265.SendMessageTimeout(hWnd, Enum16.const_55, IntPtr.Zero, ref @struct, Enum88.flag_0, timeOut, out intPtr) != IntPtr.Zero);
            }
            finally
            {
                @struct.Dispose();
            }
            return(result);
        }
 public static extern IntPtr SendMessageTimeout(IntPtr hWnd, Enum16 Msg, IntPtr wParam, ref Struct20 lParam, Enum88 fuFlags, uint uTimeout, out IntPtr lpdwResult);
 public static extern IntPtr SendMessage_1(IntPtr hWnd, Enum16 Msg, IntPtr wParam, ref Struct20 lParam);
Example #4
0
 internal static extern int StretchDIBits(IntPtr A_0, int A_1, int A_2, int A_3, int A_4, int A_5, int A_6, int A_7, int A_8, byte[] A_9, [In] ref Struct20 A_10, int A_11, uint A_12);