extern static int GetWindowAttributes (IntPtr hWnd, ref Carbon.WindowAttributes outAttributes); [DllImport ("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]