Exemplo n.º 1
0
 private IntPtr SplashWindowProcedure(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam)
 {
     if (msg != 15)
     {
         return(UnsafeNativeMethods.DefWindowProc(hWnd, msg, wParam, lParam));
     }
     UnsafeNativeMethods.PAINTSTRUCT pAINTSTRUCT = new UnsafeNativeMethods.PAINTSTRUCT();
     this.OnPaint(UnsafeNativeMethods.BeginPaint(hWnd, out pAINTSTRUCT));
     UnsafeNativeMethods.EndPaint(hWnd, ref pAINTSTRUCT);
     return(IntPtr.Zero);
 }
Exemplo n.º 2
0
 internal static extern IntPtr BeginPaint(IntPtr hwnd, out UnsafeNativeMethods.PAINTSTRUCT lpPaint);
Exemplo n.º 3
0
 internal static extern bool EndPaint(IntPtr hWnd, ref UnsafeNativeMethods.PAINTSTRUCT lpPaint);