org.rococoa.cocoa.hiservices
Interface HIServicesLibrary

All Superinterfaces:
Library

public interface HIServicesLibrary
extends Library

JNA Wrapper for library HIServices
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class HIServicesLibrary.__AXObserver
           
static class HIServicesLibrary.__AXUIElement
           
static class HIServicesLibrary.__AXValue
           
static class HIServicesLibrary.__CFArray
           
static class HIServicesLibrary.__CFDictionary
           
static class HIServicesLibrary.__CFRunLoopSource
           
static class HIServicesLibrary.__HIShape
           
static interface HIServicesLibrary.AXObserverCallback
           
static interface HIServicesLibrary.AXValueType
           
static class HIServicesLibrary.CFStringRef
           
static interface HIServicesLibrary.IconGetterProcPtr
           
static class HIServicesLibrary.OpaqueIconRef
           
static class HIServicesLibrary.OpaquePasteboardRef
           
static class HIServicesLibrary.OpaqueRgnHandle
           
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
Library.Handler
 
Field Summary
static int activDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Activate event
static int atAbsoluteCenter
           
static int atBottom
           
static int atBottomLeft
           
static int atBottomRight
           
static int atCenterBottom
           
static int atCenterLeft
           
static int atCenterRight
           
static int atCenterTop
           
static int atHorizontalCenter
           
static int atLeft
           
static int atNone
           
static int atRight
           
static int atTop
           
static int atTopLeft
           
static int atTopRight
           
static int atVerticalCenter
           
static int badPasteboardFlavorErr
          Pasteboard Manager error codes
item flavor does not exist
static int badPasteboardIndexErr
          Pasteboard Manager error codes
item index does not exist
static int badPasteboardItemErr
          Pasteboard Manager error codes
item reference does not exist
static int badPasteboardSyncErr
          Pasteboard Manager error codes
pasteboard has been modified and must be synchronized
static int badTranslationRefErr
          Translation Services error codes
noPrefAppErr = -3032
TranslationRef does not perform translation requested
static int cdevGenErr
          Special values a Control Panel 'cdev' can return
General error; gray cdev w/o alert
static int cdevMemErr
          Special values a Control Panel 'cdev' can return
Memory shortfall; alert user please
static int cdevResErr
          Special values a Control Panel 'cdev' can return
Couldn't get a needed resource; alert
static int cdevUnset
          Special values a Control Panel 'cdev' can return
cdevValue is initialized to this
static int clearDev
           
static int closeDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Close yourself
static int copyDev
           
static int cursorDev
           
static int cutDev
           
static int deactivDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Deactivate event
static int duplicatePasteboardFlavorErr
          Pasteboard Manager error codes
item flavor already exists
static int extendedBlock
          Set launchBlockID to extendedBlock to specify that extensions exist.
static int hitDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Hit on one of my items
static int icConfigInappropriateErr
           
static int icConfigNotFoundErr
           
static int icInternalErr
           
static int icNoMoreWritersErr
           
static int icNoPerm
           
static int icNothingToOverrideErr
           
static int icNoURLErr
           
static int icPermErr
           
static int icPrefDataErr
           
static int icPrefNotFoundErr
           
static int icProfileNotFoundErr
           
static int icReadOnlyPerm
           
static int icReadWritePerm
           
static int icTooManyProfilesErr
           
static int icTruncatedErr
           
static int initDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Time for cdev to initialize itself
static HIServicesLibrary INSTANCE
           
static int kAEFetchURL
          Apple event constants
**********************************************************************************************
static int kAEGetURL
          Apple event constants
**********************************************************************************************
static int kAlignAbsoluteCenter
           
static int kAlignBottom
           
static int kAlignBottomLeft
           
static int kAlignBottomRight
           
static int kAlignCenterBottom
           
static int kAlignCenterLeft
           
static int kAlignCenterRight
           
static int kAlignCenterTop
           
static int kAlignHorizontalCenter
           
static int kAlignLeft
           
static int kAlignNone
           
static int kAlignRight
           
static int kAlignTop
           
static int kAlignTopLeft
           
static int kAlignTopRight
           
static int kAlignVerticalCenter
           
static int kAXCopyMultipleAttributeOptionStopOnError
           
static int kAXErrorActionUnsupported
           
static int kAXErrorAPIDisabled
           
static int kAXErrorAttributeUnsupported
           
static int kAXErrorCannotComplete
           
static int kAXErrorFailure
           
static int kAXErrorIllegalArgument
           
static int kAXErrorInvalidUIElement
           
static int kAXErrorInvalidUIElementObserver
           
static int kAXErrorNotEnoughPrecision
           
static int kAXErrorNotificationAlreadyRegistered
           
static int kAXErrorNotificationNotRegistered
           
static int kAXErrorNotificationUnsupported
           
static int kAXErrorNotImplemented
           
static int kAXErrorNoValue
           
static int kAXErrorParameterizedAttributeUnsupported
           
static int kAXErrorSuccess
           
static int kAXUnderlineStyleDouble
           
static int kAXUnderlineStyleNone
           
static int kAXUnderlineStyleSingle
           
static int kAXUnderlineStyleThick
           
static int kCurrentProcess
           
static int keyAEAttaching
          Apple event constants
**********************************************************************************************
static int keyEvtDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Key down/auto key
static int keyICEditPreferenceDestination
           
static int kHIShapeEnumerateInit
          Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
static int kHIShapeEnumerateRect
          Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
static int kHIShapeEnumerateTerminate
          Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
static int kHIShapeParseFromBottom
          Summary:
Options for HIShapeEnumerate.
static int kHIShapeParseFromBottomRight
          Summary:
Options for HIShapeEnumerate.
static int kHIShapeParseFromLeft
          Summary:
Options for HIShapeEnumerate.
static int kHIShapeParseFromRight
          Summary:
Options for HIShapeEnumerate.
static int kHIShapeParseFromTop
          Summary:
Options for HIShapeEnumerate.
static int kHIShapeParseFromTopLeft
          Summary:
Options for HIShapeEnumerate.
static int kICAttrLockedBit
           
static int kICAttrLockedMask
           
static int kICAttrNoChange
           
static int kICAttrVolatileBit
           
static int kICAttrVolatileMask
           
static int kICComponentInterfaceVersion
           
static int kICComponentInterfaceVersion0
           
static int kICComponentInterfaceVersion1
           
static int kICComponentInterfaceVersion2
           
static int kICComponentInterfaceVersion3
           
static int kICComponentInterfaceVersion4
           
static int kICComponentVersion
          constants for use with ICGetVersion
**********************************************************************************************
Return a component version, comparable to kICComponentInterfaceVersion
static int kICCreator
           
static int kICEditPreferenceEvent
           
static int kICEditPreferenceEventClass
           
static int kICFileType
           
static int kICMapBinaryBit
           
static int kICMapBinaryMask
           
static int kICMapDataForkBit
           
static int kICMapDataForkMask
           
static int kICMapFixedLength
           
static int kICMapNotIncomingBit
           
static int kICMapNotIncomingMask
           
static int kICMapNotOutgoingBit
           
static int kICMapNotOutgoingMask
           
static int kICMapPostBit
           
static int kICMapPostMask
           
static int kICMapResourceForkBit
           
static int kICMapResourceForkMask
           
static int kICNilProfileID
           
static int kICNoUserInteractionBit
          other constants
**********************************************************************************************
static int kICNoUserInteractionMask
           
static int kICNumVersion
          constants for use with ICGetVersion
**********************************************************************************************
Return a NumVersion structure
static int kICServicesTCPBit
           
static int kICServicesTCPMask
           
static int kICServicesUDPBit
           
static int kICServicesUDPMask
           
static int kInternetEventClass
          Apple event constants
**********************************************************************************************
static int kNoProcess
           
static int kPasteboardClientIsOwner
          Indicates that the global pasteboard resource was most recently
cleared by the this application.
static int kPasteboardFlavorNoFlags
           
static int kPasteboardFlavorNotSaved
          Set by the sender if the flavor data should not be saved by the
receiver.
static int kPasteboardFlavorPromised
          The data for this flavor has not yet been added to the pasteboard
by the sender.
static int kPasteboardFlavorRequestOnly
          Like kPasteboardFlavorSenderOnly, when the sender adds this flag,
the presence of this flavor will not be made known when
PasteboardCopyItemFlavors() is called by the receiver.
static int kPasteboardFlavorSenderOnly
          Only the process which has added this flavor can see it.
static int kPasteboardFlavorSenderTranslated
          The data for this flavor was translated in some manner by the
sender before adding it to the pasteboard.
static int kPasteboardFlavorSystemTranslated
          The data for this flavor is provided by the Translation Manager as
a convenience to receivers.
static int kPasteboardModified
          Indicates that the global pasteboard resource has been modified
since the last time it was accessed via the local pasteboard
reference.
static int kPasteboardStandardLocationTrash
          The paste or drop location was in the trash.
static int kPasteboardStandardLocationUnknown
           
static int kPlotIconRefNoImage
           
static int kPlotIconRefNoMask
           
static int kPlotIconRefNormalFlags
           
static int kProcessTransformToForegroundApplication
           
static int kQuitAtNormalTimeMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitBeforeFBAsQuitMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitBeforeNormalTimeMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitBeforeShellQuitsMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitBeforeTerminatorAppQuitsMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitNeverMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitNotQuitDuringInstallMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitNotQuitDuringLogoutMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kQuitOptionsMask
          Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork.
static int kSelectorAll1BitData
           
static int kSelectorAll32BitData
           
static int kSelectorAll4BitData
           
static int kSelectorAll8BitData
           
static int kSelectorAllAvailableData
           
static int kSelectorAllHugeData
           
static int kSelectorAllLargeData
           
static int kSelectorAllMiniData
           
static int kSelectorAllSmallData
           
static int kSelectorHuge1Bit
           
static int kSelectorHuge32Bit
           
static int kSelectorHuge4Bit
           
static int kSelectorHuge8Bit
           
static int kSelectorHuge8BitMask
           
static int kSelectorLarge1Bit
           
static int kSelectorLarge32Bit
           
static int kSelectorLarge4Bit
           
static int kSelectorLarge8Bit
           
static int kSelectorLarge8BitMask
           
