ae

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package ae provides purego-based Go bindings for the macOS AE framework.

Apple documentation: https://developer.apple.com/documentation/ae

Index

Constants

View Source
const (
	AeBuildSyntaxBadData           = 12
	AeBuildSyntaxBadDesc           = 11
	AeBuildSyntaxBadEOF            = 2
	AeBuildSyntaxBadHex            = 6
	AeBuildSyntaxBadNegative       = 4
	AeBuildSyntaxBadToken          = 1
	AeBuildSyntaxCoercedList       = 18
	AeBuildSyntaxMissingQuote      = 5
	AeBuildSyntaxNoCloseBrace      = 15
	AeBuildSyntaxNoCloseBracket    = 14
	AeBuildSyntaxNoCloseHex        = 8
	AeBuildSyntaxNoCloseParen      = 13
	AeBuildSyntaxNoCloseString     = 10
	AeBuildSyntaxNoColon           = 17
	AeBuildSyntaxNoEOF             = 3
	AeBuildSyntaxNoErr             = 0
	AeBuildSyntaxNoKey             = 16
	AeBuildSyntaxOddHex            = 7
	AeBuildSyntaxUncoercedDoubleAt = 19
	AeBuildSyntaxUncoercedHex      = 9
)
View Source
const (
	CAEList         = 1818850164
	CApplication    = 1667330160
	CArc            = 1667330659
	CBoolean        = 1651470188
	CCell           = 1667458412
	CChar           = 1667784992
	CColorTable     = 1668051572
	CColumn         = 1667460972
	CDocument       = 1685021557
	CDrawingArea    = 1667527287
	CEnumeration    = 1701737837
	CFile           = 1718185061
	CFixed          = 1718188132
	CFixedPoint     = 1718644340
	CFixedRectangle = 1718772596
	CGraphicLine    = 1735158126
	CGraphicObject  = 1667723106
	CGraphicShape   = 1667724136
	CGraphicText    = 1667724408
	CGroupedGraphic = 1668311395
)
View Source
const (
	CInsertionLoc       = 1768846188
	CInsertionPoint     = 1667853939
	CIntlText           = 1769240692
	CIntlWritingCode    = 1768846444
	CItem               = 1667855469
	CLine               = 1668049262
	CLongDateTime       = 1818522656
	CLongFixed          = 1818654820
	CLongFixedPoint     = 1818652788
	CLongFixedRectangle = 1818653283
	CLongInteger        = 1819242087
	CLongPoint          = 1819307636
	CLongRectangle      = 1819435892
	CMachineLoc         = 1833725795
	CMenu               = 1668116085
	CMenuItem           = 1668113774
	CObject             = 1668244074
	CObjectSpecifier    = 1868720672
	COpenableObject     = 1668247394
	COval               = 1668249196
)
View Source
const (
	CKeystroke     = 1802531443
	ECapsLockDown  = 1264807019
	EClearKey      = 1802716928
	ECommandDown   = 1264807268
	EControlDown   = 1264809068
	EDeleteKey     = 1802711808
	EDownArrowKey  = 1802730752
	EEndKey        = 1802729216
	EEnterKey      = 1802718208
	EEscapeKey     = 1802712320
	EF10Key        = 1802726656
	EF11Key        = 1802725120
	EF12Key        = 1802727168
	EF13Key        = 1802725632
	EF14Key        = 1802726144
	EF15Key        = 1802727680
	EF1Key         = 1802729984
	EF2Key         = 1802729472
	EF3Key         = 1802724096
	EF4Key         = 1802728960
	EF5Key         = 1802723328
	EF6Key         = 1802723584
	EF7Key         = 1802723840
	EF8Key         = 1802724352
	EF9Key         = 1802724608
	EForwardDelKey = 1802728704
	EHelpKey       = 1802727936
	EHomeKey       = 1802728192
	EKeyKind       = 1701540724
	ELeftArrowKey  = 1802730240
	EModifiers     = 1699570803
	EOptionDown    = 1265594484
	EPageDownKey   = 1802729728
	EPageUpKey     = 1802728448
	EReturnKey     = 1802707968
	ERightArrowKey = 1802730496
	EShiftDown     = 1265854068
	ETabKey        = 1802711040
	EUpArrowKey    = 1802731008
	PKeyKind       = 1802202724
	PKeystrokeKey  = 1800237927
	PModifiers     = 1800236900
)
View Source
const (
	CPICT             = 1346978644
	CParagraph        = 1668309362
	CPixel            = 1668315244
	CPixelMap         = 1668311416
	CPolygon          = 1668310894
	CProperty         = 1886547824
	CQDPoint          = 1363439732
	CQDRectangle      = 1902408308
	CRGBColor         = 1666336578
	CRectangle        = 1668441443
	CRotation         = 1953656692
	CRoundedRectangle = 1668444771
	CRow              = 1668444023
	CSelection        = 1668506988
	CShortInteger     = 1936224114
	CTable            = 1668571756
	CText             = 1668577396
	CTextFlow         = 1667656815
	CTextStyles       = 1953723513
	CType             = 1954115685
)
View Source
const (
	CFTPItem         = 1718906912
	CHTML            = 1752460652
	CInternetAddress = 1229996356
	CURL             = 1970433056
)
View Source
const (
	CVersion          = 1986359923
	CWindow           = 1668770158
	CWord             = 1668771698
	EnumArrows        = 1634890351
	EnumJustification = 1786082164
	EnumKeyForm       = 1801876077
	EnumPosition      = 1886352233
	EnumProtection    = 1886549102
	EnumQuality       = 1903518060
	EnumSaveOptions   = 1935767151
	EnumStyle         = 1937013100
	EnumTransferMode  = 1953653102
	KAEAbout          = 1633841013
	KAEAfter          = 1634104421
	KAEAliasSelection = 1935764585
	KAEAllCaps        = 1634493296
	KAEArrowAtEnd     = 1634887022
	KAEArrowAtStart   = 1634890612
	KAEArrowBothEnds  = 1634886255
)
View Source
const (
	EScheme     = 1702060904
	EurlAFP     = 1634103328
	EurlAT      = 1635000352
	EurlEPPC    = 1701867619
	EurlFTP     = 1718906912
	EurlFile    = 1718185061
	EurlGopher  = 1735420018
	EurlHTTP    = 1752462448
	EurlHTTPS   = 1752461427
	EurlIMAP    = 1768776048
	EurlLDAP    = 1970037872
	EurlLaunch  = 1818326382
	EurlMail    = 1835100524
	EurlMailbox = 1835167608
	EurlMessage = 1835365235
	EurlMulti   = 1836412020
	EurlNFS     = 1970169459
	EurlNNTP    = 1852732528
	EurlNews    = 1852143475
	EurlPOP     = 1970302832
	EurlRTSP    = 1920234352
	EurlSNews   = 1936619379
	EurlTelnet  = 1953263220
	EurlUnknown = 1970433087
)
View Source
const (
	ErrAEEventNotPermitted         = -1743
	ErrAETargetAddressNotPermitted = -1742
)
View Source
const (
	FormAbsolutePosition = 1768842360
	FormName             = 1851878757
	FormPropertyID       = 1886547824
	FormRange            = 1918987879
	FormRelativePosition = 1919249509
	FormTest             = 1952805748
	FormUniqueID         = 1229201440
)
View Source
const (
	KAEAND               = 1095648288
	KAEAll               = 1634495520
	KAEAny               = 1634629920
	KAEFirst             = 1718186611
	KAELast              = 1818325876
	KAEMiddle            = 1835623524
	KAENOT               = 1313821728
	KAENext              = 1852143732
	KAEOR                = 1330782240
	KAEPrevious          = 1886545270
	KeyAECompOperator    = 1919249519
	KeyAEContainer       = 1718775661
	KeyAEDesiredClass    = 2002873972
	KeyAEKeyData         = 1936026724
	KeyAEKeyForm         = 1718579821
	KeyAELogicalOperator = 1819240291
	KeyAELogicalTerms    = 1952805485
	KeyAEObject1         = 1868720689
	KeyAEObject2         = 1868720690
)
View Source
const (
	KAEAsk              = 1634954016
	KAEBefore           = 1650812527
	KAEBeginTransaction = 1650812777
	KAEBeginning        = 1650945639
	KAEBeginsWith       = 1650947956
	KAEBold             = 1651469412
	KAECaseSensEquals   = 1668506993
	KAECentered         = 1667591796
	KAEChangeView       = 1986618743
	KAEClone            = 1668050798
	KAEClose            = 1668050803
	KAECondensed        = 1668247140
	KAEContains         = 1668247156
	KAECopy             = 1668247673
	KAECoreSuite        = 1668248165
	KAECountElements    = 1668183141
	KAECreateElement    = 1668441452
	KAECreatePublisher  = 1668314466
	KAECut              = 1668641824
	KAEDelete           = 1684368495
)
View Source
const (
	KAEDataArray    = 0
	KAEDescArray    = 3
	KAEKeyDescArray = 4
	KAEPackedArray  = 1
)
View Source
const (
	KAEDebugPOSTHeader  = 1
	KAEDebugReplyHeader = 2
	KAEDebugXMLDebugAll = -1
	KAEDebugXMLRequest  = 4
	KAEDebugXMLResponse = 8
)
View Source
const (
	KAEDefaultTimeout = -1
	KNoTimeOut        = -2
)
View Source
const (
	KAEDescListFactorNone        = 0
	KAEDescListFactorType        = 4
	KAEDescListFactorTypeAndSize = 8
)
View Source
const (
	KAEDoObjectsExist     = 1685022072
	KAEDoScript           = 1685025635
	KAEDrag               = 1685217639
	KAEDuplicateSelection = 1935963504
	KAEEditGraphic        = 1701079412
	KAEEmptyTrash         = 1701671028
	KAEEnd                = 1701733408
	KAEEndTransaction     = 1701733492
	KAEEndsWith           = 1701733491
	KAEEquals             = 1025515552
	KAEExpanded           = 1885698160
	KAEFast               = 1717662580
	KAEFinderEvents       = 1179534418
	KAEFormulaProtect     = 1718645359
	KAEFullyJustified     = 1718971500
	KAEGetClassInfo       = 1903125098
	KAEGetData            = 1734702180
	KAEGetDataSize        = 1685285242
	KAEGetEventInfo       = 1735681385
	KAEGetInfoSelection   = 1936289382
)
View Source
const (
	KAEGetPrivilegeSelection = 1936749174
	KAEGetSuiteInfo          = 1735684969
	KAEGreaterThan           = 1042292768
	KAEGreaterThanEquals     = 1044193312
	KAEGrow                  = 1735552887
	KAEHiQuality             = 1751740789
	KAEHidden                = 1751737454
	KAEImageGraphic          = 1768777586
	KAEIsUniform             = 1769174382
	KAEItalic                = 1769234796
	KAELeftJustified         = 1818584692
	KAELessThan              = 1008738336
	KAELessThanEquals        = 1010638880
	KAELowercase             = 1819244387
	KAEMakeObjectsVisible    = 1836476787
	KAEMiscStandards         = 1835627363
	KAEModifiable            = 1836016742
	KAEMove                  = 1836021349
	KAENo                    = 1852776480
	KAENoArrow               = 1634889327
)
View Source
const (
	KAEHandleSimpleRanges   = 32
	KAEIDoMarking           = 4
	KAEIDoMinimum           = 0
	KAEIDoWhose             = 1
	KAEPassSubDescs         = 8
	KAEResolveNestedLists   = 16
	KAEUseRelativeIterators = 64
)
View Source
const (
	KAEISHandleCGI = 1935961955
	KAEISGetURL    = 1735750252
)
View Source
const (
	KAEISAction         = 1264673652
	KAEISActionPath     = 1264676980
	KAEISClientAddress  = 1633969266
	KAEISClientIP       = 1264806256
	KAEISContentType    = 1668577648
	KAEISFromUser       = 1718775157
	KAEISFullRequest    = 1265005169
	KAEISHTTPSearchArgs = 1801875314
	KAEISMethod         = 1835365480
	KAEISPassword       = 1885434739
	KAEISPostArgs       = 1886352244
	KAEISReferrer       = 1919247986
	KAEISScriptName     = 1935896173
	KAEISServerName     = 1937141357
	KAEISServerPort     = 1937141876
	KAEISUserAgent      = 1097297524
	KAEISUserName       = 1970496882
)
View Source
const (
	KAEInfo    = 11
	KAEMain    = 0
	KAESharing = 13
)
View Source
const (
	KAEISWebStarSuite = 1465341885
	KAEInternetSuite  = 1735750252
)
View Source
const (
	KAELogOut             = 1819240303
	KAEReallyLogOut       = 1919706991
	KAEShowRestartDialog  = 1920103284
	KAEShowShutdownDialog = 1920164974
)
View Source
const (
	KAEKeyDown         = 1801746286
	KAEMenuClass       = 1835363957
	KAEMenuSelect      = 1835559284
	KAEMouseDown       = 1835300718
	KAEMouseDownInBack = 1835295339
	KAEPromise         = 1886547821
	KAEResized         = 1920166266
)
View Source
const (
	KAEActivate         = 1633907830
	KAEApplicationClass = 1634758764
	KAEAutoDown         = 1635087471
	KAECommandClass     = 1668116068
	KAEDeactivate       = 1684104052
	KAEDiskEvent        = 1684632427
	KAEDown             = 1685026670
	KAEHighLevel        = 1751738216
	KAEKeyClass         = 1801812323
	KAEMouseClass       = 1836021107
	KAEMoved            = 1836021349
	KAENavigationKey    = 1851881061
	KAENullEvent        = 1853189228
	KAERawKey           = 1919640953
	KAEResume           = 1920167269
	KAEScrapEvent       = 1935897200
	KAEStoppedMoving    = 1937010544
	KAESuspend          = 1937077104
	KAEUp               = 1970282528
	KAEUpdate           = 1970300020
	KAEVirtualKey       = 1801812323
	KAEWakeUpEvent      = 2002873189
	KAEWindowClass      = 2003398244
)
View Source
const (
	KAEAlwaysInteract                          = 48
	KAECanInteract                             = 32
	KAECanSwitchLayer                          = 64
	KAEDoNotAutomaticallyAddAnnotationsToEvent = 65536
	KAEDontExecute                             = 8192
	KAEDontReconnect                           = 128
	KAEDontRecord                              = 4096
	KAENeverInteract                           = 16
	KAENoReply                                 = 1
	KAEProcessNonReplyEvents                   = 32768
	KAEQueueReply                              = 2
	KAEWaitReply                               = 3
	KAEWantReceipt                             = 512
)
View Source
const (
	KAENonmodifiable    = 1852665700
	KAEOpen             = 1868853091
	KAEOpenSelection    = 1936683109
	KAEOutline          = 1869968492
	KAEPageSetup        = 1885827957
	KAEPaste            = 1885434740
	KAEPlain            = 1886151022
	KAEPrint            = 1885630307
	KAEPrintSelection   = 1936749161
	KAEPrintWindow      = 1886873966
	KAEPutAwaySelection = 1936749940
	KAEQDAdMax          = 1633971576
	KAEQDAdMin          = 1633971566
	KAEQDAddOver        = 1633969263
	KAEQDAddPin         = 1633969264
	KAEQDBic            = 1651073824
	KAEQDBlend          = 1651273316
	KAEQDCopy           = 1668315424
	KAEQDNotBic         = 1851943267
	KAEQDNotCopy        = 1852010617
)
View Source
const (
	KAEHighPriority   = 1
	KAENormalPriority = 0
)
View Source
const (
	KAEAnswer          = 1634628466
	KAEApplicationDied = 1868720500
	KAEOpenApplication = 1868656752
	KAEOpenContents    = 1868787566
	KAEOpenDocuments   = 1868853091
	KAEPrintDocuments  = 1885630307
	KAEQuitApplication = 1903520116
	KAEShowPreferences = 1886545254
)
View Source
const (
	KAEQDNotOr             = 1853124466
	KAEQDNotXor            = 1853386610
	KAEQDOr                = 1869750304
	KAEQDSubOver           = 1937072751
	KAEQDSubPin            = 1937072752
	KAEQDSupplementalSuite = 1902408560
	KAEQDXor               = 2020569632
	KAEQuickdrawSuite      = 1902408311
	KAEQuitAll             = 1903520097
	KAERedo                = 1919247471
	KAERegular             = 1919248236
	KAEReopenApplication   = 1918988400
	KAEReplace             = 1919970403
	KAERequiredSuite       = 1919250788
	KAERestart             = 1919251316
	KAERevealSelection     = 1936876918
	KAERevert              = 1920365172
	KAERightJustified      = 1919379572
	KAESave                = 1935767141
	KAESelect              = 1936483188
	KAESetData             = 1936028772
)
View Source
const (
	KAEQuitPreserveState = 1937006964
	KAEQuitReason        = 2003335487
)
View Source
const (
	KAESetPosition            = 1886352238
	KAEShadow                 = 1936220516
	KAEShowClipboard          = 1936221036
	KAEShutDown               = 1936225652
	KAESleep                  = 1936483696
	KAESmallCaps              = 1936548720
	KAESpecialClassProperties = 1665147681
	KAEStrikethrough          = 1937011307
	KAESubscript              = 1935831907
	KAESuperscript            = 1936749411
	KAETableSuite             = 1952607347
	KAETextSuite              = 1413830740
	KAETransactionTerminated  = 1953788525
	KAEUnderline              = 1970168940
	KAEUndo                   = 1970168943
	KAEWholeWordEquals        = 2004313457
	KAEYes                    = 2036691744
	KAEZoom                   = 2054123373
)
View Source
const (
	KAESocks4Protocol = 4
	KAESocks5Protocol = 5
)
View Source
const (
	KAENotifyRecording      = 1919247218
	KAENotifyStartRecording = 1919247153
	KAENotifyStopRecording  = 1919247152
	KAEStartRecording       = 1919247201
	KAEStopRecording        = 1919247203
)
View Source
const (
	KAEUTApostrophe             = 3
	KAEUTChangesState           = 12
	KAEUTDirectParamIsReference = 9
	KAEUTEnumListIsExclusive    = 10
	KAEUTEnumerated             = 13
	KAEUTEnumsAreTypes          = 11
	KAEUTFeminine               = 2
	KAEUTHasReturningParam      = 31
	KAEUTMasculine              = 1
	KAEUTNotDirectParamIsTarget = 8
	KAEUTOptional               = 15
	KAEUTParamIsReference       = 9
	KAEUTParamIsTarget          = 8
	KAEUTPlural                 = 0
	KAEUTPropertyIsReference    = 9
	KAEUTReadWrite              = 12
	KAEUTReplyIsReference       = 9
	KAEUTTightBindingFunction   = 12
	KAEUTlistOfItems            = 14
)
View Source
const (
	KAEDirectCall    = 1
	KAELocalProcess  = 3
	KAERemoteProcess = 4
	KAESameProcess   = 2
	KAEUnknownSource = 0
)
View Source
const (
	KAEHTTPProxyHostAttr = 2020111464
	KAEHTTPProxyPortAttr = 2020111472
	KAEUseHTTPProxyAttr  = 2020962418
)
View Source
const (
	KAESocksHostAttr     = 2020829299
	KAESocksPasswordAttr = 2020829303
	KAESocksPortAttr     = 2020829296
	KAESocksProxyAttr    = 2020831083
	KAESocksUserAttr     = 2020829301
	KAEUseSocksAttr      = 2020828019
)
View Source
const (
	KAEOSAXSizeResource      = 1869834618
	KAEScriptingSizeResource = 1935897466
	KAETerminologyExtension  = 1634038885
	KAEUserTerminology       = 1634039156
)
View Source
const (
	KAEZoomIn  = 7
	KAEZoomOut = 8
)
View Source
const (
	KAnyTransactionID     = 0
	KAutoGenerateReturnID = -1
)
View Source
const (
	KByCommentView = 6
	KByDateView    = 3
	KByIconView    = 1
	KByKindView    = 5
	KByLabelView   = 7
	KByNameView    = 2
	KBySizeView    = 4
	KBySmallIcon   = 0
	KByVersionView = 8
)
View Source
const (
	CADBAddress       = 1667327074
	CAddressSpec      = 1667327090
	CAppleTalkAddress = 1667331104
	CBusAddress       = 1667396979
	CDevSpec          = 1667523958
	CEthernetAddress  = 1667591712
	CFireWireAddress  = 1667659552
	CIPAddress        = 1667854368
	CLocalTalkAddress = 1668052000
	CSCSIAddress      = 1668506483
	CTokenRingAddress = 1668575083
	CUSBAddress       = 1668641634
	EADB              = 1700881506
	EAddressSpec      = 1700881523
	EAnalogAudio      = 1701863797
	EAppleTalk        = 1701863796
	EAudioLineIn      = 1701011817
	EAudioLineOut     = 1701011820
	EAudioOut         = 1701011823
	EBus              = 1700951411
	ECDROM            = 1701012512
	ECommSlot         = 1701012333
	EConduit          = 1701015406
	EDVD              = 1701082724
	EDeviceType       = 1701082740
	EDigitalAudio     = 1701864545
	EDisplay          = 1701078131
	EEthernet         = 1701012846
	EFireWire         = 1701013111
	EFloppy           = 1701209120
	EHD               = 1701340192
	EIP               = 1701865840
	EIRTalk           = 1701865844
	EInfrared         = 1701013874
	EIrDA             = 1701865842
	EKeyboard         = 1701536356
	ELCD              = 1701080163
	ELocalTalk        = 1701014644
	EMacIP            = 1701866857
	EMacVideo         = 1701866870
	EMicrophone       = 1701014889
	EModem            = 1701080429
	EModemPort        = 1701014896
	EModemPrinterPort = 1701671024
	EMonitorOut       = 1701014894
	EMouse            = 1701670773
	ENuBus            = 1701737826
	ENuBusCard        = 1701080674
	EPCIbus           = 1701015657
	EPCIcard          = 1701081193
	EPCcard           = 1701015651
	EPDScard          = 1701864563
	EPDSslot          = 1701015652
	EPPP              = 1701867632
	EPointingDevice   = 1701081188
	EPostScript       = 1701867635
	EPrinter          = 1701081202
	EPrinterPort      = 1701015664
	EProtocol         = 1701868143
	ESCSI             = 1701016419
	ESVGA             = 1701868391
	ESerial           = 1701868402
	ESpeakers         = 1701081968
	EStorageDevice    = 1701081972
	ESvideo           = 1701868406
	ETokenRing        = 1702129515
	ETrackball        = 1702130283
	ETrackpad         = 1701082224
	EUSB              = 1701016947
	EVideoIn          = 1701017193
	EVideoMonitor     = 1701082733
	EVideoOut         = 1701017199
	KConnSuite        = 1835098979
	PATMachine        = 1885434989
	PATType           = 1885434996
	PATZone           = 1885435002
	PConduit          = 1885564782
	PDNS              = 1885630067
	PDeviceAddress    = 1885632097
	PDeviceType       = 1885632116
	PDottedDecimal    = 1885958244
	PNetwork          = 1886283124
	PNode             = 1886285668
	PPort             = 1886416754
	PProtocol         = 1886417524
	PSCSIBus          = 1886610274
	PSCSILUN          = 1886612597
	PSocket           = 1886613347
)
View Source
const (
	KDoFolderActionEvent     = 1718578273
	KFAAttachCommand         = 1635018337
	KFAEditCommand           = 1701078625
	KFAFileParam             = 1717657964
	KFAIndexParam            = 1768842360
	KFARemoveCommand         = 1919772257
	KFAServerApp             = 1936945782
	KFASuiteCode             = 1717658479
	KFolderActionCode        = 1633907822
	KFolderClosedEvent       = 1717791855
	KFolderItemsAddedEvent   = 1718052212
	KFolderItemsRemovedEvent = 1718382451
	KFolderOpenedEvent       = 1718579310
	KFolderWindowMovedEvent  = 1718839674
	KItemList                = 1718383476
	KNewSizeParameter        = 1718514554
)
View Source
const (
	KAlwaysSendSubject      = 8192
	KDontFindAppBySignature = 16384
	KLaunchToGetTerminology = 32768
)
View Source
const (
	KNextBody     = 1
	KPreviousBody = 2
)
View Source
const (
	KOSIZCodeInSharedLibraries  = 11
	KOSIZDontOpenResourceFile   = 15
	KOSIZOpenWithReadPermission = 13
	KOSIZdontAcceptRemoteEvents = 14
)
View Source
const (
	KSOAP1999Schema = 1936931129
	KSOAP2001Schema = 1936928817
)
View Source
const (
	KTSMHiliteBlockFillText         = 6
	KTSMHiliteCaretPosition         = 1
	KTSMHiliteConvertedText         = 4
	KTSMHiliteNoHilite              = 9
	KTSMHiliteOutlineText           = 7
	KTSMHiliteRawText               = 2
	KTSMHiliteSelectedConvertedText = 5
	KTSMHiliteSelectedRawText       = 3
	KTSMHiliteSelectedText          = 8
)
View Source
const (
	KTSMInsideOfActiveInputArea = 3
	KTSMInsideOfBody            = 2
	KTSMOutsideOfBody           = 1
)
View Source
const (
	KGetSelectedText            = 1735686260
	KOffset2Pos                 = 1936994928
	KPos2Offset                 = 1882354548
	KShowHideInputWindow        = 1936222583
	KTextServiceClass           = 1953724003
	KUnicodeNotFromInputMethod  = 1970170221
	KUpdateActiveInputArea      = 1970300020
	KeyAEBufferSize             = 1651861094
	KeyAECurrentPoint           = 1668312947
	KeyAEFixLength              = 1718188140
	KeyAEMoveView               = 1836480119
	KeyAENextBody               = 1853383268
	KeyAEServerInstance         = 1936881257
	KeyAETSMDocumentRefcon      = 1919247971
	KeyAETSMEventRecord         = 1952806516
	KeyAETSMEventRef            = 1952806514
	KeyAETSMGlyphInfoArray      = 1952934241
	KeyAETSMScriptTag           = 1935895655
	KeyAETSMTextFMFont          = 1802795117
	KeyAETSMTextFont            = 1802795110
	KeyAETSMTextPointSize       = 1802793075
	KeyAETextServiceEncoding    = 1953719662
	KeyAETextServiceMacEncoding = 1953326446
	KeyAETheData                = 1801740660
	KeyAEUpdateRange            = 1969516135
	TypeComponentInstance       = 1668116585
	TypeEventRef                = 1702261350
	TypeGlyphInfoArray          = 1735158113
	TypeLowLevelEventRecord     = 1702261874
	TypeOffsetArray             = 1868980601
	TypeText                    = 1413830740
	TypeTextRange               = 1954050670
	TypeTextRangeArray          = 1953653113
)
View Source
const (
	KeyAEAngle    = 1801547367
	KeyAEArcAngle = 1885434467
)
View Source
const (
	KeyAEBaseAddr       = 1650549860
	KeyAEBestType       = 1885500276
	KeyAEBgndColor      = 1801610092
	KeyAEBgndPattern    = 1801613428
	KeyAEBounds         = 1885498980
	KeyAECellList       = 1801677940
	KeyAEClassID        = 1668041028
	KeyAEColor          = 1668246642
	KeyAEColorTable     = 1668052066
	KeyAECurveHeight    = 1801676900
	KeyAECurveWidth     = 1801680740
	KeyAEDashStyle      = 1885631348
	KeyAEData           = 1684108385
	KeyAEDefaultType    = 1684366964
	KeyAEDefinitionRect = 1885631092
	KeyAEDescType       = 1685288048
	KeyAEDestination    = 1684370292
	KeyAEDoAntiAlias    = 1634628705
	KeyAEDoDithered     = 1734633844
	KeyAEDoRotate       = 1801745012
)
View Source
const (
	KeyAEDoScale        = 1802724193
	KeyAEDoTranslate    = 1802793569
	KeyAEEditionFileLoc = 1701605219
	KeyAEElements       = 1701604723
	KeyAEEndPoint       = 1885695588
	KeyAEEventClass     = 1702257516
	KeyAEEventID        = 1702261865
	KeyAEFile           = 1801873772
	KeyAEFileType       = 1718383728
	KeyAEFillColor      = 1718379372
	KeyAEFillPattern    = 1718382708
	KeyAEFlipHorizontal = 1801873519
	KeyAEFlipVertical   = 1801877108
	KeyAEFont           = 1718578804
	KeyAEFormula        = 1885761394
	KeyAEGraphicObjects = 1735352947
	KeyAEID             = 1229201440
	KeyAEImageQuality   = 1735488865
	KeyAEInsertHere     = 1768846184
	KeyAEKeyForms       = 1801812326
)
View Source
const (
	KeyAEClauseOffsets = 1668047221
	KeyAEDragging      = 1651470188
	KeyAEHiliteRange   = 1752329831
	KeyAELeftSide      = 1802265958
	KeyAEOffset        = 1868985204
	KeyAEPinRange      = 1886286439
	KeyAEPoint         = 1735421811
	KeyAERegionClass   = 1919381091
)
View Source
const (
	KeyAEKeyword       = 1803122532
	KeyAELevel         = 1818588780
	KeyAELineArrow     = 1634890351
	KeyAEName          = 1886282093
	KeyAENewElementLoc = 1886283116
	KeyAEObject        = 1802461802
	KeyAEObjectClass   = 1802462060
	KeyAEOffStyles     = 1868985204
	KeyAEOnStyles      = 1869509492
	KeyAEPMTable       = 1802530164
	KeyAEParamFlags    = 1886217831
	KeyAEParameters    = 1886547315
	KeyAEPenColor      = 1886413676
	KeyAEPenPattern    = 1886416993
	KeyAEPenWidth      = 1886418788
	KeyAEPixMapMinus   = 1802530157
	KeyAEPixelDepth    = 1885630580
	KeyAEPointList     = 1886678132
	KeyAEPointSize     = 1886679930
	KeyAEPosition      = 1802530675
)
View Source
const (
	KeyAELaunchedAsLogInItem   = 1818716532
	KeyAELaunchedAsServiceItem = 1937140084
)
View Source
const (
	KeyAEPropData      = 1886545012
	KeyAEPropFlags     = 1886545511
	KeyAEPropID        = 1886547824
	KeyAEProperties    = 1903194735
	KeyAEProperty      = 1802531440
	KeyAEProtection    = 1886417519
	KeyAERenderAs      = 1802659182
	KeyAERequestedType = 1920235888
	KeyAEResult        = 757935405
	KeyAEResultInfo    = 1920166254
	KeyAERotPoint      = 1802663024
	KeyAERotation      = 1886547828
	KeyAERowList       = 1802660979
	KeyAESaveOptions   = 1935767151
	KeyAEScale         = 1886610284
	KeyAEScriptTag     = 1886610292
	KeyAESearchText    = 1937012852
	KeyAEShowWhere     = 1936224119
	KeyAEStartAngle    = 1885433447
	KeyAEStartPoint    = 1886614640
	KeyAEStyles        = 1802728569
)
View Source
const (
	KeyAEAdjustMarksProc = 1633970797
	KeyAECompareProc     = 1668116594
	KeyAECountProc       = 1668247156
	KeyAEGetErrDescProc  = 1768842339
	KeyAEMarkProc        = 1835102827
	KeyAEMarkTokenProc   = 1835755876
	KeyAERangeStart      = 1937006962
	KeyAERangeStop       = 1937010544
	KeyDisposeTokenProc  = 2020896619
)
View Source
const (
	KeyAESuiteID         = 1937074548
	KeyAEText            = 1802795124
	KeyAETextColor       = 1886681187
	KeyAETextFont        = 1886681190
	KeyAETextLineAscent  = 1802789235
	KeyAETextLineHeight  = 1802792040
	KeyAETextPointSize   = 1886679155
	KeyAETextStyles      = 1954050932
	KeyAETheText         = 1953002616
	KeyAETransferMode    = 1886418029
	KeyAETranslation     = 1886679667
	KeyAETryAsStructGraf = 1953460071
	KeyAEUniformStyles   = 1970500716
	KeyAEUpdateOn        = 1886744676
	KeyAEUserTerm        = 1970565741
	KeyAEWindow          = 2003723383
	KeyAEWritingCode     = 2003985252
)
View Source
const (
	KeyAERecorderCount     = 1919247218
	KeyAEVersion           = 1986359923
	KeyDirectObject        = 757935405
	KeyErrorNumber         = 1701999214
	KeyErrorString         = 1701999219
	KeyPreDispatch         = 1885888867
	KeyProcessSerialNumber = 1886613024
	KeySelectProc          = 1936026728
)
View Source
const (
	KeyCloseAllWindows = 1667331872
	KeyLocalWhere      = 1819764850
	KeyMenuID          = 1835623456
	KeyMenuItem        = 1835627629
	KeyNewBounds       = 1851944548
	KeyOriginalBounds  = 1868721764
)
View Source
const (
	KeyDriveNumber    = 1685222947
	KeyErrorCode      = 1701999139
	KeyHighLevelClass = 1751346291
	KeyHighLevelID    = 1751737376
	KeyKey            = 1801812256
	KeyKeyCode        = 1668244581
	KeyKeyboard       = 1801812322
	KeyMiscellaneous  = 1718448995
	KeyModifiers      = 1836016755
	KeySelection      = 1718838636
	KeyWhen           = 2003330414
	KeyWhere          = 2003330418
	KeyWindow         = 1802989156
)
View Source
const (
	KeySOAPSMDNamespace      = 1936944755
	KeySOAPSMDNamespaceURI   = 1936944757
	KeySOAPSMDType           = 1936946288
	KeySOAPStructureMetaData = 796093796
)
View Source
const (
	KeyAcceptTimeoutAttr                          = 1633907821
	KeyActualSenderAuditToken                     = 1633902964
	KeyAddressAttr                                = 1633969266
	KeyAppleEventAttributesAttr                   = 1635021938
	KeyEventClassAttr                             = 1702257516
	KeyEventIDAttr                                = 1702259044
	KeyEventSourceAttr                            = 1702064739
	KeyInteractLevelAttr                          = 1768846437
	KeyMissedKeywordAttr                          = 1835627379
	KeyOptionalKeywordAttr                        = 1869640811
	KeyOriginalAddressAttr                        = 1718775661
	KeyReplyRequestedAttr                         = 1919250545
	KeyReturnIDAttr                               = 1920231780
	KeySenderApplescriptEntitlementsAttr          = 1701737580
	KeySenderApplicationIdentifierEntitlementAttr = 1634297185
	KeySenderApplicationSandboxed                 = 1936946018
	KeySenderAuditTokenAttr                       = 1953459054
	KeySenderEGIDAttr                             = 1936157028
	KeySenderEUIDAttr                             = 1936025956
	KeySenderGIDAttr                              = 1734960243
	KeySenderPIDAttr                              = 1936746852
	KeySenderUIDAttr                              = 1969841267
	KeyTimeoutAttr                                = 1953066351
	KeyTransactionIDAttr                          = 1953653102
)
View Source
const (
	KAERPCClass                  = 1919968032
	KAESOAPScheme                = 1397702992
	KAESharedScriptHandler       = 2004050800
	KAEXMLRPCScheme              = 1380991794
	KeyAEPOSTHeaderData          = 1885889892
	KeyAEReplyHeaderData         = 1919444324
	KeyAEXMLReplyData            = 2020762992
	KeyAEXMLRequestData          = 2020762993
	KeyAdditionalHTTPHeaders     = 1634231652
	KeyDisableAuthenticationAttr = 1635087464
	KeyRPCMethodName             = 1835365480
	KeyRPCMethodParam            = 1885434477
	KeyRPCMethodParamOrder       = 795832932
	KeySOAPAction                = 1935762292
	KeySOAPMethodNameSpace       = 1836281955
	KeySOAPMethodNameSpaceURI    = 1836281973
	KeySOAPSchemaVersion         = 1936941928
	KeyUserNameAttr              = 1970168173
	KeyUserPasswordAttr          = 1885434739
	KeyXMLDebuggingAttr          = 2019844711
)
View Source
const (
	PArcAngle          = 1885434467
	PBackgroundColor   = 1885496172
	PBackgroundPattern = 1885499508
	PBestType          = 1885500276
	PBounds            = 1885498980
	PClass             = 1885564019
	PClipboard         = 1885564009
	PColor             = 1668246642
	PColorTable        = 1668052066
	PContents          = 1885564532
	PCornerCurveHeight = 1885562980
	PCornerCurveWidth  = 1885566820
	PDashStyle         = 1885631348
	PDefaultType       = 1684366964
	PDefinitionRect    = 1885631092
	PEnabled           = 1701732972
	PEndPoint          = 1885695588
	PFillColor         = 1718379372
	PFillPattern       = 1718382708
	PFont              = 1718578804
)
View Source
const (
	PFormula         = 1885761394
	PGraphicObjects  = 1735352947
	PHasCloseBox     = 1751346274
	PHasTitleBar     = 1886677364
	PID              = 1229201440
	PIndex           = 1885955192
	PInsertionLoc    = 1885957747
	PIsFloating      = 1769170540
	PIsFrontProcess  = 1885959014
	PIsModal         = 1886220132
	PIsModified      = 1768779620
	PIsResizable     = 1886548858
	PIsStationeryPad = 1886613604
	PIsZoomable      = 1769175661
	PIsZoomed        = 1887073645
	PItemNumber      = 1769237870
	PJustification   = 1886024564
	PLineArrow       = 1634890351
	PMenuID          = 1835952484
	PName            = 1886282093
)
View Source
const (
	PNewElementLoc      = 1886283116
	PPenColor           = 1886413676
	PPenPattern         = 1886416993
	PPenWidth           = 1886418788
	PPixelDepth         = 1885630580
	PPointList          = 1886678132
	PPointSize          = 1886679930
	PProtection         = 1886417519
	PRotation           = 1886547828
	PScale              = 1886610284
	PScript             = 1935896692
	PScriptTag          = 1886610292
	PSelected           = 1936026723
	PSelection          = 1936026725
	PStartAngle         = 1885433447
	PStartPoint         = 1886614640
	PTextColor          = 1886681187
	PTextFont           = 1886681190
	PTextItemDelimiters = 1954047084
	PTextPointSize      = 1886679155
)
View Source
const (
	PDNSForm      = 1883524691
	PFTPKind      = 1802071652
	PHost         = 1213158228
	PPath         = 1179930723
	PScheme       = 1886745443
	PTextEncoding = 1886681189
	PURL          = 1884639820
	PUserName     = 1380021614
	PUserPassword = 1380020343
)
View Source
const (
	PTextStyles    = 1954050932
	PTransferMode  = 1886418029
	PTranslation   = 1886679667
	PUniformStyles = 1970500716
	PUpdateOn      = 1886744676
	PUserSelection = 1886745452
	PVersion       = 1986359923
	PVisible       = 1886808435
)
View Source
const (
	TypeAEList              = 1818850164
	TypeAERecord            = 1919247215
	TypeAlias               = 1634494835
	TypeAppParameters       = 1634758753
	TypeApplSignature       = 1936287598
	TypeAppleEvent          = 1634039412
	TypeApplicationURL      = 1634759276
	TypeBookmarkData        = 1651339883
	TypeEnumerated          = 1701737837
	TypeEventRecord         = 1702261347
	TypeFSRef               = 1718841958
	TypeFalse               = 1717660787
	TypeFileURL             = 1718973036
	TypeFixed               = 1718188132
	TypeKeyword             = 1801812343
	TypeNull                = 1853189228
	TypeProcessSerialNumber = 1886613024
	TypeProperty            = 1886547824
	TypeQDRectangle         = 1902408308
	TypeSectionH            = 1936024436
	TypeTrue                = 1953658213
	TypeType                = 1954115685
	TypeWildCard            = 707406378
)
View Source
const (
	TypeAEText      = 1951684692
	TypeArc         = 1667330659
	TypeBest        = 1650815860
	TypeCell        = 1667458412
	TypeClassInfo   = 1734569065
	TypeColorTable  = 1668051572
	TypeColumn      = 1667460972
	TypeDashStyle   = 1952735603
	TypeData        = 1952740449
	TypeDrawingArea = 1667527287
	TypeEPS         = 1162892064
	TypeElemInfo    = 1701603694
	TypeEnumeration = 1701737837
	TypeEventInfo   = 1702259054
)
View Source
const (
	TypeBoolean = 1651470188
	TypeChar    = 1413830740
)
View Source
const (
	TypeCFArrayRef                   = 1667654002
	TypeCFAttributedStringRef        = 1667654003
	TypeCFBooleanRef                 = 1667658854
	TypeCFDictionaryRef              = 1667654755
	TypeCFMutableArrayRef            = 1667657057
	TypeCFMutableAttributedStringRef = 1667653985
	TypeCFMutableDictionaryRef       = 1667657060
	TypeCFMutableStringRef           = 1667657075
	TypeCFNumberRef                  = 1667657314
	TypeCFStringRef                  = 1667658612
	TypeCFTypeRef                    = 1667658873
)
View Source
const (
	TypeCFAbsoluteTime     = 1667654004
	TypeFinderWindow       = 1719101806
	TypeFixedPoint         = 1718644340
	TypeFixedRectangle     = 1718772596
	TypeGraphicLine        = 1735158126
	TypeGraphicText        = 1667724408
	TypeGroupedGraphic     = 1668311395
	TypeISO8601DateTime    = 1769172852
	TypeInsertionLoc       = 1768846188
	TypeIntlText           = 1769240692
	TypeIntlWritingCode    = 1768846444
	TypeLongDateTime       = 1818522656
	TypeLongFixed          = 1818654820
	TypeLongFixedPoint     = 1818652788
	TypeLongFixedRectangle = 1818653283
	TypeLongPoint          = 1819307636
	TypeLongRectangle      = 1819435892
	TypeMachineLoc         = 1833725795
	TypeOval               = 1668249196
	TypeParamInfo          = 1886218606
	TypePict               = 1346978644
)
View Source
const (
	TypeHIMenu   = 1836016234
	TypeHIWindow = 2003788394
)
View Source
const (
	TypeKernelProcessID = 1802529124
	TypeMachPort        = 1886351988
)
View Source
const (
	TypeCentimeters      = 1668117618
	TypeCubicCentimeter  = 1667460468
	TypeCubicFeet        = 1667655028
	TypeCubicInches      = 1668639086
	TypeCubicMeters      = 1668113780
	TypeCubicYards       = 1668903524
	TypeDegreesC         = 1684367203
	TypeDegreesF         = 1684367206
	TypeDegreesK         = 1684367211
	TypeFeet             = 1717921140
	TypeGallons          = 1734437998
	TypeGrams            = 1735549293
	TypeInches           = 1768842088
	TypeKilograms        = 1801941613
	TypeKilometers       = 1802335346
	TypeLiters           = 1818850418
	TypeMeters           = 1835365490
	TypeMiles            = 1835625573
	TypeOunces           = 1870295840
	TypePounds           = 1818391328
	TypeQuarts           = 1903326323
	TypeSquareFeet       = 1936811636
	TypeSquareKilometers = 1936812909
	TypeSquareMeters     = 1936814701
	TypeSquareMiles      = 1936813417
	TypeSquareYards      = 1936816484
	TypeYards            = 2036429412
)
View Source
const (
	TypeAbsoluteOrdinal     = 1633842031
	TypeCompDescriptor      = 1668116580
	TypeCurrentContainer    = 1667460724
	TypeIndexDescriptor     = 1768842341
	TypeLogicalDescriptor   = 1819240297
	TypeOSLTokenList        = 1869837420
	TypeObjectBeingExamined = 1702391150
	TypeObjectSpecifier     = 1868720672
	TypeRangeDescriptor     = 1918987879
	TypeRelativeDescriptor  = 1919249440
	TypeToken               = 1953459045
)
View Source
const (
	TypePixMapMinus      = 1953525101
	TypePixelMap         = 1668311416
	TypePolygon          = 1668310894
	TypePropInfo         = 1885957734
	TypePtr              = 1886679584
	TypeQDPoint          = 1363439732
	TypeQDRegion         = 1366452078
	TypeRGB16            = 1953640758
	TypeRGB96            = 1953642806
	TypeRGBColor         = 1666336578
	TypeRectangle        = 1668441443
	TypeRotation         = 1953656692
	TypeRoundedRectangle = 1668444771
	TypeRow              = 1668444023
	TypeScrapStyles      = 1937013100
	TypeScript           = 1935896692
	TypeStyledText       = 1398036564
	TypeSuiteInfo        = 1937074542
	TypeTable            = 1668571756
	TypeTextStyles       = 1953723513
)
View Source
const (
	Type128BitFloatingPoint    = 1818518124
	TypeDecimalStruct          = 1684366189
	TypeIEEE32BitFloatingPoint = 1936289383
	TypeIEEE64BitFloatingPoint = 1685026146
	TypeSInt16                 = 1936224114
	TypeSInt32                 = 1819242087
	TypeSInt64                 = 1668246896
	TypeUInt16                 = 1970497650
	TypeUInt32                 = 1835100014
	TypeUInt64                 = 1969450861
)
View Source
const (
	TypeCString           = 1668510834
	TypeEncodedString     = 1701733235
	TypePString           = 1886614642
	TypeStyledUnicodeText = 1937077368
	TypeUnicodeText       = 1970567284
)
View Source
const (
	TypeGIF     = 1195984486
	TypeJPEG    = 1246774599
	TypeTIFF    = 1414088262
	TypeVersion = 1986359923
)
View Source
const (
	TypeUTF16ExternalRepresentation = 1970549046
	TypeUTF8Text                    = 1970562616
)
View Source
const (
	FormWhose            = 2003332979
	KeyAEIndex           = 1802069112
	KeyAETest            = 1802793844
	KeyAEWhoseRangeStart = 2004055154
	KeyAEWhoseRangeStop  = 2004055152
	TypeWhoseDescriptor  = 2003332979
	TypeWhoseRange       = 2003988071
)
View Source
const (
	ErrAEEventWouldRequireUserConsent = -1744
)
View Source
const (
	KAEApplicationActivationExpected = 1633775716
)
View Source
const (
	KAEDoNotPromptForUserConsent = 131072
)
View Source
const (
	KAEHandleArray = 2
)
View Source
const (
	KCoreEventClass = 1634039412
)
View Source
const (
	KReadExtensionTermsMask = 32768
)
View Source
const (
	KeyAERestoreAppState = 1920169071
)
View Source
const (
	KeyReplyPortAttr = 1919250544
)
View Source
const (
	TypeApplicationBundleID = 1651863140
)
View Source
const (
	TypeAuditToken = 1953459054
)
View Source
const (
	TypeReplyPortAttr = 1919250544
)

