Ejemplo n.º 1
0
 public static extern IntPtr SendMessageTimeout(IntPtr windowHandle,
     uint Msg,
     IntPtr wParam,
     ref CopyDataStruct lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 2
0
 private static extern IntPtr SendMessageTimeout(IntPtr hWnd,
                                                 uint Msg,
                                                 UIntPtr wParam,
                                                 UIntPtr lParam,
                                                 SendMessageTimeoutFlags fuFlags,
                                                 uint uTimeout,
                                                 out UIntPtr lpdwResult);
Ejemplo n.º 3
0
 public static extern int SendMessageTimeout(
     IntPtr windowHandle,
     uint Msg,
     uint wParam,
     uint lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     uint resPtr);
Ejemplo n.º 4
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr hWnd,
     uint msg,
     UIntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 5
0
 private static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     uint message,
     IntPtr wParam,
     ref CopyDataStruct lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 6
0
 static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     uint Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 7
0
 public static extern UIntPtr SendMessageTimeoutText(
     IntPtr hWnd,
     WindowsMessages Msg,              // Use WM_GETTEXT
     IntPtr countOfChars,
     [MarshalAs(UnmanagedType.LPWStr)] StringBuilder text,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 8
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr hWnd,
     WindowsMessages Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 9
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr hWnd,
     uint Msg,
     UIntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags fuFlags,
     uint uTimeout,
     out UIntPtr lpdwResult);
Ejemplo n.º 10
0
 static extern IntPtr SendMessageTimeout(
     int windowHandle,
     int Msg,
     int wParam,
     String lParam,
     SendMessageTimeoutFlags flags,
     int timeout,
     out int result);
Ejemplo n.º 11
0
 private static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     IntPtr Msg,
     int wParam,
     int lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 12
0
 public static extern uint SendMessageTimeoutText(
     IntPtr hWnd,
     int Msg,                          // Use WM_GETTEXT
     int countOfChars,
     StringBuilder text,
     SendMessageTimeoutFlags flags,
     uint uTImeoutj,
     out IntPtr result);
Ejemplo n.º 13
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     uint Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 14
0
 public static extern int SendMessageTimeout(
     IntPtr hwnd,
     uint Msg,              // Use WM_GETTEXTLENGTH
     int wParam,
     int lParam,
     SendMessageTimeoutFlags flags,
     uint uTimeout,
     out int lpdwResult);
Ejemplo n.º 15
0
 static extern IntPtr SendMessageTimeout(
     IntPtr hWnd,
     int Msg,
     IntPtr wParam,
     string lParam,
     SendMessageTimeoutFlags fuFlags,
     uint uTimeout,
     IntPtr lpdwResult);
Ejemplo n.º 16
0
 public extern static int SendMessageTimeout(
             IntPtr hwnd,
             uint wMsg,
             IntPtr wParam,
             ref COPYDATASTRUCT lParam,
             SendMessageTimeoutFlags flags,
             uint timeout,
             out IntPtr result);
Ejemplo n.º 17
0
 public static extern int SendMessageTimeout(
     IntPtr hwnd,
     uint wMsg,
     IntPtr wParam,
     ref COPYDATASTRUCT lParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 18
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     [MarshalAs(UnmanagedType.U4)]
     int Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     int timeout,
     out IntPtr result);
Ejemplo n.º 19
0
 public static int GetWindowTextLengthTimeout(IntPtr hWnd, SendMessageTimeoutFlags flags, uint uTimeout)
 {
     unsafe
     {
         int result = 0;
         IntPtr tmp = new IntPtr(&result);
         SendMessageTimeout(hWnd, (int)WindowMessages.WM_GETTEXTLENGTH, IntPtr.Zero, IntPtr.Zero, flags, uTimeout, out tmp);
         return result;
     }
 }
Ejemplo n.º 20
0
 public static int GetWindowTextTimeout(IntPtr hWnd, StringBuilder lpString, int nMaxCount, SendMessageTimeoutFlags flags, uint uTimeout)
 {
     unsafe
     {
         int result = 0;
         IntPtr tmp = new IntPtr(&result);
         SendMessageTimeoutText(hWnd, (int)WindowMessages.WM_GETTEXT, nMaxCount, lpString, flags, uTimeout, out tmp);
         return result;
     }
 }
Ejemplo n.º 21
0
 public static IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     int Msg,
     IntPtr wParam,
     ref COPYDATASTRUCT cds,
     SendMessageTimeoutFlags flags,
     int timeout,
     out IntPtr result)
 {
     result = IntPtr.Zero;
     return(IntPtr.Zero);
 }