static int kSelectorMini1Bit
           
static int kSelectorMini4Bit
           
static int kSelectorMini8Bit
           
static int kSelectorSmall1Bit
           
static int kSelectorSmall32Bit
           
static int kSelectorSmall4Bit
           
static int kSelectorSmall8Bit
           
static int kSelectorSmall8BitMask
           
static int kSetFrontProcessFrontWindowOnly
          Summary:
Options for SetFrontProcessWithOptions
Activate the process, but bring only the frontmost non-floating
window forward.
static int kSystemProcess
           
static int kTransformDisabled
           
static int kTransformLabel1
           
static int kTransformLabel2
           
static int kTransformLabel3
           
static int kTransformLabel4
           
static int kTransformLabel5
           
static int kTransformLabel6
           
static int kTransformLabel7
           
static int kTransformNone
           
static int kTransformOffline
           
static int kTransformOpen
           
static int kTransformSelected
           
static int kTransformSelectedDisabled
           
static int kTransformSelectedOffline
           
static int kTransformSelectedOpen
           
static int kTranslationDataTranslation
          Indicates that the client is interested in translations which
provide data translations.
static int kTranslationFileTranslation
          Indicates that the client is interested in translations which
provide file translations.
static int kUAZoomFocusTypeInsertionPoint
           
static int kUAZoomFocusTypeOther
           
static int launchAllow24Bit
           
static int launchContinue
           
static int launchDontSwitch
           
static int launchInhibitDaemon
           
static int launchNoFileFlags
           
static int launchUseMinimum
           
static int macDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Decide whether or not to show up
static int mode32BitCompatible
           
static int modeCanBackground
           
static int modeControlPanel
           
static int modeDeskAccessory
           
static int modeDisplayManagerAware
           
static int modeDoesActivateOnFGSwitch
           
static int modeGetAppDiedMsg
           
static int modeGetFrontClicks
           
static int modeHighLevelEventAware
           
static int modeLaunchDontSwitch
           
static int modeLocalAndRemoteHLEvents
           
static int modeMultiLaunch
           
static int modeNeedSuspendResume
           
static int modeOnlyBackground
           
static int modeReserved
           
static int modeStationeryAware
           
static int modeUseTextEditServices
           
static int noPasteboardPromiseKeeperErr
          Pasteboard Manager error codes
a promise is being added without a promise keeper
static int notPasteboardOwnerErr
          Pasteboard Manager error codes
client did not clear the pasteboard
static int nulDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Null event
static int pasteDev
           
static int svAll1BitData
           
static int svAll4BitData
           
static int svAll8BitData
           
static int svAllAvailableData
           
static int svAllLargeData
           
static int svAllMiniData
           
static int svAllSmallData
           
static int svLarge1Bit
           
static int svLarge4Bit
           
static int svLarge8Bit
           
static int svMini1Bit
           
static int svMini4Bit
           
static int svMini8Bit
           
static int svSmall1Bit
           
static int svSmall4Bit
           
static int svSmall8Bit
           
static int ttDisabled
           
static int ttLabel1
           
static int ttLabel2
           
static int ttLabel3
           
static int ttLabel4
           
static int ttLabel5
           
static int ttLabel6
           
static int ttLabel7
           
static int ttNone
           
static int ttOffline
           
static int ttOpen
           
static int ttSelected
           
static int ttSelectedDisabled
           
static int ttSelectedOffline
           
static int ttSelectedOpen
           
static int undoDev
           
static int updateDev
          Values of the 'message' parameter to a Control Panel 'cdev'
Update event
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 boolean AXAPIEnabled()
           
 boolean AXIsProcessTrusted()
           
 int AXObserverCreate(int application, HIServicesLibrary.AXObserverCallback callback, PointerByReference outObserver)
           
 HIServicesLibrary.__CFRunLoopSource AXObserverGetRunLoopSource(HIServicesLibrary.__AXObserver observer)
           
 NativeLong AXObserverGetTypeID()
           
 int AXUIElementCopyActionNames(HIServicesLibrary.__AXUIElement element, PointerByReference names)
           
 int AXUIElementCopyAttributeNames(HIServicesLibrary.__AXUIElement element, PointerByReference names)
           
 int AXUIElementCopyElementAtPosition(HIServicesLibrary.__AXUIElement application, float x, float y, PointerByReference element)
           
 int AXUIElementCopyMultipleAttributeValues(HIServicesLibrary.__AXUIElement element, HIServicesLibrary.__CFArray attributes, int options, PointerByReference values)
           
 int AXUIElementCopyParameterizedAttributeNames(HIServicesLibrary.__AXUIElement element, PointerByReference names)
           
 HIServicesLibrary.__AXUIElement AXUIElementCreateApplication(int pid)
           
 HIServicesLibrary.__AXUIElement AXUIElementCreateSystemWide()
           
 int AXUIElementGetPid(HIServicesLibrary.__AXUIElement element, IntBuffer pid)
           
 int AXUIElementGetPid(HIServicesLibrary.__AXUIElement element, IntByReference pid)
          Deprecated. use the safer method AXUIElementGetPid(org.rococoa.cocoa.hiservices.HIServicesLibrary.__AXUIElement, java.nio.IntBuffer) instead
 NativeLong AXUIElementGetTypeID()
           
 int AXUIElementPostKeyboardEvent(HIServicesLibrary.__AXUIElement application, short keyChar, short virtualKey, boolean keyDown)
          you can only pass the root or application uielement
Original signature : AXError AXUIElementPostKeyboardEvent(AXUIElementRef, CGCharCode, CGKeyCode, Boolean)
 int AXUIElementSetMessagingTimeout(HIServicesLibrary.__AXUIElement element, float timeoutInSeconds)
          setting timeout to 0 makes this element use the global timeout
Original signature : AXError AXUIElementSetMessagingTimeout(AXUIElementRef, float)
 HIServicesLibrary.__AXValue AXValueCreate(int theType, Pointer valuePtr)
          Original signature : AXValueRef AXValueCreate(AXValueType, const void*)
 int AXValueGetType(HIServicesLibrary.__AXValue value)
           
 NativeLong AXValueGetTypeID()
           
 boolean AXValueGetValue(HIServicesLibrary.__AXValue value, int theType, Pointer valuePtr)
          Original signature : Boolean AXValueGetValue(AXValueRef, AXValueType, void*)
 void DisposeCIcon(CIcon theIcon)
          DisposeCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void DisposeCIcon(CIconHandle)
 void DisposeIconGetterUPP(HIServicesLibrary.IconGetterProcPtr userUPP)
          DisposeIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : void DisposeIconGetterUPP(IconGetterUPP)
 void ExitToShell()
           
 CIcon GetCIcon(short iconID)
          GetCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : CIconHandle GetCIcon(SInt16)
 ByteByReference GetIcon(short iconID)
          GetIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Handle GetIcon(SInt16)
 HIServicesLibrary.OpaqueIconRef GetIconRefVariant(HIServicesLibrary.OpaqueIconRef inIconRef, int inVariant, ShortBuffer outTransform)
          GetIconRefVariant()

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 9.0 and later
Original signature : IconRef GetIconRefVariant(IconRef, OSType, IconTransformType*)
 HIServicesLibrary.OpaqueIconRef GetIconRefVariant(HIServicesLibrary.OpaqueIconRef inIconRef, int inVariant, ShortByReference outTransform)
          Deprecated. use the safer method GetIconRefVariant(org.rococoa.cocoa.hiservices.HIServicesLibrary.OpaqueIconRef, int, java.nio.ShortBuffer) instead
 boolean HIShapeContainsPoint(HIServicesLibrary.__HIShape inShape, CGPoint inPoint)
          HIShapeContainsPoint()

Discussion:
Returns true if the given HIShapeRef contains the point passed
in.
 HIServicesLibrary.__HIShape HIShapeCreateCopy(HIServicesLibrary.__HIShape inShape)
          HIShapeCreateCopy()

Discussion:
Creates an immutable copy of a mutable or immutable HIShape.
 HIServicesLibrary.__HIShape HIShapeCreateDifference(HIServicesLibrary.__HIShape inShape1, HIServicesLibrary.__HIShape inShape2)
          HIShapeCreateDifference()

Discussion:
Creates a new immutable shape which is the difference of two
others.
 HIServicesLibrary.__HIShape HIShapeCreateEmpty()
          HIShapeCreateEmpty()

Discussion:
Creates an immutable empty shape.
 HIServicesLibrary.__HIShape HIShapeCreateIntersection(HIServicesLibrary.__HIShape inShape1, HIServicesLibrary.__HIShape inShape2)
          HIShapeCreateIntersection()

Discussion:
Creates a new immutable shape which is the intersection of two
others.
 HIServicesLibrary.__HIShape HIShapeCreateMutable()
          HIShapeCreateMutable()

Discussion:
Creates a new, mutable, empty shape.
 HIServicesLibrary.__HIShape HIShapeCreateMutableCopy(HIServicesLibrary.__HIShape inOrig)
          HIShapeCreateMutableCopy()

Discussion:
Given an existing HIShapeRef, creates a new mutable copy.
 HIServicesLibrary.__HIShape HIShapeCreateMutableWithRect(CGRect inRect)
          HIShapeCreateMutableWithRect()

Discussion:
Creates a mutable HIShapeRef based on a given rectangle.
 HIServicesLibrary.__HIShape HIShapeCreateUnion(HIServicesLibrary.__HIShape inShape1, HIServicesLibrary.__HIShape inShape2)
          HIShapeCreateUnion()

Discussion:
Creates a new immutable shape which is the union of two others.
 HIServicesLibrary.__HIShape HIShapeCreateWithQDRgn(HIServicesLibrary.OpaqueRgnHandle inRgn)
          HIShapeCreateWithQDRgn()

Discussion:
Creates an immutable shape based on an existing Quickdraw region
handle.
 HIServicesLibrary.__HIShape HIShapeCreateWithRect(CGRect inRect)
          HIShapeCreateWithRect()

Discussion:
Creates an immutable, rectangular shape based on a given
rectangle.
 HIServicesLibrary.__HIShape HIShapeCreateXor(HIServicesLibrary.__HIShape inShape1, HIServicesLibrary.__HIShape inShape2)
          HIShapeCreateXor()

