extern static int HIObjectCreate (IntPtr cfStr, uint what, ref IntPtr hwnd); [DllImport("/System/Library/Frameworks/Carbon.framework/Versions/Current/Carbon")]