Variables

This section is empty.

Functions

func AECallObjectAccessor

func AECallObjectAccessor(desiredClass uint, containerToken *AEDesc, containerClass uint, keyForm uint, keyData *AEDesc, token *AEDesc) int16

func AECheckIsRecord

func AECheckIsRecord(theDesc *AEDesc) uint8

func AECoerceDesc

func AECoerceDesc(theAEDesc *AEDesc, toType uint, result *AEDesc) int16

func AECoercePtr

func AECoercePtr(typeCode uint, dataPtr unsafe.Pointer, dataSize int, toType uint, result *AEDesc) int16

func AECompareDesc

func AECompareDesc(desc1 *AEDesc, desc2 *AEDesc, resultP *uint8) int

func AECountItems

func AECountItems(theAEDescList *AEDesc, theCount *int64) int16

func AECreateAppleEvent

func AECreateAppleEvent(theAEEventClass uint, theAEEventID uint, target *AEDesc, returnID int16, transactionID int, result *AEDesc) int16

func AECreateDesc

func AECreateDesc(typeCode uint, dataPtr unsafe.Pointer, dataSize int, result *AEDesc) int16

func AECreateDescFromExternalPtr

func AECreateDescFromExternalPtr(descriptorType uint, dataPtr unsafe.Pointer, dataLength int, disposeCallback unsafe.Pointer, disposeRefcon unsafe.Pointer, theDesc *AEDesc) int