Discussion:
Creates a new immutable shape which is the difference between the
union and the intersection of the two others.
 CGRect HIShapeGetBounds(HIServicesLibrary.__HIShape inShape, CGRect outRect)
          HIShapeGetBounds()

Discussion:
Returns the bounding rectangle of a given HIShapeRef.
 NativeLong HIShapeGetTypeID()
          HIShapeGetTypeID()

Discussion:
Returns the CoreFoundation type ID for the HIShape class.
 boolean HIShapeIntersectsRect(HIServicesLibrary.__HIShape inShape, CGRect inRect)
          HIShapeIntersectsRect()

Discussion:
Returns true if the given HIShapeRef intersects the rect passed
in.
 boolean HIShapeIsEmpty(HIServicesLibrary.__HIShape inShape)
          HIShapeIsEmpty()

Discussion:
Returns true if the given HIShapeRef is empty, i.e. its area is
empty.
 boolean HIShapeIsRectangular(HIServicesLibrary.__HIShape inShape)
          HIShapeIsRectangular()

Discussion:
Returns true if the given HIShapeRef is rectangular.
 boolean IconRefContainsCGPoint(CGPoint testPt, CGRect iconRect, short align, int iconServicesUsageFlags, HIServicesLibrary.OpaqueIconRef theIconRef)
          IconRefContainsCGPoint()

Discussion:
Tests whether a specified point falls within an iconŐs mask.
 boolean IconRefIntersectsCGRect(CGRect testRect, CGRect iconRect, short align, int iconServicesUsageFlags, HIServicesLibrary.OpaqueIconRef theIconRef)
          IconRefIntersectsCGRect()

Discussion:
Tests whether a specified rectangle falls within an icon\u2019s mask.
 HIServicesLibrary.__HIShape IconRefToHIShape(CGRect iconRect, short align, int iconServicesUsageFlags, HIServicesLibrary.OpaqueIconRef theIconRef)
          IconRefToHIShape()

Discussion:
Converts an IconRef-derived icon into an HIShape.
 ByteByReference InvokeIconGetterUPP(int theType, Pointer yourDataPtr, HIServicesLibrary.IconGetterProcPtr userUPP)
          InvokeIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : Handle InvokeIconGetterUPP(ResType, void*, IconGetterUPP)
 boolean IsIconRefMaskEmpty(HIServicesLibrary.OpaqueIconRef iconRef)
          IsIconRefMaskEmpty()

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean IsIconRefMaskEmpty(IconRef)
 boolean IsProcessVisible(ProcessSerialNumber psn)
          IsProcessVisible()

Summary:
Determines whether a particular process is visible or not.
 HIServicesLibrary.IconGetterProcPtr NewIconGetterUPP(HIServicesLibrary.IconGetterProcPtr userRoutine)
          NewIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : IconGetterUPP NewIconGetterUPP(IconGetterProcPtr)
 NativeLong PasteboardGetTypeID()
          PasteboardGetTypeID()

Summary:
Returns the CFType identifier for a pasteboard object.
 int PasteboardSynchronize(HIServicesLibrary.OpaquePasteboardRef inPasteboard)
          PasteboardSynchronize()

Summary:
Compares a local pasteboard reference with the global pasteboard
resource to which it refers, determining whether the global
pasteboard resource has been modified.
 void PlotCIcon(Rect theRect, CIcon theIcon)
          PlotCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void PlotCIcon(const Rect*, CIconHandle)
 void PlotIcon(Rect theRect, ByteBuffer theIcon)
          PlotIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void PlotIcon(const Rect*, Handle)
 void PlotIcon(Rect theRect, ByteByReference theIcon)
          Deprecated. use the safer method PlotIcon(org.rococoa.cocoa.carboncore.Rect, java.nio.ByteBuffer) instead
 HIServicesLibrary.__CFDictionary ProcessInformationCopyDictionary(ProcessSerialNumber PSN, int infoToReturn)
          ProcessInformationCopyDictionary()

Discussion:
Return a CFDictionary containing information about the given
process.
 boolean PtInIconID(Point.ByValue testPt, Rect iconRect, short align, short iconID)
          PtInIconID() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean PtInIconID(Point, const Rect*, IconAlignmentType, SInt16)
 boolean PtInIconMethod(Point.ByValue testPt, Rect iconRect, short align, HIServicesLibrary.IconGetterProcPtr theMethod, Pointer yourDataPtr)
          PtInIconMethod() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean PtInIconMethod(Point, const Rect*, IconAlignmentType, IconGetterUPP, void*)
 boolean PtInIconRef(Point testPt, Rect iconRect, short align, int theIconServicesUsageFlags, HIServicesLibrary.OpaqueIconRef theIconRef)
          PtInIconRef() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean PtInIconRef(const Point*, const Rect*, IconAlignmentType, IconServicesUsageFlags, IconRef)
 boolean RectInIconID(Rect testRect, Rect iconRect, short align, short iconID)
          RectInIconID() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean RectInIconID(const Rect*, const Rect*, IconAlignmentType, SInt16)
 boolean RectInIconMethod(Rect testRect, Rect iconRect, short align, HIServicesLibrary.IconGetterProcPtr theMethod, Pointer yourDataPtr)
          RectInIconMethod() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean RectInIconMethod(const Rect*, const Rect*, IconAlignmentType, IconGetterUPP, void*)
 boolean RectInIconRef(Rect testRect, Rect iconRect, short align, int iconServicesUsageFlags, HIServicesLibrary.OpaqueIconRef theIconRef)
          RectInIconRef() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean RectInIconRef(const Rect*, const Rect*, IconAlignmentType, IconServicesUsageFlags, IconRef)
 NativeLong TranslationGetTypeID()
          TranslationGetTypeID()

Summary:
Returns the CFType identifier for a translation object.
 boolean UAZoomEnabled()
          UAZoomEnabled()

Summary:
Determine if Universal Access Zoom is enabled.
 

Field Detail

INSTANCE

static final HIServicesLibrary INSTANCE

kHIShapeEnumerateInit

static final int kHIShapeEnumerateInit
Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
The callback receives this message at the beginning of enumeration.

See Also:
Constant Field Values

kHIShapeEnumerateRect

static final int kHIShapeEnumerateRect
Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
The callback receives this message when it is passed a rectangular
portion of the shape.

See Also:
Constant Field Values

kHIShapeEnumerateTerminate

static final int kHIShapeEnumerateTerminate
Summary:
Messages passed to an HIShapeEnumeratorProcPtr callback.
The callback receives this message at the end of enumeration.

See Also:
Constant Field Values

kHIShapeParseFromTop

static final int kHIShapeParseFromTop
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the top of the shape. This is the
default behavior.

See Also:
Constant Field Values

kHIShapeParseFromBottom

static final int kHIShapeParseFromBottom
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the bottom of the shape.

See Also:
Constant Field Values

kHIShapeParseFromLeft

static final int kHIShapeParseFromLeft
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the left side of the shape. This is
the default behavior.

See Also:
Constant Field Values

kHIShapeParseFromRight

static final int kHIShapeParseFromRight
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the right side of the shape.

See Also:
Constant Field Values

kHIShapeParseFromTopLeft

static final int kHIShapeParseFromTopLeft
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the top left corner of the shape. This
is the default behavior.

See Also:
Constant Field Values

kHIShapeParseFromBottomRight

static final int kHIShapeParseFromBottomRight
Summary:
Options for HIShapeEnumerate.
Enumeration should begin at the bottom right corner of the shape.

See Also:
Constant Field Values

kAlignNone

static final int kAlignNone
See Also:
Constant Field Values

kAlignVerticalCenter

static final int kAlignVerticalCenter
See Also:
Constant Field Values

kAlignTop

static final int kAlignTop
See Also:
Constant Field Values

kAlignBottom

static final int kAlignBottom
See Also:
Constant Field Values

kAlignHorizontalCenter

static final int kAlignHorizontalCenter
See Also:
Constant Field Values

kAlignAbsoluteCenter

static final int kAlignAbsoluteCenter
See Also:
Constant Field Values

kAlignCenterTop

static final int kAlignCenterTop
See Also:
Constant Field Values

kAlignCenterBottom

static final int kAlignCenterBottom
See Also:
Constant Field Values

kAlignLeft

static final int kAlignLeft
See Also:
Constant Field Values

kAlignCenterLeft

static final int kAlignCenterLeft
See Also:
Constant Field Values

kAlignTopLeft

static final int kAlignTopLeft
See Also:
Constant Field Values

kAlignBottomLeft

static final int kAlignBottomLeft
See Also:
Constant Field Values

kAlignRight

static final int kAlignRight
See Also:
Constant Field Values

kAlignCenterRight

static final int kAlignCenterRight
See Also:
Constant Field Values

kAlignTopRight

static final int kAlignTopRight
See Also:
Constant Field Values

kAlignBottomRight

static final int kAlignBottomRight
See Also:
Constant Field Values

atNone

static final int atNone
See Also:
Constant Field Values

atVerticalCenter

static final int atVerticalCenter
See Also:
Constant Field Values

atTop

static final int atTop
See Also:
Constant Field Values

atBottom

static final int atBottom
See Also:
Constant Field Values

atHorizontalCenter

static final int atHorizontalCenter
See Also:
Constant Field Values

atAbsoluteCenter

static final int atAbsoluteCenter
See Also:
Constant Field Values

atCenterTop

static final int atCenterTop
See Also:
Constant Field Values

atCenterBottom

static final int atCenterBottom
See Also:
Constant Field Values

atLeft

static final int atLeft
See Also:
Constant Field Values

atCenterLeft

static final int atCenterLeft
See Also:
Constant Field Values

atTopLeft

static final int atTopLeft
See Also:
Constant Field Values

atBottomLeft

static final int atBottomLeft
See Also:
Constant Field Values

atRight

static final int atRight
See Also:
Constant Field Values

atCenterRight

static final int atCenterRight
See Also:
Constant Field Values

atTopRight

static final int atTopRight
See Also:
Constant Field Values

atBottomRight

static final int atBottomRight
See Also:
Constant Field Values

kTransformNone

static final int kTransformNone
See Also:
Constant Field Values

