Пример #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);
                }
        }
Пример #2
0
 public static extern int EndPaint(HWND hwnd, ref PAINTSTRUCT lpPaint);
Пример #3
0
 public static extern bool EndPaint(IntPtr hWnd, [In] ref PAINTSTRUCT lpPaint);
Пример #4
0
 public static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);
Пример #5
0
 public static extern IntPtr EndPaint(IntPtr hWnd, ref PAINTSTRUCT ps);
Пример #6
0
 public static extern IntPtr BeginPaint(IntPtr hWnd, out PAINTSTRUCT ps);
Пример #7
0
 public static extern IntPtr BeginPaint(IntPtr hwnd, out PAINTSTRUCT lpPaint);
Пример #8
0
 public static unsafe extern BOOL EndPaint(IntPtr hWnd, PAINTSTRUCT* lpPaint);
Пример #9
0
 public static unsafe extern IntPtr BeginPaint(IntPtr hWnd, PAINTSTRUCT* lpPaint);