func AECreateList

func AECreateList(factoringPtr unsafe.Pointer, factoredSize int, isRecord uint8, resultList *AEDesc) int16

func AECreateRemoteProcessResolver

func AECreateRemoteProcessResolver(allocator unsafe.Pointer, url unsafe.Pointer) unsafe.Pointer

func AEDecodeMessage

func AEDecodeMessage(header unsafe.Pointer, event *AEDesc, reply *AEDesc) int

func AEDeleteItem

func AEDeleteItem(theAEDescList *AEDesc, index int) int16

func AEDeleteParam

func AEDeleteParam(theAppleEvent *AEDesc, theAEKeyword uint) int16

func AEDeterminePermissionToAutomateTarget

func AEDeterminePermissionToAutomateTarget(target *AEDesc, theAEEventClass uint, theAEEventID uint, askUserIfNeeded uint8) int

Determines whether the current application is able to send an AppleEvent with the given eventClass and eventID to the application described as targetAddressDesc. Mac OS 10.14 and later impose additional requirements on applications when they send AppleEvents to other applications in order to insure that users are aware of and consent to allowing such control or information exchange. Generally this involves the user being prompted in a secure fashion the first time an application attempts to send an AppleEvent to another application. If the user consents then this application can send events to the target. If the user does not consent then any future attempts to send AppleEvents will result in a failure with errAEEventNotPermitted being returned. Certain AppleEvents are allowed to be sent without prompting the user. Pass typeWildCard for the eventClass and eventID to determine if every event is allowed to be sent from this application to the target. Applications can determine, without sending an AppleEvent to a target application, whether they are allowed to send AppleEvents to the target with this function. If askUserIfNeeded is true, and this application does not yet have permission to send AppleEvents to the target, then the user will be asked if permission can be granted; if askUserIfNeeded is false and permission has not been granted, then errAEEventWouldRequireUserConsent will be returned. The target AEAddressDesc must refer to an already running application. @subsection macOS Threading Thread safe since version 10.14. Do not call this function on your main thread because it may take arbitrarily long to return if the user needs to be prompted for consent. @param target A pointer to an address descriptor. Before calling AEDeterminePermissionToAutomateTarget, you set the descriptor to identify the target application for the Apple event. The target address descriptor must refer to a running application. If the target application is on another machine, then Remote AppleEvents must be enabled on that machine for the user. @param theAEEventClass The event class of the Apple event to determine permission for. @param theAEEventID The event ID of the Apple event to determine permission for. @param askUserIfNeeded a Boolean; if true, and if this application does not yet have permission to send events to the target application, then prompt the user to obtain permission. If false, do not prompt the user. @returns If the current application is permitted to send the given AppleEvent to the target, then noErr will be returned. If the current application is not permitted to send the event, errAEEventNotPermitted will be returned. If the target application is not running, then procNotFound will be returned. If askUserIfNeeded is false, and this application is not yet permitted to send AppleEvents to the target, then errAEEventWouldRequireUserConsent will be returned.

