public static void DrawMenuBar(IntPtr hWnd) { if (!NativeMethods._DrawMenuBar(hWnd)) { throw new Win32Exception(); } }