private void ExtendFrameIntoClientArea() { if (!OsUtils.CompositionEnabled()) { return; } Marshal.ThrowExceptionForHR(NativeMethods.DwmExtendFrameIntoClientArea(this.Handle, ref this.glassMargins)); }