func AEDisposeDesc

func AEDisposeDesc(theAEDesc *AEDesc) int16

func AEDisposeRemoteProcessResolver

func AEDisposeRemoteProcessResolver(ref unsafe.Pointer)

func AEDisposeToken

func AEDisposeToken(theToken *AEDesc) int16

func AEDuplicateDesc

func AEDuplicateDesc(theAEDesc *AEDesc, result *AEDesc) int16

func AEFlattenDesc

func AEFlattenDesc(theAEDesc *AEDesc, buffer string, bufferSize int, actualSize *int) int

func AEGetArray

func AEGetArray(theAEDescList *AEDesc, arrayType int8, arrayPtr unsafe.Pointer, maximumSize int, itemType *uint, itemSize *int, itemCount *int64) int16

func AEGetAttributeDesc

func AEGetAttributeDesc(theAppleEvent *AEDesc, theAEKeyword uint, desiredType uint, result *AEDesc) int16

func AEGetAttributePtr

func AEGetAttributePtr(theAppleEvent *AEDesc, theAEKeyword uint, desiredType uint, typeCode *uint, dataPtr unsafe.Pointer, maximumSize int, actualSize *int) int16

func AEGetCoercionHandler

func AEGetCoercionHandler(fromType uint, toType uint, handler unsafe.Pointer, handlerRefcon unsafe.Pointer, fromTypeIsDesc *uint8, isSysHandler uint8) int16