kTransformDisabled

static final int kTransformDisabled
See Also:
Constant Field Values

kTransformOffline

static final int kTransformOffline
See Also:
Constant Field Values

kTransformOpen

static final int kTransformOpen
See Also:
Constant Field Values

kTransformLabel1

static final int kTransformLabel1
See Also:
Constant Field Values

kTransformLabel2

static final int kTransformLabel2
See Also:
Constant Field Values

kTransformLabel3

static final int kTransformLabel3
See Also:
Constant Field Values

kTransformLabel4

static final int kTransformLabel4
See Also:
Constant Field Values

kTransformLabel5

static final int kTransformLabel5
See Also:
Constant Field Values

kTransformLabel6

static final int kTransformLabel6
See Also:
Constant Field Values

kTransformLabel7

static final int kTransformLabel7
See Also:
Constant Field Values

kTransformSelected

static final int kTransformSelected
See Also:
Constant Field Values

kTransformSelectedDisabled

static final int kTransformSelectedDisabled
See Also:
Constant Field Values

kTransformSelectedOffline

static final int kTransformSelectedOffline
See Also:
Constant Field Values

kTransformSelectedOpen

static final int kTransformSelectedOpen
See Also:
Constant Field Values

ttNone

static final int ttNone
See Also:
Constant Field Values

ttDisabled

static final int ttDisabled
See Also:
Constant Field Values

ttOffline

static final int ttOffline
See Also:
Constant Field Values

ttOpen

static final int ttOpen
See Also:
Constant Field Values

ttLabel1

static final int ttLabel1
See Also:
Constant Field Values

ttLabel2

static final int ttLabel2
See Also:
Constant Field Values

ttLabel3

static final int ttLabel3
See Also:
Constant Field Values

ttLabel4

static final int ttLabel4
See Also:
Constant Field Values

ttLabel5

static final int ttLabel5
See Also:
Constant Field Values

ttLabel6

static final int ttLabel6
See Also:
Constant Field Values

ttLabel7

static final int ttLabel7
See Also:
Constant Field Values

ttSelected

static final int ttSelected
See Also:
Constant Field Values

ttSelectedDisabled

static final int ttSelectedDisabled
See Also:
Constant Field Values

ttSelectedOffline

static final int ttSelectedOffline
See Also:
Constant Field Values

ttSelectedOpen

static final int ttSelectedOpen
See Also:
Constant Field Values

kSelectorLarge1Bit

static final int kSelectorLarge1Bit
See Also:
Constant Field Values

kSelectorLarge4Bit

static final int kSelectorLarge4Bit
See Also:
Constant Field Values

kSelectorLarge8Bit

static final int kSelectorLarge8Bit
See Also:
Constant Field Values

kSelectorLarge32Bit

static final int kSelectorLarge32Bit
See Also:
Constant Field Values

kSelectorLarge8BitMask

static final int kSelectorLarge8BitMask
See Also:
Constant Field Values

kSelectorSmall1Bit

static final int kSelectorSmall1Bit
See Also:
Constant Field Values

kSelectorSmall4Bit

static final int kSelectorSmall4Bit
See Also:
Constant Field Values

kSelectorSmall8Bit

static final int kSelectorSmall8Bit
See Also:
Constant Field Values

kSelectorSmall32Bit

static final int kSelectorSmall32Bit
See Also:
Constant Field Values

kSelectorSmall8BitMask

static final int kSelectorSmall8BitMask
See Also:
Constant Field Values

kSelectorMini1Bit

static final int kSelectorMini1Bit
See Also:
Constant Field Values

kSelectorMini4Bit

static final int kSelectorMini4Bit
See Also:
Constant Field Values

kSelectorMini8Bit

static final int kSelectorMini8Bit
See Also:
Constant Field Values

kSelectorHuge1Bit

static final int kSelectorHuge1Bit
See Also:
Constant Field Values

kSelectorHuge4Bit

static final int kSelectorHuge4Bit
See Also:
Constant Field Values

kSelectorHuge8Bit

static final int kSelectorHuge8Bit
See Also:
Constant Field Values

kSelectorHuge32Bit

static final int kSelectorHuge32Bit
See Also:
Constant Field Values

kSelectorHuge8BitMask

static final int kSelectorHuge8BitMask
See Also:
Constant Field Values

kSelectorAllLargeData

static final int kSelectorAllLargeData
See Also:
Constant Field Values

kSelectorAllSmallData

static final int kSelectorAllSmallData
See Also:
Constant Field Values

kSelectorAllMiniData

static final int kSelectorAllMiniData
See Also:
Constant Field Values

kSelectorAllHugeData

static final int kSelectorAllHugeData
See Also:
Constant Field Values

kSelectorAll1BitData

static final int kSelectorAll1BitData
See Also:
Constant Field Values

kSelectorAll4BitData

static final int kSelectorAll4BitData
See Also:
Constant Field Values

kSelectorAll8BitData

static final int kSelectorAll8BitData
See Also:
Constant Field Values

kSelectorAll32BitData

static final int kSelectorAll32BitData
See Also:
Constant Field Values

kSelectorAllAvailableData

static final int kSelectorAllAvailableData
See Also:
Constant Field Values

svLarge1Bit

static final int svLarge1Bit
See Also:
Constant Field Values

svLarge4Bit

static final int svLarge4Bit
See Also:
Constant Field Values

svLarge8Bit

static final int svLarge8Bit
See Also:
Constant Field Values

svSmall1Bit

static final int svSmall1Bit
See Also:
Constant Field Values

svSmall4Bit

static final int svSmall4Bit
See Also:
Constant Field Values

svSmall8Bit

static final int svSmall8Bit
See Also:
Constant Field Values

svMini1Bit

static final int svMini1Bit
See Also:
Constant Field Values

svMini4Bit

static final int svMini4Bit
See Also:
Constant Field Values

svMini8Bit

static final int svMini8Bit
See Also:
Constant Field Values

svAllLargeData

static final int svAllLargeData
See Also:
Constant Field Values

svAllSmallData

static final int svAllSmallData
See Also:
Constant Field Values

svAllMiniData

static final int svAllMiniData
See Also:
Constant Field Values

svAll1BitData

static final int svAll1BitData
See Also:
Constant Field Values

svAll4BitData

static final int svAll4BitData
See Also:
Constant Field Values

svAll8BitData

static final int svAll8BitData
See Also:
Constant Field Values

svAllAvailableData

static final int svAllAvailableData
See Also:
Constant Field Values

kPlotIconRefNormalFlags

static final int kPlotIconRefNormalFlags
See Also:
Constant Field Values

kPlotIconRefNoImage

static final int kPlotIconRefNoImage
See Also:
Constant Field Values

kPlotIconRefNoMask

static final int kPlotIconRefNoMask
See Also:
Constant Field Values

icPrefNotFoundErr

static final int icPrefNotFoundErr
See Also:
Constant Field Values

icPermErr

static final int icPermErr
See Also:
Constant Field Values

icPrefDataErr

static final int icPrefDataErr
See Also:
Constant Field Values

icInternalErr

static final int icInternalErr
See Also:
Constant Field Values

icTruncatedErr

static final int icTruncatedErr
See Also:
Constant Field Values

icNoMoreWritersErr

static final int icNoMoreWritersErr
See Also:
Constant Field Values

icNothingToOverrideErr

static final int icNothingToOverrideErr
See Also:
Constant Field Values

icNoURLErr

static final int icNoURLErr
See Also:
Constant Field Values

icConfigNotFoundErr

static final int icConfigNotFoundErr
See Also:
Constant Field Values

icConfigInappropriateErr

static final int icConfigInappropriateErr
See Also:
Constant Field Values

icProfileNotFoundErr

static final int icProfileNotFoundErr
See Also:
Constant Field Values

icTooManyProfilesErr

static final int icTooManyProfilesErr
See Also:
Constant Field Values

kICComponentInterfaceVersion0

static final int kICComponentInterfaceVersion0
See Also:
Constant Field Values

kICComponentInterfaceVersion1

static final int kICComponentInterfaceVersion1
See Also:
Constant Field Values

kICComponentInterfaceVersion2

static final int kICComponentInterfaceVersion2
See Also:
Constant Field Values

kICComponentInterfaceVersion3

static final int kICComponentInterfaceVersion3
See Also:
Constant Field Values

kICComponentInterfaceVersion4

static final int kICComponentInterfaceVersion4
See Also:
Constant Field Values

kICComponentInterfaceVersion

static final int kICComponentInterfaceVersion
See Also:
Constant Field Values

kICAttrLockedBit

static final int kICAttrLockedBit
See Also:
Constant Field Values

kICAttrVolatileBit

static final int kICAttrVolatileBit
See Also:
Constant Field Values

kICAttrNoChange

static final int kICAttrNoChange
See Also:
Constant Field Values

kICAttrLockedMask

static final int kICAttrLockedMask
See Also:
Constant Field Values

kICAttrVolatileMask

static final int kICAttrVolatileMask
See Also:
Constant Field Values

icNoPerm

static final int icNoPerm
See Also:
Constant Field Values

icReadOnlyPerm

static final int icReadOnlyPerm
See Also:
Constant Field Values

icReadWritePerm

static final int icReadWritePerm
See Also:
Constant Field Values

kICNilProfileID

static final int kICNilProfileID
See Also:
Constant Field Values

kICNoUserInteractionBit

static final int kICNoUserInteractionBit
other constants
**********************************************************************************************

See Also:
Constant Field Values

kICNoUserInteractionMask

static final int kICNoUserInteractionMask
See Also:
Constant Field Values

kICFileType

static final int kICFileType
See Also:
Constant Field Values

kICCreator

static final int kICCreator
See Also:
Constant Field Values

kInternetEventClass

static final int kInternetEventClass
Apple event constants
**********************************************************************************************

See Also:
Constant Field Values

kAEGetURL

static final int kAEGetURL
Apple event constants
**********************************************************************************************

See Also:
Constant Field Values

kAEFetchURL

static final int kAEFetchURL
Apple event constants
**********************************************************************************************

See Also:
Constant Field Values

keyAEAttaching

static final int keyAEAttaching
Apple event constants
**********************************************************************************************

See Also:
Constant Field Values

kICEditPreferenceEventClass