Ejemplo n.º 22
0
 public static IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     [MarshalAs(UnmanagedType.U4)]
     int Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     int timeout,
     out IntPtr result)
 {
     result = IntPtr.Zero;
     return(IntPtr.Zero);
 }
Ejemplo n.º 23
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     int Msg,
     IntPtr wParam,
     ref COPYDATASTRUCT cds,
     SendMessageTimeoutFlags flags,
     int timeout,
     out IntPtr result);
 public static extern IntPtr SendMessageTimeout(IntPtr hWnd, int Msg, int wParam, int lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, out IntPtr lpdwResult);
Ejemplo n.º 25
0
        public static extern IntPtr SendMessageTimeout(

            int windowHandle,

            int Msg,

            int wParam,

            String lParam,

            SendMessageTimeoutFlags flags,

            int timeout,

            out int result);
Ejemplo n.º 26
0
 public static extern IntPtr SendMessageTimeout(IntPtr windowHandle, WindowMessages message, Int32 wParam, Int32 lParam, SendMessageTimeoutFlags flags, Int32 timeout, out IntPtr result);
Ejemplo n.º 27
0
 public static extern uint SendMessageTimeoutText(IntPtr hWnd, int msg, int countOfChars, StringBuilder text, SendMessageTimeoutFlags flags, uint timeout, out IntPtr result);
Ejemplo n.º 28
0
 static extern IntPtr SendMessageTimeout(IntPtr hWnd, uint Msg, IntPtr wParam, ref CopyData target,
                                         SendMessageTimeoutFlags fuFlags, uint uTimeout, out UIntPtr lpdwResult);
Ejemplo n.º 29
0
 private static extern uint SendMessageTimeoutText(
     IntPtr hWnd,
     int Msg,              // Use WM_GETTEXT
     int countOfChars,
     StringBuilder text,
     SendMessageTimeoutFlags flags,
     uint uTImeoutj,
     out IntPtr result);
Ejemplo n.º 30
0
#pragma warning disable AV1562 // Do not declare a parameter as ref or out
        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] public static extern IntPtr SendMessageTimeout(IntPtr hWnd, uint Msg, UIntPtr wParam, IntPtr lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, out UIntPtr lpdwResult);
Ejemplo n.º 31
0
 public int SendMessageTimeout(int msg, int wparam, int lparam, SendMessageTimeoutFlags flags, int timeout)
 {
     int result = 0;
     User32.SendMessageTimeout(hWnd, msg, wparam, lparam, (int)flags, timeout, ref result);
     return result;
 }
 internal static extern System.IntPtr SendMessageTimeout(System.IntPtr hWnd, uint Msg, System.UIntPtr wParam, System.IntPtr lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, out System.UIntPtr lpdwResult);
Ejemplo n.º 33
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     uint message,
     IntPtr wordParam,
     string longParam,
     SendMessageTimeoutFlags flags,
     uint timeout,
     out IntPtr result);
Ejemplo n.º 34
0
 public static extern bool SendMessageTimeout(int hWnd, int Msg, int wParam, StringBuilder lParam, SendMessageTimeoutFlags fuFlags, int uTimeout, out int lpdwResult);
