DwmExtendFrameIntoClientArea() private method

private DwmExtendFrameIntoClientArea ( IntPtr hWnd, MARGINS &pMarInset ) : int
hWnd System.IntPtr
pMarInset MARGINS
return int
Beispiel #1
0
        private void ExtendFrameIntoClientArea()
        {
            if (!OsUtils.CompositionEnabled())
            {
                return;
            }

            Marshal.ThrowExceptionForHR(NativeMethods.DwmExtendFrameIntoClientArea(this.Handle, ref this.glassMargins));
        }