static final int kICEditPreferenceEventClass
See Also:
Constant Field Values

kICEditPreferenceEvent

static final int kICEditPreferenceEvent
See Also:
Constant Field Values

keyICEditPreferenceDestination

static final int keyICEditPreferenceDestination
See Also:
Constant Field Values

kICComponentVersion

static final int kICComponentVersion
constants for use with ICGetVersion
**********************************************************************************************
Return a component version, comparable to kICComponentInterfaceVersion

See Also:
Constant Field Values

kICNumVersion

static final int kICNumVersion
constants for use with ICGetVersion
**********************************************************************************************
Return a NumVersion structure

See Also:
Constant Field Values

kICMapFixedLength

static final int kICMapFixedLength
See Also:
Constant Field Values

kICMapBinaryBit

static final int kICMapBinaryBit
See Also:
Constant Field Values

kICMapResourceForkBit

static final int kICMapResourceForkBit
See Also:
Constant Field Values

kICMapDataForkBit

static final int kICMapDataForkBit
See Also:
Constant Field Values

kICMapPostBit

static final int kICMapPostBit
See Also:
Constant Field Values

kICMapNotIncomingBit

static final int kICMapNotIncomingBit
See Also:
Constant Field Values

kICMapNotOutgoingBit

static final int kICMapNotOutgoingBit
See Also:
Constant Field Values

kICMapBinaryMask

static final int kICMapBinaryMask
See Also:
Constant Field Values

kICMapResourceForkMask

static final int kICMapResourceForkMask
See Also:
Constant Field Values

kICMapDataForkMask

static final int kICMapDataForkMask
See Also:
Constant Field Values

kICMapPostMask

static final int kICMapPostMask
See Also:
Constant Field Values

kICMapNotIncomingMask

static final int kICMapNotIncomingMask
See Also:
Constant Field Values

kICMapNotOutgoingMask

static final int kICMapNotOutgoingMask
See Also:
Constant Field Values

kICServicesTCPBit

static final int kICServicesTCPBit
See Also:
Constant Field Values

kICServicesUDPBit

static final int kICServicesUDPBit
See Also:
Constant Field Values

kICServicesTCPMask

static final int kICServicesTCPMask
See Also:
Constant Field Values

kICServicesUDPMask

static final int kICServicesUDPMask
See Also:
Constant Field Values

kNoProcess

static final int kNoProcess
See Also:
Constant Field Values

kSystemProcess

static final int kSystemProcess
See Also:
Constant Field Values

kCurrentProcess

static final int kCurrentProcess
See Also:
Constant Field Values

launchContinue

static final int launchContinue
See Also:
Constant Field Values

launchNoFileFlags

static final int launchNoFileFlags
See Also:
Constant Field Values

launchUseMinimum

static final int launchUseMinimum
See Also:
Constant Field Values

launchDontSwitch

static final int launchDontSwitch
See Also:
Constant Field Values

launchAllow24Bit

static final int launchAllow24Bit
See Also:
Constant Field Values

launchInhibitDaemon

static final int launchInhibitDaemon
See Also:
Constant Field Values

extendedBlock

static final int extendedBlock
Set launchBlockID to extendedBlock to specify that extensions exist.
Set launchEPBLength to extendedBlockLen for compatibility.
'LC'

See Also:
Constant Field Values

modeReserved

static final int modeReserved
See Also:
Constant Field Values

modeControlPanel

static final int modeControlPanel
See Also:
Constant Field Values

modeLaunchDontSwitch

static final int modeLaunchDontSwitch
See Also:
Constant Field Values

modeDeskAccessory

static final int modeDeskAccessory
See Also:
Constant Field Values

modeMultiLaunch

static final int modeMultiLaunch
See Also:
Constant Field Values

modeNeedSuspendResume

static final int modeNeedSuspendResume
See Also:
Constant Field Values

modeCanBackground

static final int modeCanBackground
See Also:
Constant Field Values

modeDoesActivateOnFGSwitch

static final int modeDoesActivateOnFGSwitch
See Also:
Constant Field Values

modeOnlyBackground

static final int modeOnlyBackground
See Also:
Constant Field Values

modeGetFrontClicks

static final int modeGetFrontClicks
See Also:
Constant Field Values

modeGetAppDiedMsg

static final int modeGetAppDiedMsg
See Also:
Constant Field Values

mode32BitCompatible

static final int mode32BitCompatible
See Also:
Constant Field Values

modeHighLevelEventAware

static final int modeHighLevelEventAware
See Also:
Constant Field Values

modeLocalAndRemoteHLEvents

static final int modeLocalAndRemoteHLEvents
See Also:
Constant Field Values

modeStationeryAware

static final int modeStationeryAware
See Also:
Constant Field Values

modeUseTextEditServices

static final int modeUseTextEditServices
See Also:
Constant Field Values

modeDisplayManagerAware

static final int modeDisplayManagerAware
See Also:
Constant Field Values

kProcessTransformToForegroundApplication

static final int kProcessTransformToForegroundApplication
See Also:
Constant Field Values

kQuitBeforeNormalTimeMask

static final int kQuitBeforeNormalTimeMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitAtNormalTimeMask

static final int kQuitAtNormalTimeMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitBeforeFBAsQuitMask

static final int kQuitBeforeFBAsQuitMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitBeforeShellQuitsMask

static final int kQuitBeforeShellQuitsMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitBeforeTerminatorAppQuitsMask

static final int kQuitBeforeTerminatorAppQuitsMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitNeverMask

static final int kQuitNeverMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitOptionsMask

static final int kQuitOptionsMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitNotQuitDuringInstallMask

static final int kQuitNotQuitDuringInstallMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kQuitNotQuitDuringLogoutMask

static final int kQuitNotQuitDuringLogoutMask
Applications and background applications can control when they are asked to quit
by the system at restart/shutdown by setting these bits in a 'quit' ( 0 ) resource
in their application's resource fork. Applications without a 'quit' ( 0 ) will
be quit at kQuitAtNormalTime mask.
These options only function on Mac OS 9.x at this time.

See Also:
Constant Field Values

kSetFrontProcessFrontWindowOnly

static final int kSetFrontProcessFrontWindowOnly
Summary:
Options for SetFrontProcessWithOptions
Activate the process, but bring only the frontmost non-floating
window forward. If this option is not set, all process windows are
brought forward.

See Also:
Constant Field Values

initDev

static final int initDev
Values of the 'message' parameter to a Control Panel 'cdev'
Time for cdev to initialize itself

See Also:
Constant Field Values

hitDev

static final int hitDev
Values of the 'message' parameter to a Control Panel 'cdev'
Hit on one of my items

See Also:
Constant Field Values

closeDev

static final int closeDev
Values of the 'message' parameter to a Control Panel 'cdev'
Close yourself

See Also:
Constant Field Values

nulDev

static final int nulDev
Values of the 'message' parameter to a Control Panel 'cdev'
Null event

See Also:
Constant Field Values

updateDev

static final int updateDev
Values of the 'message' parameter to a Control Panel 'cdev'
Update event

See Also:
Constant Field Values

activDev

static final int activDev
Values of the 'message' parameter to a Control Panel 'cdev'
Activate event

See Also:
Constant Field Values

deactivDev

static final int deactivDev
Values of the 'message' parameter to a Control Panel 'cdev'
Deactivate event

See Also:
Constant Field Values

keyEvtDev

static final int keyEvtDev
Values of the 'message' parameter to a Control Panel 'cdev'
Key down/auto key

See Also:
Constant Field Values

macDev

static final int macDev
Values of the 'message' parameter to a Control Panel 'cdev'
Decide whether or not to show up

See Also:
Constant Field Values

undoDev

static final int undoDev
See Also:
Constant Field Values

cutDev

static final int cutDev
See Also:
Constant Field Values

copyDev

static final int copyDev
See Also:
Constant Field Values

pasteDev

static final int pasteDev
See Also:
Constant Field Values

clearDev

static final int clearDev
See Also:
Constant Field Values

cursorDev

static final int cursorDev
See Also:
Constant Field Values

cdevGenErr

static final int cdevGenErr
Special values a Control Panel 'cdev' can return
General error; gray cdev w/o alert

See Also:
Constant Field Values

cdevMemErr

static final int cdevMemErr
Special values a Control Panel 'cdev' can return
Memory shortfall; alert user please

See Also:
Constant Field Values

cdevResErr

static final int cdevResErr
Special values a Control Panel 'cdev' can return
Couldn't get a needed resource; alert

See Also:
Constant Field Values

cdevUnset

static final int cdevUnset
Special values a Control Panel 'cdev' can return
cdevValue is initialized to this

See Also:
Constant Field Values

badPasteboardSyncErr

static final int badPasteboardSyncErr
Pasteboard Manager error codes
pasteboard has been modified and must be synchronized

See Also:
Constant Field Values

badPasteboardIndexErr

static final int badPasteboardIndexErr
Pasteboard Manager error codes
item index does not exist

See Also:
Constant Field Values

badPasteboardItemErr

static final int badPasteboardItemErr
Pasteboard Manager error codes
item reference does not exist

See Also:
Constant Field Values

badPasteboardFlavorErr

static final int badPasteboardFlavorErr
Pasteboard Manager error codes
item flavor does not exist

See Also:
Constant Field Values

duplicatePasteboardFlavorErr

static final int duplicatePasteboardFlavorErr
Pasteboard Manager error codes
item flavor already exists

See Also:
Constant Field Values

notPasteboardOwnerErr

static final int notPasteboardOwnerErr
Pasteboard Manager error codes
client did not clear the pasteboard

See Also:
Constant Field Values

noPasteboardPromiseKeeperErr

static final int noPasteboardPromiseKeeperErr
Pasteboard Manager error codes
a promise is being added without a promise keeper

See Also:
Constant Field Values

kPasteboardModified

static final int kPasteboardModified
Indicates that the global pasteboard resource has been modified
since the last time it was accessed via the local pasteboard
reference. The call to PasteboardSynchronize() has updated the
local pasteboard reference to sync it up with the global resource.
This is a good time to see what new information has been placed on
the pasteboard to determine whether any tasty flavors have been
added and possibly enable pasting.

See Also:
Constant Field Values