func AEGetDescData

func AEGetDescData(theAEDesc *AEDesc, dataPtr unsafe.Pointer, maximumSize int) int16

func AEGetDescDataRange

func AEGetDescDataRange(dataDesc *AEDesc, buffer unsafe.Pointer, offset int, length int) int

func AEGetDescDataSize

func AEGetDescDataSize(theAEDesc *AEDesc) int

func AEGetEventHandler

func AEGetEventHandler(theAEEventClass uint, theAEEventID uint, handler unsafe.Pointer, handlerRefcon unsafe.Pointer, isSysHandler uint8) int16

func AEGetNthDesc

func AEGetNthDesc(theAEDescList *AEDesc, index int, desiredType uint, theAEKeyword *uint, result *AEDesc) int16

func AEGetNthPtr

func AEGetNthPtr(theAEDescList *AEDesc, index int, desiredType uint, theAEKeyword *uint, typeCode *uint, dataPtr unsafe.Pointer, maximumSize int, actualSize *int) int16

func AEGetObjectAccessor

func AEGetObjectAccessor(desiredClass uint, containerType uint, accessor unsafe.Pointer, accessorRefcon unsafe.Pointer, isSysHandler uint8) int16

func AEGetParamDesc

func AEGetParamDesc(theAppleEvent *AEDesc, theAEKeyword uint, desiredType uint, result *AEDesc) int16