Ejemplo n.º 35
0
 static extern IntPtr SendMessageTimeout(
     IntPtr hWnd,
     int Msg,
     IntPtr wParam,
     string lParam,
     SendMessageTimeoutFlags fuFlags,
     uint uTimeout,
     IntPtr lpdwResult);
Ejemplo n.º 36
0
 internal static extern IntPtr SendMessageTimeout(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, out IntPtr lpdwResult);
Ejemplo n.º 37
0
 public static extern IntPtr SendMessageTimeout(
     IntPtr windowHandle,
     [MarshalAs(UnmanagedType.U4)]
         int Msg,
     IntPtr wParam,
     IntPtr lParam,
     SendMessageTimeoutFlags flags,
     int timeout,
     out IntPtr result);
Ejemplo n.º 38
0
 public static extern uint SendMessageTimeoutText(IntPtr hWnd, int Msg, int countOfChars, StringBuilder text, SendMessageTimeoutFlags flags, uint uTimeout, out IntPtr result);
Ejemplo n.º 39
0
 private static extern uint SendMessageTimeoutText(IntPtr hWnd, int Msg, int countOfChars,
                                                   StringBuilder text, SendMessageTimeoutFlags flags, uint uTImeoutj, out IntPtr result);
Ejemplo n.º 40
0
 [DllImport("user32.dll", CharSet = CharSet.Auto)]         // SetLastError
 public static extern IntPtr SendMessageTimeout(
     IntPtr hWnd, int Msg, int wParam, int lParam,
     SendMessageTimeoutFlags flags, uint timeout, out IntPtr result);
Ejemplo n.º 41
0
 public int SendMessageTimeout(ref Message m, SendMessageTimeoutFlags flags, int timeout)
 {
     m.Result = new IntPtr(SendMessageTimeout(m.Msg, m.WParam.ToInt32(), m.LParam.ToInt32(), flags, timeout));
     return m.Result.ToInt32();
 }
Ejemplo n.º 42
0
 public static extern IntPtr SendMessageTimeout(IntPtr hwnd, uint message, IntPtr wparam, IntPtr lparam, SendMessageTimeoutFlags flags, uint timeout, out IntPtr result);
Ejemplo n.º 43
0
 private static extern IntPtr SendMessageTimeout(
   IntPtr hWnd,
   int msg,
   IntPtr wParam,
   IntPtr lParam,
   SendMessageTimeoutFlags flags,
   int timeout,
   out IntPtr result);
Ejemplo n.º 44
0
 public static extern int SendMessageTimeout(IntPtr handle, int uMsg, uint wParam, uint lParam, SendMessageTimeoutFlags fuFlags, int uTimeout, out uint lpdwResult);
Ejemplo n.º 45
0
 public static extern IntPtr SendMessageTimeout(IntPtr hwnd, uint message, IntPtr wparam, IntPtr lparam, SendMessageTimeoutFlags flags, uint timeout, out IntPtr result);
Ejemplo n.º 46
0
 public static extern IntPtr SendMessageTimeout(IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam, SendMessageTimeoutFlags flags, UInt32 timeout, out UIntPtr result);
Ejemplo n.º 47
0
 public static extern IntPtr SendMessageTimeout(IntPtr hwnd, uint msg, IntPtr wparam, ref CopyData lparam,
                                                SendMessageTimeoutFlags flags, uint timeout, out UIntPtr lpdwResult);
Ejemplo n.º 48
0
 static extern int SendMessageTimeout(int hWnd, uint Msg, int wParam, int lParam, SendMessageTimeoutFlags fuflags, uint timeout, out IntPtr result);
 public static extern int SendMessageTimeout(IntPtr hWnd, int wMsg, int wParam, int lParam, SendMessageTimeoutFlags fuFlags, uint uTimeout, out int lpdwResult);
Ejemplo n.º 50
0
 private static extern int SendMessageTimeout(IntPtr hwnd, int wMsg, int wParam, ref COPYDATASTRUCT lParam, SendMessageTimeoutFlags flags, uint timeout, out IntPtr result);