kPasteboardClientIsOwner

static final int kPasteboardClientIsOwner
Indicates that the global pasteboard resource was most recently
cleared by the this application. Any local pasteboard reference in
the client application may add data to the global pasteboard
resource.

See Also:
Constant Field Values

kPasteboardFlavorNoFlags

static final int kPasteboardFlavorNoFlags
See Also:
Constant Field Values

kPasteboardFlavorSenderOnly

static final int kPasteboardFlavorSenderOnly
Only the process which has added this flavor can see it. If the
process that owns the pasteboard places this flag on a flavor
you'll never see it as the receiver so there's no reason to test
for it.

See Also:
Constant Field Values

kPasteboardFlavorSenderTranslated

static final int kPasteboardFlavorSenderTranslated
The data for this flavor was translated in some manner by the
sender before adding it to the pasteboard. Flavors marked with
this flag are not stored by the Finder in clipping files.

See Also:
Constant Field Values

kPasteboardFlavorNotSaved

static final int kPasteboardFlavorNotSaved
Set by the sender if the flavor data should not be saved by the
receiver. The data contained may become stale after the end of the
drag. Flavors marked with this flag are not stored by the Finder
in clipping files.

See Also:
Constant Field Values

kPasteboardFlavorRequestOnly

static final int kPasteboardFlavorRequestOnly
Like kPasteboardFlavorSenderOnly, when the sender adds this flag,
the presence of this flavor will not be made known when
PasteboardCopyItemFlavors() is called by the receiver. However,
the flavor flags and data can be accessed when explicitly
requested via PasteboardGetItemFlavorFlags() or
PasteboardCopyItemFlavorData(). This allows a suite of
applications to communicate without exporting their method of
communication.

See Also:
Constant Field Values

kPasteboardFlavorSystemTranslated

static final int kPasteboardFlavorSystemTranslated
The data for this flavor is provided by the Translation Manager as
a convenience to receivers. Flavors marked with this flag are not
stored by the Finder in clipping files. This flag can not be added
by clients. It is automatically added by the Pasteboard Manager
when appropriate.

See Also:
Constant Field Values

kPasteboardFlavorPromised

static final int kPasteboardFlavorPromised
The data for this flavor has not yet been added to the pasteboard
by the sender. This may have been done as a performance measure if
the data is expensive to generate. A request by the receiver to
obtain the data will cause the promise to be kept by the sender.
This flag can not be added by clients. It is automatically added
by the Pasteboard Manager when appropriate.

See Also:
Constant Field Values

kPasteboardStandardLocationTrash

static final int kPasteboardStandardLocationTrash
The paste or drop location was in the trash. This is set when a
drag is dropped on the trash icon or a paste occurs within the
trash. Setting this standard paste location sets the traditional
paste location to an alias to the trash folder automatically.

See Also:
Constant Field Values

kPasteboardStandardLocationUnknown

static final int kPasteboardStandardLocationUnknown
See Also:
Constant Field Values

badTranslationRefErr

static final int badTranslationRefErr
Translation Services error codes
noPrefAppErr = -3032
TranslationRef does not perform translation requested

See Also:
Constant Field Values

kTranslationDataTranslation

static final int kTranslationDataTranslation
Indicates that the client is interested in translations which
provide data translations.

See Also:
Constant Field Values

kTranslationFileTranslation

static final int kTranslationFileTranslation
Indicates that the client is interested in translations which
provide file translations.

See Also:
Constant Field Values

kAXErrorSuccess

static final int kAXErrorSuccess
See Also:
Constant Field Values

kAXErrorFailure

static final int kAXErrorFailure
See Also:
Constant Field Values

kAXErrorIllegalArgument

static final int kAXErrorIllegalArgument
See Also:
Constant Field Values

kAXErrorInvalidUIElement

static final int kAXErrorInvalidUIElement
See Also:
Constant Field Values

kAXErrorInvalidUIElementObserver

static final int kAXErrorInvalidUIElementObserver
See Also:
Constant Field Values

kAXErrorCannotComplete

static final int kAXErrorCannotComplete
See Also:
Constant Field Values

kAXErrorAttributeUnsupported

static final int kAXErrorAttributeUnsupported
See Also:
Constant Field Values

kAXErrorActionUnsupported

static final int kAXErrorActionUnsupported
See Also:
Constant Field Values

kAXErrorNotificationUnsupported

static final int kAXErrorNotificationUnsupported
See Also:
Constant Field Values

kAXErrorNotImplemented

static final int kAXErrorNotImplemented
See Also:
Constant Field Values

kAXErrorNotificationAlreadyRegistered

static final int kAXErrorNotificationAlreadyRegistered
See Also:
Constant Field Values

kAXErrorNotificationNotRegistered

static final int kAXErrorNotificationNotRegistered
See Also:
Constant Field Values

kAXErrorAPIDisabled

static final int kAXErrorAPIDisabled
See Also:
Constant Field Values

kAXErrorNoValue

static final int kAXErrorNoValue
See Also:
Constant Field Values

kAXErrorParameterizedAttributeUnsupported

static final int kAXErrorParameterizedAttributeUnsupported
See Also:
Constant Field Values

kAXErrorNotEnoughPrecision

static final int kAXErrorNotEnoughPrecision
See Also:
Constant Field Values

kAXCopyMultipleAttributeOptionStopOnError

static final int kAXCopyMultipleAttributeOptionStopOnError
See Also:
Constant Field Values

kAXUnderlineStyleNone

static final int kAXUnderlineStyleNone
See Also:
Constant Field Values

kAXUnderlineStyleSingle

static final int kAXUnderlineStyleSingle
See Also:
Constant Field Values

kAXUnderlineStyleThick

static final int kAXUnderlineStyleThick
See Also:
Constant Field Values

kAXUnderlineStyleDouble

static final int kAXUnderlineStyleDouble
See Also:
Constant Field Values

kUAZoomFocusTypeOther

static final int kUAZoomFocusTypeOther
See Also:
Constant Field Values

kUAZoomFocusTypeInsertionPoint

static final int kUAZoomFocusTypeInsertionPoint
See Also:
Constant Field Values
Method Detail

HIShapeGetTypeID

NativeLong HIShapeGetTypeID()
HIShapeGetTypeID()

Discussion:
Returns the CoreFoundation type ID for the HIShape class.


This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Result:
A CoreFoundation type ID.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : CFTypeID HIShapeGetTypeID()


HIShapeCreateEmpty

HIServicesLibrary.__HIShape HIShapeCreateEmpty()
HIShapeCreateEmpty()

Discussion:
Creates an immutable empty shape. Useful at times.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Result:
An immutable, empty HIShape reference.

Availability:
Mac OS X: in version 10.4 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateEmpty()


HIShapeCreateWithQDRgn

HIServicesLibrary.__HIShape HIShapeCreateWithQDRgn(HIServicesLibrary.OpaqueRgnHandle inRgn)
HIShapeCreateWithQDRgn()

Discussion:
Creates an immutable shape based on an existing Quickdraw region
handle.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inRgn:
The Quickdraw region from which to create the HIShape.

Result:
An immutable HIShape reference.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateWithQDRgn(RgnHandle)


HIShapeCreateWithRect

HIServicesLibrary.__HIShape HIShapeCreateWithRect(CGRect inRect)
HIShapeCreateWithRect()

Discussion:
Creates an immutable, rectangular shape based on a given
rectangle.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inRect:
The CGRect from which to create the resulting shape.

Result:
An immutable HIShape reference.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateWithRect(const CGRect*)


HIShapeCreateCopy

HIServicesLibrary.__HIShape HIShapeCreateCopy(HIServicesLibrary.__HIShape inShape)
HIShapeCreateCopy()

Discussion:
Creates an immutable copy of a mutable or immutable HIShape.


This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
The existing HIShapeRef you wish to copy.

Result:
An immutable HIShape reference.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateCopy(HIShapeRef)


HIShapeCreateIntersection

HIServicesLibrary.__HIShape HIShapeCreateIntersection(HIServicesLibrary.__HIShape inShape1,
                                                      HIServicesLibrary.__HIShape inShape2)
HIShapeCreateIntersection()

Discussion:
Creates a new immutable shape which is the intersection of two
others.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape1:
An existing HIShapeRef.

inShape2:
An existing HIShapeRef.

Result:
A new immutable HIShapeRef.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateIntersection(HIShapeRef, HIShapeRef)


HIShapeCreateDifference

HIServicesLibrary.__HIShape HIShapeCreateDifference(HIServicesLibrary.__HIShape inShape1,
                                                    HIServicesLibrary.__HIShape inShape2)
HIShapeCreateDifference()

Discussion:
Creates a new immutable shape which is the difference of two
others. The second shape is subtracted from the first.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape1:
An existing HIShapeRef.

inShape2:
An existing HIShapeRef.

Result:
A new immutable HIShapeRef.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateDifference(HIShapeRef, HIShapeRef)


HIShapeCreateUnion

HIServicesLibrary.__HIShape HIShapeCreateUnion(HIServicesLibrary.__HIShape inShape1,
                                               HIServicesLibrary.__HIShape inShape2)
HIShapeCreateUnion()

Discussion:
Creates a new immutable shape which is the union of two others.


This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape1:
An existing HIShapeRef.

inShape2:
An existing HIShapeRef.

Result:
A new immutable HIShapeRef.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateUnion(HIShapeRef, HIShapeRef)


HIShapeCreateXor

HIServicesLibrary.__HIShape HIShapeCreateXor(HIServicesLibrary.__HIShape inShape1,
                                             HIServicesLibrary.__HIShape inShape2)
HIShapeCreateXor()

Discussion:
Creates a new immutable shape which is the difference between the
union and the intersection of the two others.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape1:
An existing HIShapeRef.

inShape2:
An existing HIShapeRef.

Result:
A new immutable HIShapeRef.

Availability:
Mac OS X: in version 10.5 and later in ApplicationServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : HIShapeRef HIShapeCreateXor(HIShapeRef, HIShapeRef)


HIShapeIsEmpty

boolean HIShapeIsEmpty(HIServicesLibrary.__HIShape inShape)
HIShapeIsEmpty()