func AEGetParamPtr

func AEGetParamPtr(theAppleEvent *AEDesc, theAEKeyword uint, desiredType uint, actualType *uint, dataPtr unsafe.Pointer, maximumSize int, actualSize *int) int16

func AEGetRegisteredMachPort

func AEGetRegisteredMachPort() uint

func AEGetSpecialHandler

func AEGetSpecialHandler(functionClass uint, handler unsafe.Pointer, isSysHandler uint8) int16

func AEInitializeDesc

func AEInitializeDesc(desc *AEDesc)

func AEInstallCoercionHandler

func AEInstallCoercionHandler(fromType uint, toType uint, handler unsafe.Pointer, handlerRefcon unsafe.Pointer, fromTypeIsDesc uint8, isSysHandler uint8) int16

func AEInstallEventHandler

func AEInstallEventHandler(theAEEventClass uint, theAEEventID uint, handler unsafe.Pointer, handlerRefcon unsafe.Pointer, isSysHandler uint8) int16

func AEInstallObjectAccessor

func AEInstallObjectAccessor(desiredClass uint, containerType uint, theAccessor unsafe.Pointer, accessorRefcon unsafe.Pointer, isSysHandler uint8) int16

func AEInstallSpecialHandler

func AEInstallSpecialHandler(functionClass uint, handler unsafe.Pointer, isSysHandler uint8) int16

