Example #1
0
        public static IntPtr CreateRectRgnIndirect(ApiRect lprc)
        {
            IntPtr ret = _CreateRectRgnIndirect(ref lprc);

            if (IntPtr.Zero == ret)
            {
                throw new Win32Exception(Marshal.GetLastWin32Error());
            }
            return(ret);
        }
Example #2
0
 private static extern IntPtr _CreateRectRgnIndirect([In] ref ApiRect lprc);
Example #3
0
         public ThumbnailProperties(ApiRect destination, ThumbnailFlags flags)
         {
            Source = new ApiRect();
            Destination = destination;
            Flags = flags;

            Opacity = 255;
            Visible = true;
            ClientAreaOnly = false;
         }
Example #4
0
 public static IntPtr CreateRectRgnIndirect(ApiRect lprc)
 {
     IntPtr ret = _CreateRectRgnIndirect(ref lprc);
     if (IntPtr.Zero == ret)
     {
        throw new Win32Exception(Marshal.GetLastWin32Error());
     }
     return ret;
 }
Example #5
0
 private static extern bool GetWindowRect(IntPtr hWnd, out ApiRect lpApiRect);