Discussion:
Returns true if the given HIShapeRef is empty, i.e. its area is
empty.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
The existing HIShapeRef you wish to test.

Result:
A boolean result.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : Boolean HIShapeIsEmpty(HIShapeRef)


HIShapeIsRectangular

boolean HIShapeIsRectangular(HIServicesLibrary.__HIShape inShape)
HIShapeIsRectangular()

Discussion:
Returns true if the given HIShapeRef is rectangular.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
The existing HIShapeRef you wish to test.

Result:
A boolean result.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : Boolean HIShapeIsRectangular(HIShapeRef)


HIShapeContainsPoint

boolean HIShapeContainsPoint(HIServicesLibrary.__HIShape inShape,
                             CGPoint inPoint)
HIShapeContainsPoint()

Discussion:
Returns true if the given HIShapeRef contains the point passed
in.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
An existing HIShapeRef.

inPoint:
The point to check.

Result:
A boolean result.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : Boolean HIShapeContainsPoint(HIShapeRef, const CGPoint*)


HIShapeIntersectsRect

boolean HIShapeIntersectsRect(HIServicesLibrary.__HIShape inShape,
                              CGRect inRect)
HIShapeIntersectsRect()

Discussion:
Returns true if the given HIShapeRef intersects the rect passed
in.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
An existing HIShapeRef.

inRect:
The rectangle to check.

Result:
A boolean result.

Availability:
Mac OS X: in version 10.4 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
Non-Carbon CFM: not available
Original signature : Boolean HIShapeIntersectsRect(HIShapeRef, const CGRect*)


HIShapeGetBounds

CGRect HIShapeGetBounds(HIServicesLibrary.__HIShape inShape,
                        CGRect outRect)
HIShapeGetBounds()

Discussion:
Returns the bounding rectangle of a given HIShapeRef.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inShape:
An existing HIShapeRef.

outRect:
Receives the bounding rectangle.

Result:
A pointer to the rectangle you passed in, for convenience.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : CGRect* HIShapeGetBounds(HIShapeRef, CGRect*)


HIShapeCreateMutable

HIServicesLibrary.__HIShape HIShapeCreateMutable()
HIShapeCreateMutable()

Discussion:
Creates a new, mutable, empty shape.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Result:
A mutable shape reference.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIMutableShapeRef HIShapeCreateMutable()


HIShapeCreateMutableCopy

HIServicesLibrary.__HIShape HIShapeCreateMutableCopy(HIServicesLibrary.__HIShape inOrig)
HIShapeCreateMutableCopy()

Discussion:
Given an existing HIShapeRef, creates a new mutable copy.


This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inOrig:
The shape to copy.

Result:
A mutable shape reference.

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
Non-Carbon CFM: not available
Original signature : HIMutableShapeRef HIShapeCreateMutableCopy(HIShapeRef)


HIShapeCreateMutableWithRect

HIServicesLibrary.__HIShape HIShapeCreateMutableWithRect(CGRect inRect)
HIShapeCreateMutableWithRect()

Discussion:
Creates a mutable HIShapeRef based on a given rectangle.

This API is thread safe only on Mac OS X 10.5 and later; see the
Thread Safety Information section at the top of the header for
other important details.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

inRect:
The rectangle from which to create the shape.

Availability:
Mac OS X: in version 10.5 and later in ApplicationServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : HIMutableShapeRef HIShapeCreateMutableWithRect(const CGRect*)


NewIconGetterUPP

HIServicesLibrary.IconGetterProcPtr NewIconGetterUPP(HIServicesLibrary.IconGetterProcPtr userRoutine)
NewIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : IconGetterUPP NewIconGetterUPP(IconGetterProcPtr)


DisposeIconGetterUPP

void DisposeIconGetterUPP(HIServicesLibrary.IconGetterProcPtr userUPP)
DisposeIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : void DisposeIconGetterUPP(IconGetterUPP)


InvokeIconGetterUPP

ByteByReference InvokeIconGetterUPP(int theType,
                                    Pointer yourDataPtr,
                                    HIServicesLibrary.IconGetterProcPtr userUPP)
InvokeIconGetterUPP()

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: available as macro/inline
Original signature : Handle InvokeIconGetterUPP(ResType, void*, IconGetterUPP)


GetCIcon

CIcon GetCIcon(short iconID)
GetCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : CIconHandle GetCIcon(SInt16)


PlotCIcon

void PlotCIcon(Rect theRect,
               CIcon theIcon)
PlotCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void PlotCIcon(const Rect*, CIconHandle)


DisposeCIcon

void DisposeCIcon(CIcon theIcon)
DisposeCIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void DisposeCIcon(CIconHandle)


GetIcon

ByteByReference GetIcon(short iconID)
GetIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Handle GetIcon(SInt16)


PlotIcon

@Deprecated
void PlotIcon(Rect theRect,
                         ByteByReference theIcon)
Deprecated. use the safer method PlotIcon(org.rococoa.cocoa.carboncore.Rect, java.nio.ByteBuffer) instead

PlotIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void PlotIcon(const Rect*, Handle)


PlotIcon

void PlotIcon(Rect theRect,
              ByteBuffer theIcon)
PlotIcon() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : void PlotIcon(const Rect*, Handle)


PtInIconID

boolean PtInIconID(Point.ByValue testPt,
                   Rect iconRect,
                   short align,
                   short iconID)
PtInIconID() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean PtInIconID(Point, const Rect*, IconAlignmentType, SInt16)


PtInIconMethod

boolean PtInIconMethod(Point.ByValue testPt,
                       Rect iconRect,
                       short align,
                       HIServicesLibrary.IconGetterProcPtr theMethod,
                       Pointer yourDataPtr)
PtInIconMethod() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean PtInIconMethod(Point, const Rect*, IconAlignmentType, IconGetterUPP, void*)


RectInIconID

boolean RectInIconID(Rect testRect,
                     Rect iconRect,
                     short align,
                     short iconID)
RectInIconID() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean RectInIconID(const Rect*, const Rect*, IconAlignmentType, SInt16)


RectInIconMethod

boolean RectInIconMethod(Rect testRect,
                         Rect iconRect,
                         short align,
                         HIServicesLibrary.IconGetterProcPtr theMethod,
                         Pointer yourDataPtr)
RectInIconMethod() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in InterfaceLib 7.1 and later
Original signature : Boolean RectInIconMethod(const Rect*, const Rect*, IconAlignmentType, IconGetterUPP, void*)


PtInIconRef

boolean PtInIconRef(Point testPt,
                    Rect iconRect,
                    short align,
                    int theIconServicesUsageFlags,
                    HIServicesLibrary.OpaqueIconRef theIconRef)
PtInIconRef() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean PtInIconRef(const Point*, const Rect*, IconAlignmentType, IconServicesUsageFlags, IconRef)


RectInIconRef

boolean RectInIconRef(Rect testRect,
                      Rect iconRect,
                      short align,
                      int iconServicesUsageFlags,
                      HIServicesLibrary.OpaqueIconRef theIconRef)
RectInIconRef() *** DEPRECATED ***

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.5
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean RectInIconRef(const Rect*, const Rect*, IconAlignmentType, IconServicesUsageFlags, IconRef)


IconRefContainsCGPoint

boolean IconRefContainsCGPoint(CGPoint testPt,
                               CGRect iconRect,
                               short align,
                               int iconServicesUsageFlags,
                               HIServicesLibrary.OpaqueIconRef theIconRef)
IconRefContainsCGPoint()

Discussion:
Tests whether a specified point falls within an iconŐs mask.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

testPt:
A pointer to the location that IconServices tests to see
whether is falls within the mask of indicated icon.

iconRect:
A pointer to the rectangle defining the area that Icon Services
uses to determine which icon is hit-tested. Use the same CGRect
value as when the icon was last drawn.

align:
A value that specifies how the indicated icon is aligned within
the rectangle specified in the iconRect parameter. Use the same
IconAlignmentType value as when the icon was last drawn.

iconServicesUsageFlags:
Reserved for future use. Pass the kIconServicesNormalUsageFlag
constant in this parameter.

theIconRef:
The icon to be tested.

Availability:
Mac OS X: in version 10.5 and later in ApplicationServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : Boolean IconRefContainsCGPoint(const CGPoint*, const CGRect*, IconAlignmentType, IconServicesUsageFlags, IconRef)


IconRefIntersectsCGRect

boolean IconRefIntersectsCGRect(CGRect testRect,
                                CGRect iconRect,
                                short align,
                                int iconServicesUsageFlags,
                                HIServicesLibrary.OpaqueIconRef theIconRef)
IconRefIntersectsCGRect()

Discussion:
Tests whether a specified rectangle falls within an icon\u2019s mask.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

testRect:
A pointer to the rectangle that IconServices tests to see
whether is falls within the mask of indicated icon.

iconRect:
A pointer to the rectangle defining the area that Icon Services
uses to determine which icon is hit-tested. Use the same CGRect
value as when the icon was last drawn.

align:
A value that specifies how the indicated icon is aligned within
the rectangle specified in the iconRect parameter. Use the same
IconAlignmentType value as when the icon was last drawn.

iconServicesUsageFlags:
Reserved for future use. Pass the kIconServicesNormalUsageFlag
constant in this parameter.

theIconRef:
The icon to be tested.

Availability:
Mac OS X: in version 10.5 and later in ApplicationServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : Boolean IconRefIntersectsCGRect(const CGRect*, const CGRect*, IconAlignmentType, IconServicesUsageFlags, IconRef)


IconRefToHIShape

HIServicesLibrary.__HIShape IconRefToHIShape(CGRect iconRect,
                                             short align,
                                             int iconServicesUsageFlags,
                                             HIServicesLibrary.OpaqueIconRef theIconRef)
IconRefToHIShape()

Discussion:
Converts an IconRef-derived icon into an HIShape.

Mac OS X threading:
Thread safe since version 10.5

Parameters:

iconRect:
A pointer to the rectangle defining the area that Icon Services
uses as the bounding box of the region.

align:
The value which determines how Icon Services aligns the region
within the rectangle.

iconServicesUsageFlags:
Reserved for future use. Pass the kIconServicesNormalUsageFlag
constant in this parameter.

theIconRef:
The icon to be tested.

