コード例 #1
0
ファイル: NativeHelp.cs プロジェクト: li-yuelun/mpv.net
 public static void AddWindowBorders(IntPtr hwnd, ref WinAPI.RECT rc)
 {
     WinAPI.AdjustWindowRect(ref rc, (uint)WinAPI.GetWindowLong(hwnd, -16 /* GWL_STYLE */), false);
 }