func AEManagerInfo

func AEManagerInfo(keyWord uint, result *int64) int16

func AEObjectInit

func AEObjectInit() int16

func AEPrintDescToHandle

func AEPrintDescToHandle(desc *AEDesc, result **string) int

func AEProcessMessage

func AEProcessMessage(header unsafe.Pointer) int

func AEPutArray

func AEPutArray(theAEDescList *AEDesc, arrayType int8, arrayPtr unsafe.Pointer, itemType uint, itemSize int, itemCount int) int16

func AEPutAttributeDesc

func AEPutAttributeDesc(theAppleEvent *AEDesc, theAEKeyword uint, theAEDesc *AEDesc) int16

func AEPutAttributePtr

func AEPutAttributePtr(theAppleEvent *AEDesc, theAEKeyword uint, typeCode uint, dataPtr unsafe.Pointer, dataSize int) int16

func AEPutDesc

func AEPutDesc(theAEDescList *AEDesc, index int, theAEDesc *AEDesc) int16

func AEPutParamDesc

func AEPutParamDesc(theAppleEvent *AEDesc, theAEKeyword uint, theAEDesc *AEDesc) int16

func AEPutParamPtr

func AEPutParamPtr(theAppleEvent *AEDesc, theAEKeyword uint, typeCode uint, dataPtr unsafe.Pointer, dataSize int) int16

func AEPutPtr

func AEPutPtr(theAEDescList *AEDesc, index int, typeCode uint, dataPtr unsafe.Pointer, dataSize int) int16

func AERemoteProcessResolverGetProcesses

func AERemoteProcessResolverGetProcesses(ref unsafe.Pointer, outError *corefoundation.CFStreamError) unsafe.Pointer

func AERemoteProcessResolverScheduleWithRunLoop

func AERemoteProcessResolverScheduleWithRunLoop(ref unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer, callback unsafe.Pointer, ctx *AERemoteProcessResolverContext)

func AERemoveCoercionHandler

func AERemoveCoercionHandler(fromType uint, toType uint, handler unsafe.Pointer, isSysHandler uint8) int16

func AERemoveEventHandler

func AERemoveEventHandler(theAEEventClass uint, theAEEventID uint, handler unsafe.Pointer, isSysHandler uint8) int16

func AERemoveObjectAccessor

func AERemoveObjectAccessor(desiredClass uint, containerType uint, theAccessor unsafe.Pointer, isSysHandler uint8) int16

func AERemoveSpecialHandler

func AERemoveSpecialHandler(functionClass uint, handler unsafe.Pointer, isSysHandler uint8) int16

func AEReplaceDescData

func AEReplaceDescData(typeCode uint, dataPtr unsafe.Pointer, dataSize int, theAEDesc *AEDesc) int16

func AEResolve

func AEResolve(objectSpecifier *AEDesc, callbackFlags int16, theToken *AEDesc) int16

func AESendMessage

func AESendMessage(event *AEDesc, reply *AEDesc, sendMode int, timeOutInTicks int) int

func AESetObjectCallbacks

func AESetObjectCallbacks(myCompareProc unsafe.Pointer, myCountProc unsafe.Pointer, myDisposeTokenProc unsafe.Pointer, myGetMarkTokenProc unsafe.Pointer, myMarkProc unsafe.Pointer, myAdjustMarksProc unsafe.Pointer, myGetErrDescProcPtr unsafe.Pointer) int16

func AESizeOfAttribute

func AESizeOfAttribute(theAppleEvent *AEDesc, theAEKeyword uint, typeCode *uint, dataSize *int) int16

func AESizeOfFlattenedDesc

func AESizeOfFlattenedDesc(theAEDesc *AEDesc) int

func AESizeOfNthItem

func AESizeOfNthItem(theAEDescList *AEDesc, index int, typeCode *uint, dataSize *int) int16

func AESizeOfParam

func AESizeOfParam(theAppleEvent *AEDesc, theAEKeyword uint, typeCode *uint, dataSize *int) int16

func AEStreamClose

func AEStreamClose(ref unsafe.Pointer, desc *AEDesc) int

func AEStreamCloseDesc

func AEStreamCloseDesc(ref unsafe.Pointer) int

func AEStreamCloseList

func AEStreamCloseList(ref unsafe.Pointer) int

func AEStreamCloseRecord

func AEStreamCloseRecord(ref unsafe.Pointer) int

func AEStreamCreateEvent

func AEStreamCreateEvent(clazz uint, id_ uint, targetType uint, targetData unsafe.Pointer, targetLength int, returnID int16, transactionID int) unsafe.Pointer

func AEStreamOpen

func AEStreamOpen() unsafe.Pointer

func AEStreamOpenDesc

func AEStreamOpenDesc(ref unsafe.Pointer, newType uint) int

func AEStreamOpenEvent

func AEStreamOpenEvent(event *AEDesc) unsafe.Pointer

func AEStreamOpenKeyDesc

func AEStreamOpenKeyDesc(ref unsafe.Pointer, key uint, newType uint) int

func AEStreamOpenList

func AEStreamOpenList(ref unsafe.Pointer) int

func AEStreamOpenRecord

func AEStreamOpenRecord(ref unsafe.Pointer, newType uint) int

func AEStreamOptionalParam

func AEStreamOptionalParam(ref unsafe.Pointer, key uint) int

func AEStreamSetRecordType

func AEStreamSetRecordType(ref unsafe.Pointer, newType uint) int

func AEStreamWriteAEDesc

func AEStreamWriteAEDesc(ref unsafe.Pointer, desc *AEDesc) int

func AEStreamWriteData

func AEStreamWriteData(ref unsafe.Pointer, data unsafe.Pointer, length int) int

func AEStreamWriteDesc

func AEStreamWriteDesc(ref unsafe.Pointer, newType uint, data unsafe.Pointer, length int) int

func AEStreamWriteKey

func AEStreamWriteKey(ref unsafe.Pointer, key uint) int

func AEStreamWriteKeyDesc

func AEStreamWriteKeyDesc(ref unsafe.Pointer, key uint, newType uint, data unsafe.Pointer, length int) int

func AEUnflattenDesc deprecated

func AEUnflattenDesc(buffer unsafe.Pointer, result *AEDesc) int

Deprecated: since macOS 11.0.

func AEUnflattenDescFromBytes

func AEUnflattenDescFromBytes(buffer unsafe.Pointer, bufferLen uint, result *AEDesc) int

