internal static extern int DwmExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins);
 /// <summary>
 /// Extends the window frame into the client area.
 /// </summary>
 /// <param name="hWnd">The window handle whose client area to extend the window frame into.</param>
 /// <param name="margins">The amount of window frame to extend around the client area.</param>
 /// <returns>S_OK on success; otherwise, an HRESULT error code.</returns>
 public static int ExtendFrameIntoClientArea(IntPtr hWnd, ref MARGINS margins)
 {
     return(NativeMethods.DwmExtendFrameIntoClientArea(hWnd, ref margins));
 }