extern static bool IsWindowInStandardState (IntPtr hWnd, IntPtr a, IntPtr b); [DllImport ("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]