Availability:
Mac OS X: in version 10.5 and later in ApplicationServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : HIShapeRef IconRefToHIShape(const CGRect*, IconAlignmentType, IconServicesUsageFlags, IconRef)


IsIconRefMaskEmpty

boolean IsIconRefMaskEmpty(HIServicesLibrary.OpaqueIconRef iconRef)
IsIconRefMaskEmpty()

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 8.5 and later
Original signature : Boolean IsIconRefMaskEmpty(IconRef)


GetIconRefVariant

@Deprecated
HIServicesLibrary.OpaqueIconRef GetIconRefVariant(HIServicesLibrary.OpaqueIconRef inIconRef,
                                                             int inVariant,
                                                             ShortByReference outTransform)
Deprecated. use the safer method GetIconRefVariant(org.rococoa.cocoa.hiservices.HIServicesLibrary.OpaqueIconRef, int, java.nio.ShortBuffer) instead

GetIconRefVariant()

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 9.0 and later
Original signature : IconRef GetIconRefVariant(IconRef, OSType, IconTransformType*)


GetIconRefVariant

HIServicesLibrary.OpaqueIconRef GetIconRefVariant(HIServicesLibrary.OpaqueIconRef inIconRef,
                                                  int inVariant,
                                                  ShortBuffer outTransform)
GetIconRefVariant()

Mac OS X threading:
Not thread safe

Availability:
Mac OS X: in version 10.0 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.0 and later
Non-Carbon CFM: in IconServicesLib 9.0 and later
Original signature : IconRef GetIconRefVariant(IconRef, OSType, IconTransformType*)


ProcessInformationCopyDictionary

HIServicesLibrary.__CFDictionary ProcessInformationCopyDictionary(ProcessSerialNumber PSN,
                                                                  int infoToReturn)
ProcessInformationCopyDictionary()

Discussion:
Return a CFDictionary containing information about the given
process. This is intended to return a superset of the information
returned by GetProcessInformation(), in more modern datatypes.

Mac OS X threading:
Thread safe since version 10.3

Parameters:

PSN:
Pass in the process serial number of the process to return
information for.

infoToReturn:
Pass in the value kProcessDictionaryIncludeAllInformationMask.

Result:
An immutable CFDictionaryRef containing these keys and their
values. Keys marked with a '*' are optional. Over time more keys
may be added.

Key Name Type
-------- ----
"PSN" CFNumber, kCFNumberLongLongType
"Flavor" CFNumber, kCFNumberSInt32. A hint
as to the flavor of the application. Note that this should only
be used as a hint, since a bundle of a different flavor might be
loaded into an application's address space. The assigned values
at present are: Mac OS Classic aplications have the value 0,
Carbon applications have the value 2, Cocoa applications have the
value 4. Other undocumented values may also be returned.
"Attributes" CFNumber, kCFNumberSInt32
"ParentPSN" * CFNumber, kCFNumberLongLong
"FileType" * CFString, file type
"FileCreator" * CFString, file creator
"pid" * CFNumber, kCFNumberLongType
"LSBackgroundOnly" CFBoolean
"LSUIElement" CFBoolean
"IsHiddenAttr" CFBoolean
"IsCheckedInAttr" CFBoolean
"RequiresCarbon" CFBoolean
"LSUserQuitOnly" * CFBoolean
"LSUIPresentationMode" CFNumber, kCFNumberShortType
"BundlePath" * CFString
kCFBundleExecutableKey * CFString
kCFBundleNameKey * CFString
kCFBundleIdentifierKey * CFString

Availability:
Mac OS X: in version 10.2 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x
Non-Carbon CFM: not available
Original signature : CFDictionaryRef ProcessInformationCopyDictionary(const ProcessSerialNumber*, UInt32)


ExitToShell

void ExitToShell()

IsProcessVisible

boolean IsProcessVisible(ProcessSerialNumber psn)
IsProcessVisible()

Summary:
Determines whether a particular process is visible or not.

Discussion:
Given a psn, this call will return true or false depending on
whether or not the process is currently visible.

Mac OS X threading:
Thread safe since version 10.3

Parameters:

psn:
Serial number of the process

Availability:
Mac OS X: in version 10.1 and later in ApplicationServices.framework
CarbonLib: in CarbonLib 1.5 and later
Non-Carbon CFM: not available
Original signature : Boolean IsProcessVisible(const ProcessSerialNumber*)


PasteboardGetTypeID

NativeLong PasteboardGetTypeID()
PasteboardGetTypeID()

Summary:
Returns the CFType identifier for a pasteboard object.

Mac OS X threading:
Not thread safe

Result:
A CFTypeID unique to pasteboard instances.

Availability:
Mac OS X: in version 10.3 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
Non-Carbon CFM: not available
Original signature : CFTypeID PasteboardGetTypeID()


PasteboardSynchronize

int PasteboardSynchronize(HIServicesLibrary.OpaquePasteboardRef inPasteboard)
PasteboardSynchronize()

Summary:
Compares a local pasteboard reference with the global pasteboard
resource to which it refers, determining whether the global
pasteboard resource has been modified. If so, it updates the
local pasteboard reference to reflect the change. The pasteboard
reference provided is always brought up to date. This routine is
lightweight whether a synchronization is required or not.

Mac OS X threading:
Not thread safe

Parameters:

inPasteboard:
A local pasteboard reference.

Result:
A set of pasteboard synchronization flags.

Availability:
Mac OS X: in version 10.3 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
Non-Carbon CFM: not available
Original signature : PasteboardSyncFlags PasteboardSynchronize(PasteboardRef)


TranslationGetTypeID

NativeLong TranslationGetTypeID()
TranslationGetTypeID()

Summary:
Returns the CFType identifier for a translation object.

Mac OS X threading:
Not thread safe

Result:
A CFTypeID unique to translation instances.

Availability:
Mac OS X: in version 10.3 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.3 and later
Non-Carbon CFM: not available
Original signature : CFTypeID TranslationGetTypeID()


AXAPIEnabled

boolean AXAPIEnabled()

AXIsProcessTrusted

boolean AXIsProcessTrusted()

AXUIElementGetTypeID

NativeLong AXUIElementGetTypeID()

AXUIElementCopyAttributeNames

int AXUIElementCopyAttributeNames(HIServicesLibrary.__AXUIElement element,
                                  PointerByReference names)

AXUIElementCopyMultipleAttributeValues

int AXUIElementCopyMultipleAttributeValues(HIServicesLibrary.__AXUIElement element,
                                           HIServicesLibrary.__CFArray attributes,
                                           int options,
                                           PointerByReference values)

AXUIElementCopyParameterizedAttributeNames

int AXUIElementCopyParameterizedAttributeNames(HIServicesLibrary.__AXUIElement element,
                                               PointerByReference names)

AXUIElementCopyActionNames

int AXUIElementCopyActionNames(HIServicesLibrary.__AXUIElement element,
                               PointerByReference names)

AXUIElementCopyElementAtPosition

int AXUIElementCopyElementAtPosition(HIServicesLibrary.__AXUIElement application,
                                     float x,
                                     float y,
                                     PointerByReference element)

AXUIElementCreateApplication

HIServicesLibrary.__AXUIElement AXUIElementCreateApplication(int pid)

AXUIElementCreateSystemWide

HIServicesLibrary.__AXUIElement AXUIElementCreateSystemWide()

AXUIElementGetPid

@Deprecated
int AXUIElementGetPid(HIServicesLibrary.__AXUIElement element,
                                 IntByReference pid)
Deprecated. use the safer method AXUIElementGetPid(org.rococoa.cocoa.hiservices.HIServicesLibrary.__AXUIElement, java.nio.IntBuffer) instead

Original signature : AXError AXUIElementGetPid(AXUIElementRef, pid_t*)


AXUIElementGetPid

int AXUIElementGetPid(HIServicesLibrary.__AXUIElement element,
                      IntBuffer pid)

AXUIElementSetMessagingTimeout

int AXUIElementSetMessagingTimeout(HIServicesLibrary.__AXUIElement element,
                                   float timeoutInSeconds)
setting timeout to 0 makes this element use the global timeout
Original signature : AXError AXUIElementSetMessagingTimeout(AXUIElementRef, float)


AXUIElementPostKeyboardEvent

int AXUIElementPostKeyboardEvent(HIServicesLibrary.__AXUIElement application,
                                 short keyChar,
                                 short virtualKey,
                                 boolean keyDown)
you can only pass the root or application uielement
Original signature : AXError AXUIElementPostKeyboardEvent(AXUIElementRef, CGCharCode, CGKeyCode, Boolean)


AXObserverGetTypeID

NativeLong AXObserverGetTypeID()

AXObserverCreate

int AXObserverCreate(int application,
                     HIServicesLibrary.AXObserverCallback callback,
                     PointerByReference outObserver)

AXObserverGetRunLoopSource

HIServicesLibrary.__CFRunLoopSource AXObserverGetRunLoopSource(HIServicesLibrary.__AXObserver observer)

AXValueGetTypeID

NativeLong AXValueGetTypeID()

AXValueCreate

HIServicesLibrary.__AXValue AXValueCreate(int theType,
                                          Pointer valuePtr)
Original signature : AXValueRef AXValueCreate(AXValueType, const void*)

Parameters:
theType - @see AXValueType

AXValueGetType

int AXValueGetType(HIServicesLibrary.__AXValue value)
See Also:
HIServicesLibrary.AXValueType

AXValueGetValue

boolean AXValueGetValue(HIServicesLibrary.__AXValue value,
                        int theType,
                        Pointer valuePtr)
Original signature : Boolean AXValueGetValue(AXValueRef, AXValueType, void*)

Parameters:
theType - @see AXValueType

UAZoomEnabled

boolean UAZoomEnabled()
UAZoomEnabled()

Summary:
Determine if Universal Access Zoom is enabled.

Discussion:
This queries the state of Universal Access Zoom

Mac OS X threading:
Thread safe

Result:
TRUE if Universal Access Zoom is on, FALSE if Zoom is off or the
user has zoomed all the way out.

Availability:
Mac OS X: in version 10.4 and later in ApplicationServices.framework
CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.4 and later
Non-Carbon CFM: not available
Original signature : Boolean UAZoomEnabled()