Allocates an AEDesc (given a Null Desc) constructed from a flattened data buffer produced by calling AEFlattenDesc. @param buffer A pointer to data produced by `AEFlattenDesc` @param bufferLen The size of the data referenced by `buffer` @param result On successful completion, a pointer to an `AEDesc*` containing the unflattened descriptor. The caller is responsible for disposing of it. @return `noErr` on success, `paramErr` if the buffer could not be parsed, or `memFullErr` for irrational memory sizes.

func CreateCompDescriptor

func CreateCompDescriptor(comparisonOperator uint, operand1 *AEDesc, operand2 *AEDesc, disposeInputs uint8, theDescriptor *AEDesc) int16

func CreateLogicalDescriptor

func CreateLogicalDescriptor(theLogicalTerms *AEDesc, theLogicOperator uint, disposeInputs uint8, theDescriptor *AEDesc) int16

func CreateObjSpecifier

func CreateObjSpecifier(desiredClass uint, theContainer *AEDesc, keyForm uint, keyData *AEDesc, disposeInputs uint8, objSpecifier *AEDesc) int16

func CreateOffsetDescriptor

func CreateOffsetDescriptor(theOffset int, theDescriptor *AEDesc) int16

func CreateRangeDescriptor

func CreateRangeDescriptor(rangeStart *AEDesc, rangeStop *AEDesc, disposeInputs uint8, theDescriptor *AEDesc) int16

func DisposeAECoerceDescUPP

func DisposeAECoerceDescUPP(userUPP unsafe.Pointer)

func DisposeAECoercePtrUPP

func DisposeAECoercePtrUPP(userUPP unsafe.Pointer)

func DisposeAEDisposeExternalUPP

func DisposeAEDisposeExternalUPP(userUPP unsafe.Pointer)

func DisposeAEEventHandlerUPP

func DisposeAEEventHandlerUPP(userUPP unsafe.Pointer)

func DisposeOSLAccessorUPP

func DisposeOSLAccessorUPP(userUPP unsafe.Pointer)

func DisposeOSLAdjustMarksUPP

func DisposeOSLAdjustMarksUPP(userUPP unsafe.Pointer)

func DisposeOSLCompareUPP

func DisposeOSLCompareUPP(userUPP unsafe.Pointer)

func DisposeOSLCountUPP

func DisposeOSLCountUPP(userUPP unsafe.Pointer)

func DisposeOSLDisposeTokenUPP

func DisposeOSLDisposeTokenUPP(userUPP unsafe.Pointer)

func DisposeOSLGetErrDescUPP

func DisposeOSLGetErrDescUPP(userUPP unsafe.Pointer)

func DisposeOSLGetMarkTokenUPP

func DisposeOSLGetMarkTokenUPP(userUPP unsafe.Pointer)

func DisposeOSLMarkUPP

func DisposeOSLMarkUPP(userUPP unsafe.Pointer)

func InvokeAECoerceDescUPP

func InvokeAECoerceDescUPP(fromDesc *AEDesc, toType uint, handlerRefcon unsafe.Pointer, toDesc *AEDesc, userUPP unsafe.Pointer) int16

func InvokeAECoercePtrUPP

func InvokeAECoercePtrUPP(typeCode uint, dataPtr unsafe.Pointer, dataSize int, toType uint, handlerRefcon unsafe.Pointer, result *AEDesc, userUPP unsafe.Pointer) int16

func InvokeAEDisposeExternalUPP

func InvokeAEDisposeExternalUPP(dataPtr unsafe.Pointer, dataLength int, refcon unsafe.Pointer, userUPP unsafe.Pointer)

func InvokeAEEventHandlerUPP

func InvokeAEEventHandlerUPP(theAppleEvent *AEDesc, reply *AEDesc, handlerRefcon unsafe.Pointer, userUPP unsafe.Pointer) int16

func InvokeOSLAccessorUPP

func InvokeOSLAccessorUPP(desiredClass uint, container *AEDesc, containerClass uint, form uint, selectionData *AEDesc, value *AEDesc, accessorRefcon unsafe.Pointer, userUPP unsafe.Pointer) int16

func InvokeOSLAdjustMarksUPP

func InvokeOSLAdjustMarksUPP(newStart int, newStop int, markToken *AEDesc, userUPP unsafe.Pointer) int16

func InvokeOSLCompareUPP

func InvokeOSLCompareUPP(oper uint, obj1 *AEDesc, obj2 *AEDesc, result *uint8, userUPP unsafe.Pointer) int16

func InvokeOSLCountUPP

func InvokeOSLCountUPP(desiredType uint, containerClass uint, container *AEDesc, result *int64, userUPP unsafe.Pointer) int16

func InvokeOSLDisposeTokenUPP

func InvokeOSLDisposeTokenUPP(unneededToken *AEDesc, userUPP unsafe.Pointer) int16

func InvokeOSLGetErrDescUPP

func InvokeOSLGetErrDescUPP(appDescPtr *AEDesc, userUPP unsafe.Pointer) int16

func InvokeOSLGetMarkTokenUPP

func InvokeOSLGetMarkTokenUPP(dContainerToken *AEDesc, containerClass uint, result *AEDesc, userUPP unsafe.Pointer) int16

func InvokeOSLMarkUPP

func InvokeOSLMarkUPP(dToken *AEDesc, markToken *AEDesc, index int, userUPP unsafe.Pointer) int16

func KAERemoteProcessNameKey

func KAERemoteProcessNameKey() uintptr

func KAERemoteProcessProcessIDKey

func KAERemoteProcessProcessIDKey() uintptr

func KAERemoteProcessURLKey

func KAERemoteProcessURLKey() uintptr

func KAERemoteProcessUserIDKey

func KAERemoteProcessUserIDKey() uintptr

func NewAECoerceDescUPP

func NewAECoerceDescUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewAECoercePtrUPP

func NewAECoercePtrUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewAEDisposeExternalUPP

func NewAEDisposeExternalUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewAEEventHandlerUPP

func NewAEEventHandlerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLAccessorUPP

func NewOSLAccessorUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLAdjustMarksUPP

func NewOSLAdjustMarksUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLCompareUPP

func NewOSLCompareUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLCountUPP

func NewOSLCountUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLDisposeTokenUPP

func NewOSLDisposeTokenUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLGetErrDescUPP

func NewOSLGetErrDescUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLGetMarkTokenUPP

func NewOSLGetMarkTokenUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewOSLMarkUPP

func NewOSLMarkUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func SymbolAvailable

func SymbolAvailable(symbol string) bool

SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.

func VAEBuildAppleEvent

func VAEBuildAppleEvent(theClass uint, theID uint, addressType uint, addressData unsafe.Pointer, addressLength int, returnID int16, transactionID int, resultEvt *AEDesc, error_ *AEBuildError, paramsFmt string, args string) int

C function: vAEBuildAppleEvent

func VAEBuildDesc

func VAEBuildDesc(dst *AEDesc, error_ *AEBuildError, src string, args string) int

C function: vAEBuildDesc

func VAEBuildParameters

func VAEBuildParameters(event *AEDesc, error_ *AEBuildError, format string, args string) int

C function: vAEBuildParameters

Types

type AEBuildError

type AEBuildError struct {
	FError    uint
	FErrorPos uint
}

type AEDesc

type AEDesc struct {
	DescriptorType uint
	DataHandle     unsafe.Pointer
}

type AEKeyDesc

type AEKeyDesc struct {
	DescKey     uint
	DescContent AEDesc
}

type AERemoteProcessResolver

type AERemoteProcessResolver struct{}

AERemoteProcessResolver is an opaque type.

type AERemoteProcessResolverContext

type AERemoteProcessResolverContext struct {
	Version         int
	Info            unsafe.Pointer
	Retain          unsafe.Pointer
	Release         unsafe.Pointer
	CopyDescription unsafe.Pointer
}

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CcntTokenRecord

type CcntTokenRecord struct {
	TokenClass uint
	Token      AEDesc
}

C struct: ccntTokenRecord

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type IntlText

type IntlText struct {
	TheScriptCode int16
	TheLangCode   int16
	TheText       [1]int8
}

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type OffsetArray

type OffsetArray struct {
	FNumOfOffsets int16
	FOffset       [1]int
}

type OpaqueAEDataStorageType

type OpaqueAEDataStorageType struct{}

OpaqueAEDataStorageType is an opaque type.

type OpaqueAEStreamRef

type OpaqueAEStreamRef struct{}

OpaqueAEStreamRef is an opaque type.

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type TScriptingSizeResource

type TScriptingSizeResource struct {
	ScriptingSizeFlags int16
	MinStackSize       uint
	PreferredStackSize uint
	MaxStackSize       uint
	MinHeapSize        uint
	PreferredHeapSize  uint
	MaxHeapSize        uint
}

type TextRange

type TextRange struct {
	FStart       int
	FEnd         int
	FHiliteStyle int16
}

type TextRangeArray

type TextRangeArray struct {
	FNumOfRanges int16
	FRange       [1]TextRange
}

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type WritingCode

type WritingCode struct {
	TheScriptCode int16
	TheLangCode   int16
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL