Exemple #1
0
        public unsafe override bool Equals(object obj)
        {
            if (!(obj is PAINTSTRUCT))
            {
                return(false);

                fixed(PAINTSTRUCT *address = &this)
                {
                    PAINTSTRUCT other      = (PAINTSTRUCT)obj;
                    IntPtr      size       = new IntPtr(GetSize());
                    IntPtr      equalBytes = NativeMethods.RtlCompareMemory(address, &other, size);

                    return(size == equalBytes);
                }
        }
Exemple #2
0
 public static extern int EndPaint(HWND hwnd, ref PAINTSTRUCT lpPaint);
Exemple #3
0
 public static extern bool EndPaint(IntPtr hWnd, [In] ref PAINTSTRUCT lpPaint);
Exemple #4
0
 public static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);
 public static extern IntPtr EndPaint(IntPtr hWnd, ref PAINTSTRUCT ps);
 public static extern IntPtr BeginPaint(IntPtr hWnd, out PAINTSTRUCT ps);
Exemple #7
0
 public static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);
Exemple #8
0
 public static unsafe extern BOOL EndPaint(IntPtr hWnd, PAINTSTRUCT* lpPaint);
Exemple #9
0
 public static unsafe extern IntPtr BeginPaint(IntPtr hWnd, PAINTSTRUCT* lpPaint);