carboncore

package
v0.3.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: 9 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package carboncore provides purego-based Go bindings for the macOS CarbonCore framework.

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

Index

Constants

View Source
const (
	AIFCID                = 1095321155
	AIFFID                = 1095321158
	AnnotationID          = 1095650895
	ApplicationSpecificID = 1095782476
	AudioRecordingID      = 1095062340
	AuthorID              = 1096111176
	CommentID             = 1129270612
	CommonID              = 1129270605
	CopyrightID           = 677587232
	FORMID                = 1179603533
	FormatVersionID       = 1180058962
	InstrumentID          = 1229869908
	MIDIDataID            = 1296647241
	MarkerID              = 1296126539
	NameID                = 1312902469
	SoundDataID           = 1397968452
)
View Source
const (
	CDEFNFnd         = 88
	DsBadStartupDisk = 42
	DsHD20Installed  = -12
	DsNotThe1        = 31
	DsSystemFileErr  = 43
	ExUserBreak      = -492
	FsDSIntErr       = -127
	HMenuFindErr     = -127
	MBarNFnd         = -126
	StrUserBreak     = -491
	UserBreak        = -490
)
View Source
const (
	EQUALTO     = 2
	GREATERTHAN = 0
	LESSTHAN    = 1
	UNORDERED   = 3
)
View Source
const (
	MPLibrary_DevelopmentRevision = 1
	MPLibrary_MajorVersion        = 2
	MPLibrary_MinorVersion        = 3
	MPLibrary_Release             = 1
)
View Source
const (
	ForwardBackwardLooping = 2
	ForwardLooping         = 1
	NoLooping              = 0
)
View Source
const (
	ACE2Type  = 1094927666
	ACE8Type  = 1094927672
	MACE3Type = 1296122675
	MACE6Type = 1296122678
	NoneType  = 1313820229
)
View Source
const (
	AbortErr       = -27
	BdNamErr       = -37
	DceExtErr      = -30
	DirFulErr      = -33
	DskFulErr      = -34
	EofErr         = -39
	FLckdErr       = -45
	FnOpnErr       = -38
	FnfErr         = -43
	GcrOnMFMErr    = -400
	IIOAbortErr    = -27
	IoErr          = -36
	MFulErr        = -41
	NotOpenErr     = -28
	NsvErr         = -35
	PosErr         = -40
	SlotNumErr     = -360
	TmfoErr        = -42
	UnitTblFullErr = -29
	WPrErr         = -44
)
View Source
const (
	AfpAccessDenied       = -5000
	AfpAlreadyLoggedInErr = -5047
	AfpAuthContinue       = -5001
	AfpBadIDErr           = -5039
	AfpBadUAM             = -5002
	AfpBadVersNum         = -5003
	AfpBitmapErr          = -5004
	AfpCallNotAllowed     = -5048
	AfpCallNotSupported   = -5024
	AfpCantMove           = -5005
	AfpCantRename         = -5028
	AfpCatalogChanged     = -5037
	AfpContainsSharedErr  = -5033
	AfpDenyConflict       = -5006
	AfpDiffVolErr         = -5036
	AfpDirNotEmpty        = -5007
	AfpDirNotFound        = -5029
	AfpDiskFull           = -5008
	AfpEofError           = -5009
	AfpFileBusy           = -5010
	AfpFlatVol            = -5011
	AfpIDExists           = -5035
	AfpIDNotFound         = -5034
	AfpIconTypeError      = -5030
	AfpInsideSharedErr    = -5043
	AfpInsideTrashErr     = -5044
	AfpItemNotFound       = -5012
	AfpLockErr            = -5013
	AfpMiscErr            = -5014
	AfpNoMoreLocks        = -5015
	AfpNoServer           = -5016
	AfpObjectExists       = -5017
	AfpObjectLocked       = -5032
	AfpObjectNotFound     = -5018
	AfpObjectTypeErr      = -5025
	AfpParmErr            = -5019
	AfpPwdExpiredErr      = -5042
	AfpPwdNeedsChangeErr  = -5045
	AfpPwdPolicyErr       = -5046
	AfpPwdSameErr         = -5040
	AfpPwdTooShortErr     = -5041
	AfpRangeNotLocked     = -5020
	AfpRangeOverlap       = -5021
	AfpSameObjectErr      = -5038
	AfpServerGoingDown    = -5027
	AfpSessClosed         = -5022
	AfpTooManyFilesOpen   = -5026
	AfpUserNotAuth        = -5023
	AfpVolLocked          = -5031
)
View Source
const (
	AfpAlreadyMounted     = -5062
	AfpBadDirIDType       = -5060
	AfpCantMountMoreSrvre = -5061
	AfpSameNodeErr        = -5063
)
View Source
const (
	AsiAliasName  = 0
	AsiParentName = 1
	AsiServerName = -2
	AsiVolumeName = -1
	AsiZoneName   = -3
)
View Source
const (
	AspBadVersNum  = -1066
	AspBufTooSmall = -1067
	AspNoAck       = -1075
	AspNoMoreSess  = -1068
	AspNoServers   = -1069
	AspParamErr    = -1070
	AspServerBusy  = -1071
	AspSessClosed  = -1072
	AspSizeErr     = -1073
	AspTooMany     = -1074
)
View Source
const (
	BAllowCDiDataHandler          = 17
	BAncestorModDateChanges       = 11
	BDoNotDisplay                 = 24
	BIsAutoMounted                = 14
	BIsCasePreserving             = 23
	BIsCaseSensitive              = 22
	BIsEjectable                  = 0
	BIsOnExternalBus              = 27
	BIsOnInternalBus              = 21
	BIsRemovable                  = 25
	BL2PCanMapFileBlocks          = 9
	BNoRootTimes                  = 26
	BNoVolumeSizes                = 20
	BParentModDateChanges         = 10
	BSupports2TBFiles             = 4
	BSupportsExclusiveLocks       = 18
	BSupportsExtendedFileSecurity = 28
	BSupportsFSCatalogSearch      = 2
	BSupportsFSExchangeObjects    = 3
	BSupportsHFSPlusAPIs          = 1
	BSupportsJournaling           = 19
	BSupportsLongNames            = 5
	BSupportsMultiScriptNames     = 6
	BSupportsNamedForks           = 7
	BSupportsSubtreeIterators     = 8
	BSupportsSymbolicLinks        = 13
)
View Source
const (
	BAccessCntl                  = 18
	BHasBTreeMgr                 = 5
	BHasBlankAccessPrivileges    = 4
	BHasCatSearch                = 7
	BHasCopyFile                 = 14
	BHasDesktopMgr               = 12
	BHasExtFSVol                 = 16
	BHasFileIDs                  = 6
	BHasFolderLock               = 10
	BHasMoveRename               = 13
	BHasOpenDeny                 = 15
	BHasPersonalAccessPrivileges = 9
	BHasShortName                = 11
	BHasUserGroupList            = 8
	BLimitFCBs                   = 31
	BLocalWList                  = 30
	BNoBootBlks                  = 19
	BNoDeskItems                 = 20
	BNoLclSync                   = 27
	BNoMiniFndr                  = 29
	BNoSwitchTo                  = 25
	BNoSysDir                    = 17
	BNoVNEdit                    = 28
	BSupportsAsyncRequests       = 3
	BSupportsTrashVolumeCache    = 2
	BTrshOffLine                 = 26
)
View Source
const (
	BadComponentInstance = -2147450879
	BadComponentSelector = -2147450878
)
View Source
const (
	BadDragFlavorErr          = -1852
	BadDragItemErr            = -1851
	BadDragRefErr             = -1850
	BadImageErr               = -1861
	BadImageRgnErr            = -1860
	CantGetFlavorErr          = -1854
	DragNotAcceptedErr        = -1857
	DuplicateFlavorErr        = -1853
	DuplicateHandlerErr       = -1855
	HandlerNotFoundErr        = -1856
	NoSuitableDisplaysErr     = -1859
	NonDragOriginatorErr      = -1862
	UnsupportedForPlatformErr = -1858
)
View Source
const (
	BadFolderDescErr       = -4270
	BadRoutingSizeErr      = -4276
	DuplicateFolderDescErr = -4271
	DuplicateRoutingErr    = -4274
	InvalidFolderTypeErr   = -4273
	NoMoreFolderDescErr    = -4272
	RoutingNotFoundErr     = -4275
)
View Source
const (
	AtpBadRsp    = -3107
	AtpLenErr    = -3106
	Buf2SmallErr = -3101
	CkSumErr     = -3103
	ExtractErr   = -3104
	NoMPPErr     = -3102
	ReadQErr     = -3105
	RecNotFnd    = -3108
	SktClosedErr = -3109
)
View Source
const (
	CDepthErr             = -157
	CDevErr               = -155
	CMatchErr             = -150
	CNoMemErr             = -152
	CProtectErr           = -154
	CRangeErr             = -153
	CResErr               = -156
	CTempMemErr           = -151
	CantLoadPickMethodErr = -11003
	ColorsRequestedErr    = -11004
	PictInfoIDErr         = -11001
	PictInfoVerbErr       = -11002
	PictInfoVersionErr    = -11000
	PictureDataErr        = -11005
	RgnTooBigErr          = -500
	UpdPixMemErr          = -125
)
View Source
const (
	CalArabicCivil = 1
	CalArabicLunar = 2
	CalCoptic      = 5
	CalGregorian   = 0
	CalJapanese    = 3
	CalJewish      = 4
	CalPersian     = 6
)
View Source
const (
	AAPNotCreatedErr                 = -2120
	AAPNotFoundErr                   = -2121
	ASDBadForkErr                    = -2123
	ASDBadHeaderErr                  = -2122
	ASDEntryNotFoundErr              = -2124
	AtomIndexInvalidErr              = -2104
	AtomsNotOfSameTypeErr            = -2103
	CannotBeLeafAtomErr              = -2109
	CannotFindAtomErr                = -2101
	DuplicateAtomTypeAndIDErr        = -2105
	EmptyPathErr                     = -2111
	FileOffsetTooBigErr              = -2125
	InvalidAtomContainerErr          = -2107
	InvalidAtomErr                   = -2106
	InvalidAtomTypeErr               = -2108
	NoPathMappingErr                 = -2112
	NotAllowedToSaveMovieErr         = -2126
	NotEnoughDataErr                 = -2149
	NotLeafAtomErr                   = -2102
	PathNotVerifiedErr               = -2113
	PathTooLongErr                   = -2110
	QfcbNotCreatedErr                = -2119
	QfcbNotFoundErr                  = -2118
	QtActionNotHandledErr            = -2157
	QtNetworkAlreadyAllocatedErr     = -2127
	QtXMLApplicationErr              = -2159
	QtXMLParseErr                    = -2158
	UnknownFormatErr                 = -2114
	UrlDataHFTPBadNameListErr        = -2144
	UrlDataHFTPBadPasswordErr        = -2136
	UrlDataHFTPBadUserErr            = -2135
	UrlDataHFTPDataConnectionErr     = -2138
	UrlDataHFTPFilenameErr           = -2142
	UrlDataHFTPNeedPasswordErr       = -2145
	UrlDataHFTPNoDirectoryErr        = -2139
	UrlDataHFTPNoNetDriverErr        = -2143
	UrlDataHFTPNoPasswordErr         = -2146
	UrlDataHFTPPermissionsErr        = -2141
	UrlDataHFTPProtocolErr           = -2133
	UrlDataHFTPQuotaErr              = -2140
	UrlDataHFTPServerDisconnectedErr = -2147
	UrlDataHFTPServerErr             = -2137
	UrlDataHFTPShutdownErr           = -2134
	UrlDataHFTPURLErr                = -2148
	UrlDataHHTTPNoNetDriverErr       = -2130
	UrlDataHHTTPProtocolErr          = -2129
	UrlDataHHTTPRedirectErr          = -2132
	UrlDataHHTTPURLErr               = -2131
	WackBadFileErr                   = -2115
	WackBadMetaDataErr               = -2117
	WackForkNotFoundErr              = -2116
)
View Source
const (
	CfragAbortClosureErr    = -2830
	CfragArchitectureErr    = -2823
	CfragCFMInternalErr     = -2819
	CfragCFMStartupErr      = -2818
	CfragCFragRsrcErr       = -2857
	CfragClosureIDErr       = -2829
	CfragConnectionIDErr    = -2801
	CfragContainerIDErr     = -2828
	CfragContextIDErr       = -2800
	CfragDupRegistrationErr = -2805
	CfragExecFileRefErr     = -2854
	CfragFileSizeErr        = -2825
	CfragFirstErrCode       = -2800
	CfragFragmentCorruptErr = -2820
	CfragFragmentFormatErr  = -2806
	CfragFragmentUsageErr   = -2824
	CfragImportTooNewErr    = -2814
	CfragImportTooOldErr    = -2813
	CfragInitAtBootErr      = -2816
	CfragInitFunctionErr    = -2821
	CfragInitLoopErr        = -2815
	CfragInitOrderErr       = -2812
	CfragLastErrCode        = -2899
	CfragLibConnErr         = -2817
	CfragMapFileErr         = -2851
	CfragNoApplicationErr   = -2822
	CfragNoClientMemErr     = -2810
	CfragNoIDsErr           = -2811
	CfragNoLibraryErr       = -2804
	CfragNoPositionErr      = -2808
	CfragNoPrivateMemErr    = -2809
	CfragNoRegistrationErr  = -2827
	CfragNoSectionErr       = -2803
	CfragNoSymbolErr        = -2802
	CfragNotClosureErr      = -2826
	CfragOutputLengthErr    = -2831
	CfragRsrcForkErr        = -2856
	CfragStdFolderErr       = -2855
	CfragUnresolvedErr      = -2807
)
View Source
const (
	CfragFirstReservedCode = -2897
	CfragReservedCode_1    = -2899
	CfragReservedCode_2    = -2898
	CfragReservedCode_3    = -2897
)
View Source
const (
	CmCantCopyModifiedV1Profile = -4215
	CmCantDeleteElement         = -4202
	CmCantGamutCheckError       = -4217
	CmElementTagNotFound        = -4200
	CmErrIncompatibleProfile    = -4208
	CmFatalProfileErr           = -4203
	CmIndexRangeErr             = -4201
	CmInvalidColorSpace         = -4209
	CmInvalidDstMap             = -4211
	CmInvalidProfile            = -4204
	CmInvalidProfileComment     = -4213
	CmInvalidProfileLocation    = -4205
	CmInvalidSearch             = -4206
	CmInvalidSrcMap             = -4210
	CmNamedColorNotFound        = -4216
	CmNoGDevicesError           = -4212
	CmRangeOverFlow             = -4214
	CmSearchError               = -4207
)
View Source
const (
	CmCantConcatenateError = -178
	CmCantDeleteProfile    = -180
	CmCantXYZ              = -179
	CmMethodError          = -171
	CmMethodNotFound       = -175
	CmNoCurrentProfile     = -182
	CmProfileError         = -170
	CmProfileNotFound      = -176
	CmProfilesIdentical    = -177
	CmUnsupportedDataType  = -181
)
View Source
const (
	CmpAliasNoFlags      = 0
	CmpAliasOnlyThisFile = 1
)
View Source
const (
	CmpIsMissing            = 536870912
	CmpThreadSafe           = 268435456
	CmpWantsRegisterMessage = 2147483648
)
View Source
const (
	BadCodecCharacterizationErr        = -8993
	CodecAbortErr                      = -8967
	CodecBadDataErr                    = -8969
	CodecCantQueueErr                  = -8975
	CodecCantWhenErr                   = -8974
	CodecConditionErr                  = -8972
	CodecDataVersErr                   = -8970
	CodecDisabledErr                   = -8978
	CodecDroppedFrameErr               = -8989
	CodecErr                           = -8960
	CodecExtensionNotFoundErr          = -8971
	CodecImageBufErr                   = -8965
	CodecNeedAccessKeyErr              = -8987
	CodecNeedToFlushChainErr           = -8979
	CodecNoMemoryPleaseWaitErr         = -8977
	CodecNothingToBlitErr              = -8976
	CodecOffscreenFailedErr            = -8988
	CodecOffscreenFailedPleaseRetryErr = -8992
	CodecOpenErr                       = -8973
	CodecParameterDialogConfirm        = -8986
	CodecScreenBufErr                  = -8964
	CodecSizeErr                       = -8963
	CodecSpoolErr                      = -8966
	CodecUnimpErr                      = -8962
	CodecWouldOffscreenErr             = -8968
	DirectXObjectAlreadyExists         = -8990
	LockPortBitsBadPortErr             = -8984
	LockPortBitsBadSurfaceErr          = -8980
	LockPortBitsSurfaceLostErr         = -8985
	LockPortBitsWindowClippedErr       = -8983
	LockPortBitsWindowMovedErr         = -8981
	LockPortBitsWindowResizedErr       = -8982
	LockPortBitsWrongGDeviceErr        = -8991
	NoCodecErr                         = -8961
	NoThumbnailFoundErr                = -8994
	ScTypeNotFoundErr                  = -8971
)
View Source
const (
	CollectionIndexRangeErr   = -5752
	CollectionItemLockedErr   = -5750
	CollectionItemNotFoundErr = -5751
	CollectionVersionErr      = -5753
)
View Source
const (
	ComponentDllEntryNotFoundErr = -2092
	ComponentDllLoadErr          = -2091
	ComponentNotThreadSafeErr    = -2098
	QtmlDllEntryNotFoundErr      = -2094
	QtmlDllLoadErr               = -2093
	QtmlUninitialized            = -2095
	UnsupportedOSErr             = -2096
	UnsupportedProcessorErr      = -2097
)
View Source
const (
	ComponentAutoVersionIncludeFlags = 4
	ComponentDoAutoVersion           = 1
	ComponentHasMultiplePlatforms    = 8
	ComponentLoadResident            = 16
	ComponentWantsUnregister         = 2
)
View Source
const (
	AuxiliaryExportDataUnavailable = -2058
	BadComponentType               = -2005
	BadDataRefIndex                = -2050
	BadEditIndex                   = -2033
	BadEditList                    = -2017
	BadImageDescription            = -2001
	BadPublicMovieAtom             = -2002
	BadTrackIndex                  = -2028
	CantCreateSingleForkFile       = -2022
	CantEnableTrack                = -2035
	CantFindHandler                = -2003
	CantOpenHandler                = -2004
	CantPutPublicMovieAtom         = -2016
	CouldNotResolveDataRef         = -2000
	CouldNotUseAnExistingSample    = -2052
	DataAlreadyClosed              = -2045
	DataAlreadyOpenForWrite        = -2044
	DataNoDataRef                  = -2047
	DataNotOpenForRead             = -2042
	DataNotOpenForWrite            = -2043
	EndOfDataReached               = -2046
	FeatureUnsupported             = -2053
	GWorldsNotSameDepthAndSizeErr  = -2066
	InternalQuickTimeError         = -2034
	InvalidChunkCache              = -2040
	InvalidChunkNum                = -2038
	InvalidDataRef                 = -2012
	InvalidDataRefContainer        = -2049
	InvalidDuration                = -2014
	InvalidEditState               = -2023
	InvalidHandler                 = -2013
	InvalidImageIndexErr           = -2068
	InvalidMedia                   = -2008
	InvalidMovie                   = -2010
	InvalidRect                    = -2036
	InvalidSampleDescIndex         = -2039
	InvalidSampleDescription       = -2041
	InvalidSampleNum               = -2037
	InvalidSampleTable             = -2011
	InvalidSpriteIDErr             = -2069
	InvalidSpriteIndexErr          = -2067
	InvalidSpritePropertyErr       = -2065
	InvalidSpriteWorldPropertyErr  = -2064
	InvalidTime                    = -2015
	InvalidTrack                   = -2009
	MaxSizeToGrowTooSmall          = -2027
	MediaTypesDontMatch            = -2018
	MissingRequiredParameterErr    = -2063
	MovieTextNotFoundErr           = -2062
	MovieToolboxUninitialized      = -2020
	NoDataHandler                  = -2007
	NoDefaultDataRef               = -2051
	NoMediaHandler                 = -2006
	NoMovieFound                   = -2048
	NoRecordOfApp                  = -2020
	NoSoundTrackInMovieErr         = -2055
	NoSourceTreeFoundErr           = -2060
	NoVideoTrackInMovieErr         = -2054
	NonMatchingEditState           = -2024
	ProgressProcAborted            = -2019
	SamplesAlreadyInMediaErr       = -2059
	SoundSupportNotAvailableErr    = -2056
	SourceNotFoundErr              = -2061
	StaleEditState                 = -2025
	TimeNotInMedia                 = -2032
	TimeNotInTrack                 = -2031
	TrackIDNotFound                = -2029
	TrackNotInMovie                = -2030
	UnsupportedAuxiliaryImportData = -2057
	UserDataItemNotFound           = -2026
	WfFileNotFound                 = -2021
)
View Source
const (
	CurrLeadingZ  = 128
	CurrNegSym    = 32
	CurrSymLead   = 16
	CurrTrailingZ = 64
)
View Source
const (
	DcmBadDataSizeErr       = -7117
	DcmBadDictionaryErr     = -7102
	DcmBadFeatureErr        = -7124
	DcmBadFieldInfoErr      = -7111
	DcmBadFieldTypeErr      = -7112
	DcmBadFindMethodErr     = -7118
	DcmBadKeyErr            = -7115
	DcmBadPropertyErr       = -7119
	DcmBlockFullErr         = -7107
	DcmBufferOverflowErr    = -7127
	DcmDictionaryBusyErr    = -7105
	DcmDictionaryNotOpenErr = -7104
	DcmDupRecordErr         = -7109
	DcmIterationCompleteErr = -7126
	DcmNecessaryFieldErr    = -7110
	DcmNoAccessMethodErr    = -7122
	DcmNoFieldErr           = -7113
	DcmNoRecordErr          = -7108
	DcmNotDictionaryErr     = -7101
	DcmParamErr             = -7100
	DcmPermissionErr        = -7103
	DcmProtectedErr         = -7121
	DcmTooManyKeyErr        = -7116
)
View Source
const (
	DdpLenErr     = -92
	DdpSktErr     = -91
	ExcessCollsns = -95
	LapProtErr    = -94
	NoBridgeErr   = -93
	PortInUse     = -97
	PortNotCf     = -98
	PortNotPwr    = -96
)
View Source
const (
	DebuggingDuplicateOptionErr    = -13882
	DebuggingDuplicateSignatureErr = -13881
	DebuggingExecutionContextErr   = -13880
	DebuggingInvalidNameErr        = -13885
	DebuggingInvalidOptionErr      = -13884
	DebuggingInvalidSignatureErr   = -13883
	DebuggingNoCallbackErr         = -13886
	DebuggingNoMatchErr            = -13887
)
View Source
const (
	DefaultComponentAnyFlags                          = 1
	DefaultComponentAnyFlagsAnyManufacturer           = 3
	DefaultComponentAnyFlagsAnyManufacturerAnySubType = 7
	DefaultComponentAnyManufacturer                   = 2
	DefaultComponentAnySubType                        = 4
	DefaultComponentIdentical                         = 0
)
View Source
const (
	DelimPad   = -2
	TokenCarat = 55
	TokenTilda = 44
)
View Source
const (
	AcuteUprA          = 231
	AcuteUprI          = 234
	AcuteUprO          = 238
	AcuteUprU          = 242
	BaseDblQuote       = 227
	BaseSingQuote      = 226
	BreveMark          = 249
	Cedilla            = 252
	CenteredDot        = 225
	Circumflex         = 246
	CircumflexUprA     = 229
	CircumflexUprE     = 230
	CircumflexUprI     = 235
	CircumflexUprO     = 239
	CircumflexUprU     = 243
	DblDagger          = 224
	DiaeresisUprE      = 232
	DiaeresisUprI      = 236
	DiaeresisUprY      = 217
	DotlessLwrI        = 245
	DoubleAcute        = 253
	FiLigature         = 222
	FlLigature         = 223
	Fraction           = 218
	GraveUprE          = 233
	GraveUprI          = 237
	GraveUprO          = 241
	GraveUprU          = 244
	Hachek             = 255
	IntlCurrency       = 219
	LeftSingGuillemet  = 220
	Macron             = 248
	Ogonek             = 254
	OverDot            = 250
	PerThousand        = 228
	RightSingGuillemet = 221
	RingMark           = 251
	Tilde              = 247
)
View Source
const (
	BadCallOrderErr    = -2209
	BadDepthErr        = -2207
	DigiUnimpErr       = -2201
	MatrixErr          = -2203
	NoDMAErr           = -2208
	NoMoreKeyColorsErr = -2205
	NotExactMatrixErr  = -2204
	NotExactSizeErr    = -2206
	QtParamErr         = -2202
)
View Source
const (
	DsBadLibrary       = 1010
	DsMixedModeFailure = 1011
)
View Source
const (
	DsAddressErr = 2
	DsBusError   = 1
	DsChkErr     = 5
	DsCoreErr    = 12
	DsFPErr      = 16
	DsIOCoreErr  = 14
	DsIllInstErr = 3
	DsIrqErr     = 13
	DsLineAErr   = 9
	DsLineFErr   = 10
	DsLoadErr    = 15
	DsMiscErr    = 11
	DsNoPackErr  = 17
	DsNoPk1      = 18
	DsNoPk2      = 19
	DsOvflowErr  = 6
	DsPrivErr    = 7
	DsTraceErr   = 8
	DsZeroDivErr = 4
)
View Source
const (
	WDEFNFnd                = 87
	DsDisassemblerInstalled = -11
	DsExtensionsDisabled    = -13
	DsGreeting              = 40
	DsMacsBugInstalled      = -10
	DsNoExtsDisassembler    = -2
	DsNoExtsMacsBug         = -1
	DsSysErr                = 32767
)
View Source
const (
	Ds32BitMode                       = 103
	DsBadPatch                        = 99
	DsBufPtrTooLow                    = 106
	DsCantHoldSystemHeap              = 114
	DsDirtyDisk                       = 20004
	DsForcedQuit                      = 20002
	DsGibblyMovedToDisabledFolder     = 117
	DsLostConnectionToNetworkDisk     = 121
	DsMBATAPISysError                 = 29203
	DsMBATASysError                   = 29202
	DsMBExternFlpySysError            = 29204
	DsMBFlpySysError                  = 29201
	DsMBSysError                      = 29200
	DsMacOSROMVersionTooOld           = 120
	DsMustUseFCBAccessors             = 119
	DsNeedToWriteBootBlocks           = 104
	DsNoFPU                           = 90
	DsNoPatch                         = 98
	DsNotEnoughRAMToBoot              = 105
	DsOldSystem                       = 102
	DsPCCardATASysError               = 29205
	DsParityErr                       = 101
	DsRAMDiskTooBig                   = 122
	DsReinsert                        = 30
	DsRemoveDisk                      = 20003
	DsSCSIWarn                        = 20010
	DsShutDownOrRestart               = 20000
	DsShutDownOrResume                = 20109
	DsSwitchOffOrRestart              = 20001
	DsSystemRequiresPowerPC           = 116
	DsUnBootableSystem                = 118
	DsVMBadBackingStore               = 113
	DsVMDeferredFuncTableFull         = 112
	DsWriteToSupervisorStackGuardPage = 128
	ShutDownAlert                     = 42
)
View Source
const (
	DsBadLaunch      = 26
	DsBadPatchHeader = 83
	DsBadSANEOpcode  = 81
	DsBadSlotInt     = 51
	DsCDEFNotFound   = 88
	DsFSErr          = 27
	DsFinderErr      = 41
	DsHMenuFindErr   = 86
	DsMBarNFnd       = 85
	DsMDEFNotFound   = 89
	DsMemFullErr     = 25
	DsNoPk3          = 20
	DsNoPk4          = 21
	DsNoPk5          = 22
	DsNoPk6          = 23
	DsNoPk7          = 24
	DsStknHeap       = 28
	DsWDEFNotFound   = 87
	MenuPrgErr       = 84
	NegZcbFreeErr    = 33
)
View Source
const (
	DrvQType  = 3
	DtQType   = 7
	DummyType = 0
	EvType    = 4
	FsQType   = 5
	IoQType   = 2
	NmType    = 8
	SIQType   = 6
	VType     = 1
)
View Source
const (
	DurationDay         = 86400000
	DurationForever     = 2147483647
	DurationHour        = 3600000
	DurationMicrosecond = -1
	DurationMillisecond = 1
	DurationMinute      = 60000
	DurationNoWait      = 0
	DurationSecond      = 1000
)
View Source
const (
	ELenErr   = -92
	EMultiErr = -91
)
View Source
const (
	BadEditionFileErr       = -453
	BadSectionErr           = -451
	BadSubPartErr           = -454
	ContainerAlreadyOpenWrn = -462
	ContainerNotFoundWrn    = -461
	EditionMgrInitErr       = -450
	MultiplePublisherWrn    = -460
	NotRegisteredSectionErr = -452
	NotThePublisherWrn      = -463
)
View Source
const (
	DayField        = 3
	DayOfWeekField  = 7
	DayOfYearField  = 8
	EraField        = 0
	HourField       = 4
	MinuteField     = 5
	MonthField      = 2
	PmField         = 10
	Res1Field       = 11
	Res2Field       = 12
	Res3Field       = 13
	SecondField     = 6
	WeekOfYearField = 9
	YearField       = 1
)
View Source
const (
	DateStdMask    = 127
	DayMask        = 8
	DayOfWeekMask  = 128
	DayOfYearMask  = 256
	EraMask        = 1
	HourMask       = 16
	MinuteMask     = 32
	MonthMask      = 4
	PmMask         = 1024
	SecondMask     = 64
	WeekOfYearMask = 512
	YearMask       = 2
)
View Source
const (
	ErrAEBadKeyForm        = -10002
	ErrAECantHandleClass   = -10010
	ErrAECantPutThatThere  = -10024
	ErrAECantSupplyType    = -10009
	ErrAECantUndo          = -10015
	ErrAEEventFailed       = -10000
	ErrAEInTransaction     = -10011
	ErrAEIndexTooLarge     = -10007
	ErrAELocalOnly         = -10016
	ErrAENoSuchTransaction = -10012
	ErrAENoUserSelection   = -10013
	ErrAENotASingleObject  = -10014
	ErrAENotAnElement      = -10008
	ErrAENotAnEnumMember   = -10023
	ErrAENotModifiable     = -10003
	ErrAEPrivilegeError    = -10004
	ErrAEPropertiesClash   = -10025
	ErrAEReadDenied        = -10005
	ErrAETypeError         = -10001
	ErrAEWriteDenied       = -10006
)
View Source
const (
	ErrAEAccessorNotFound       = -1723
	ErrAEBadListItem            = -1705
	ErrAEBadTestKey             = -1726
	ErrAEBufferTooSmall         = -1741
	ErrAEBuildSyntaxError       = -1740
	ErrAECoercionFail           = -1700
	ErrAECorruptData            = -1702
	ErrAEDescIsNull             = -1739
	ErrAEDescNotFound           = -1701
	ErrAEDuplicateHandler       = -1736
	ErrAEEmptyListContainer     = -1730
	ErrAEEventFiltered          = -1735
	ErrAEEventNotHandled        = -1708
	ErrAEHandlerNotFound        = -1717
	ErrAEIllegalIndex           = -1719
	ErrAEImpossibleRange        = -1720
	ErrAENegativeCount          = -1729
	ErrAENewerVersion           = -1706
	ErrAENoSuchLogical          = -1725
	ErrAENoSuchObject           = -1728
	ErrAENoUserInteraction      = -1713
	ErrAENotAEDesc              = -1704
	ErrAENotASpecialFunction    = -1714
	ErrAENotAnObjSpec           = -1727
	ErrAENotAppleEvent          = -1707
	ErrAEParamMissed            = -1715
	ErrAEReceiveEscapeCurrent   = -1734
	ErrAEReceiveTerminate       = -1733
	ErrAERecordingIsAlreadyOn   = -1732
	ErrAEReplyNotArrived        = -1718
	ErrAEReplyNotValid          = -1709
	ErrAEStreamAlreadyConverted = -1738
	ErrAEStreamBadNesting       = -1737
	ErrAETimeout                = -1712
	ErrAEUnknownAddressType     = -1716
	ErrAEUnknownObjectType      = -1731
	ErrAEUnknownSendMode        = -1710
	ErrAEWaitCanceled           = -1711
	ErrAEWrongDataType          = -1703
	ErrAEWrongNumberArgs        = -1721
)
View Source
const (
	ErrASCantCompareMoreThan32k    = -2721
	ErrASCantConsiderAndIgnore     = -2720
	ErrASIllegalFormalParameter    = -2761
	ErrASInconsistentNames         = -2780
	ErrASNoResultReturned          = -2763
	ErrASParameterNotForEvent      = -2762
	ErrASTerminologyNestingTooDeep = -2760
)
View Source
const (
	ErrCoreEndianDataDoesNotMatchFormat = -4942
	ErrCoreEndianDataTooLongForFormat   = -4941
	ErrCoreEndianDataTooShortForFormat  = -4940
)
View Source
const (
	ErrCppGeneral                = -32000
	ErrCppLastSystemDefinedError = -32020
	ErrCppLastUserDefinedError   = -32049
	ErrCppbad_alloc              = -32001
	ErrCppbad_cast               = -32002
	ErrCppbad_exception          = -32003
	ErrCppbad_typeid             = -32004
	ErrCppdomain_error           = -32006
	ErrCppinvalid_argument       = -32007
	ErrCppios_base_failure       = -32014
	ErrCpplength_error           = -32008
	ErrCpplogic_error            = -32005
	ErrCppout_of_range           = -32009
	ErrCppoverflow_error         = -32011
	ErrCpprange_error            = -32012
	ErrCppruntime_error          = -32010
	ErrCppunderflow_error        = -32013
)
View Source
const (
	ErrIAAllocationErr     = -5381
	ErrIABufferTooSmall    = -5384
	ErrIACanceled          = -5385
	ErrIAEndOfTextRun      = -5388
	ErrIAInvalidDocument   = -5386
	ErrIANoErr             = 0
	ErrIANoMoreItems       = -5383
	ErrIAParamErr          = -5382
	ErrIATextExtractionErr = -5387
	ErrIAUnknownErr        = -5380
)
View Source
const (
	ErrCorruptWindowDescription            = -5606
	ErrFloatingWindowsNotInitialized       = -5609
	ErrInvalidWindowProperty               = -5603
	ErrInvalidWindowPtr                    = -5600
	ErrInvalidWindowRef                    = -5600
	ErrUnrecognizedWindowClass             = -5605
	ErrUnsupportedWindowAttributesForClass = -5601
	ErrUserWantsToDragWindow               = -5607
	ErrWindowDoesNotFitOnscreen            = -5611
	ErrWindowDoesNotHaveProxy              = -5602
	ErrWindowDoesntSupportFocus            = -30583
	ErrWindowNotFound                      = -5610
	ErrWindowPropertyNotFound              = -5604
	ErrWindowRegionCodeInvalid             = -30593
	ErrWindowsAlreadyInitialized           = -5608
	WindowAppModalStateAlreadyExistsErr    = -5617
	WindowAttributeImmutableErr            = -5612
	WindowAttributesConflictErr            = -5613
	WindowGroupInvalidErr                  = -5616
	WindowManagerInternalErr               = -5614
	WindowNoAppModalStateErr               = -5618
	WindowWrongStateErr                    = -5615
)
View Source
const (
	ErrKCAuthFailed            = -25293
	ErrKCBufferTooSmall        = -25301
	ErrKCCreateChainFailed     = -25318
	ErrKCDataNotAvailable      = -25316
	ErrKCDataNotModifiable     = -25317
	ErrKCDataTooLarge          = -25302
	ErrKCDuplicateCallback     = -25297
	ErrKCDuplicateItem         = -25299
	ErrKCDuplicateKeychain     = -25296
	ErrKCInteractionNotAllowed = -25308
	ErrKCInteractionRequired   = -25315
	ErrKCInvalidCallback       = -25298
	ErrKCInvalidItemRef        = -25304
	ErrKCInvalidKeychain       = -25295
	ErrKCInvalidSearchRef      = -25305
	ErrKCItemNotFound          = -25300
	ErrKCKeySizeNotAllowed     = -25311
	ErrKCNoCertificateModule   = -25313
	ErrKCNoDefaultKeychain     = -25307
	ErrKCNoPolicyModule        = -25314
	ErrKCNoStorageModule       = -25312
	ErrKCNoSuchAttr            = -25303
	ErrKCNoSuchClass           = -25306
	ErrKCNoSuchKeychain        = -25294
	ErrKCNotAvailable          = -25291
	ErrKCReadOnly              = -25292
	ErrKCReadOnlyAttr          = -25309
	ErrKCWrongKCVersion        = -25310
)
View Source
const (
	ControlHandleInvalidErr      = -30599
	ControlInvalidDataVersionErr = -30597
	ControlPropertyInvalid       = -5603
	ControlPropertyNotFoundErr   = -5604
	ErrCantEmbedIntoSelf         = -30594
	ErrCantEmbedRoot             = -30595
	ErrControlDoesntSupportFocus = -30582
	ErrControlHiddenOrDisabled   = -30592
	ErrControlIsNotEmbedder      = -30590
	ErrControlsAlreadyExist      = -30589
	ErrCouldntSetFocus           = -30585
	ErrDataNotSupported          = -30581
	ErrDataSizeMismatch          = -30591
	ErrInvalidPartCode           = -30588
	ErrItemNotControl            = -30596
	ErrMessageNotSupported       = -30580
	ErrNoRootControl             = -30586
	ErrRootAlreadyExists         = -30587
	ErrUnknownControl            = -30584
)
View Source
const (
	ErrOSAAppNotHighLevelEventAware = -2704
	ErrOSACantAccess                = -1728
	ErrOSACantAssign                = -10006
	ErrOSACantCoerce                = -1700
	ErrOSACantCreate                = -2710
	ErrOSACantGetTerminology        = -2709
	ErrOSACantLaunch                = -2703
	ErrOSACorruptTerminology        = -2705
	ErrOSADataBlockTooLarge         = -2708
	ErrOSADivideByZero              = -2701
	ErrOSAGeneralError              = -2700
	ErrOSAInternalTableOverflow     = -2707
	ErrOSANumericOverflow           = -2702
	ErrOSAStackOverflow             = -2706
)
View Source
const (
	ErrOSABadSelector          = -1754
	ErrOSABadStorageType       = -1752
	ErrOSACantOpenComponent    = -1762
	ErrOSACantStorePointers    = -1763
	ErrOSAComponentMismatch    = -1761
	ErrOSACorruptData          = -1702
	ErrOSADataFormatObsolete   = -1758
	ErrOSADataFormatTooNew     = -1759
	ErrOSAInvalidID            = -1751
	ErrOSANoSuchDialect        = -1757
	ErrOSARecordingIsAlreadyOn = -1732
	ErrOSAScriptError          = -1753
	ErrOSASourceNotAvailable   = -1756
	ErrOSASystemError          = -1750
)
View Source
const (
	OSAControlFlowError         = -2755
	OSADuplicateHandler         = -2752
	OSADuplicateParameter       = -2750
	OSADuplicateProperty        = -2751
	OSAIllegalAccess            = -1723
	OSAIllegalAssign            = -10003
	OSAIllegalIndex             = -1719
	OSAIllegalRange             = -1720
	OSAInconsistentDeclarations = -2754
	OSAMessageNotUnderstood     = -1708
	OSAMissingParameter         = -1701
	OSAParameterMismatch        = -1721
	OSASyntaxError              = -2740
	OSASyntaxTypeError          = -2741
	OSATokenTooLong             = -2742
	OSAUndefinedHandler         = -1717
	OSAUndefinedVariable        = -2753
	ErrOSATypeError             = -1703
)
View Source
const (
	ErrEndOfBody             = -1813
	ErrEndOfDocument         = -1812
	ErrOffsetInvalid         = -1800
	ErrOffsetIsOutsideOfView = -1801
	ErrTopOfBody             = -1811
	ErrTopOfDocument         = -1810
)
View Source
const (
	ErrAborted      = -1279
	ErrAttention    = -1276
	ErrDSPQueueSize = -1274
	ErrFwdReset     = -1275
	ErrOpenDenied   = -1273
	ErrOpening      = -1277
	ErrRefNum       = -1280
	ErrState        = -1278
)
View Source
const (
	ErrAlreadyInImagingMode      = -5243
	ErrCannotUndo                = -5253
	ErrEmptyScrap                = -5249
	ErrEngineNotFound            = -5244
	ErrInvalidRange              = -5246
	ErrIteratorReachedEnd        = -5245
	ErrMarginWilllNotFit         = -5241
	ErrNoHiliteText              = -5248
	ErrNonContiuousAttribute     = -5252
	ErrNotInImagingMode          = -5242
	ErrOffsetNotOnElementBounday = -5247
	ErrReadOnlyText              = -5250
	ErrUnknownAttributeTag       = -5240
	ErrUnknownElement            = -5251
)
View Source
const (
	FBadPartsTable     = 10
	FBestGuess         = 1
	FEmptyFormatString = 13
	FExtraDecimal      = 5
	FExtraExp          = 7
	FExtraPercent      = 11
	FExtraSeparator    = 12
	FFormStrIsNAN      = 9
	FFormatOK          = 0
	FFormatOverflow    = 8
	FMissingDelimiter  = 4
	FMissingLiteral    = 6
	FOutOfSynch        = 2
	FSpuriousChars     = 3
)
View Source
const (
	FHasBundle = 8192
	FInvisible = 16384
	FOnDesk    = 1
)
View Source
const (
	FNegative = 1
	FPositive = 0
	FZero     = 2
)
View Source
const (
	FDesktop = -2
	FDisk    = 0
	FTrash   = -3
)
View Source
const (
	False32b = 0
	True32b  = 1
)
View Source
const (
	CantReadUtilities = 33280
	DateTimeInvalid   = 34816
	DateTimeNotFound  = 33792
	ExtraneousStrings = 16
	FatalDateTime     = 32768
	FieldOrderNotIntl = 8
	LeftOverChars     = 2
	LongDateFound     = 1
	SepNotConsistent  = 64
	SepNotIntlSep     = 4
	TokenErr          = 33024
	TooManySeps       = 32
)
View Source
const (
	BadFCBErr                       = -1327
	BadFidErr                       = -1307
	CatChangedErr                   = -1304
	DesktopDamagedErr               = -1305
	DiffVolErr                      = -1303
	EnvBadVers                      = -5501
	EnvNotPresent                   = -5500
	EnvVersTooBig                   = -5502
	ErrFSAttributeNotFound          = -1427
	ErrFSBadAllocFlags              = -1413
	ErrFSBadBuffer                  = -1403
	ErrFSBadFSRef                   = -1401
	ErrFSBadForkName                = -1402
	ErrFSBadForkRef                 = -1404
	ErrFSBadInfoBitmap              = -1405
	ErrFSBadItemCount               = -1418
	ErrFSBadIteratorFlags           = -1422
	ErrFSBadPosMode                 = -1412
	ErrFSBadSearchParams            = -1419
	ErrFSForkExists                 = -1421
	ErrFSForkNotFound               = -1409
	ErrFSIteratorNotFound           = -1423
	ErrFSIteratorNotSupported       = -1424
	ErrFSMissingCatInfo             = -1406
	ErrFSMissingName                = -1411
	ErrFSNameTooLong                = -1410
	ErrFSNoMoreItems                = -1417
	ErrFSNotAFolder                 = -1407
	ErrFSNotEnoughSpaceForOperation = -1429
	ErrFSOperationNotSupported      = -1426
	ErrFSPropertyNotValid           = -1428
	ErrFSQuotaExceeded              = -1425
	ErrFSRefsDifferent              = -1420
	ErrFSUnknownCall                = -1400
	FidExists                       = -1301
	FidNotFound                     = -1300
	FileBoundsErr                   = -1309
	FirstDskErr                     = -84
	FontDecError                    = -64
	FontNotDeclared                 = -65
	FontNotOutlineErr               = -32615
	FontSubErr                      = -66
	FsDataTooBigErr                 = -1310
	LastDskErr                      = -64
	NoDriveErr                      = -64
	NoNybErr                        = -66
	NotAFileErr                     = -1302
	NotARemountErr                  = -1308
	OffLinErr                       = -65
	SameFileErr                     = -1306
	VolVMBusyErr                    = -1311
)
View Source
const (
	BadProfileError        = -4008
	CantCreatePickerWindow = -4004
	CantLoadPackage        = -4005
	CantLoadPicker         = -4003
	ColorSyncNotInstalled  = -4007
	FirstPickerError       = -4000
	InvalidPickerType      = -4000
	NoHelpForItem          = -4009
	PickerCantLive         = -4006
	PickerResourceError    = -4002
	RequiredFlagsDontMatch = -4001
)
View Source
const (
	FsAtMark    = 0
	FsFromLEOF  = 2
	FsFromMark  = 3
	FsFromStart = 1
)
View Source
const (
	FsCurPerm    = 0
	FsRdPerm     = 1
	FsRdWrPerm   = 3
	FsRdWrShPerm = 4
	FsWrPerm     = 2
)
View Source
const (
	FsRdAccessPerm = 1
	FsRdDenyPerm   = 16
	FsWrAccessPerm = 2
	FsWrDenyPerm   = 32
)
View Source
const (
	FsRtDirID = 2
	FsRtParID = 1
)
View Source
const (
	FsSBAccessDate          = 131072
	FsSBAttributeModDate    = 65536
	FsSBDrBkDat             = 2048
	FsSBDrCrDat             = 512
	FsSBDrFndrInfo          = 4096
	FsSBDrMdDat             = 1024
	FsSBDrNmFls             = 16
	FsSBDrParID             = 8192
	FsSBDrUsrWds            = 8
	FsSBFlAttrib            = 4
	FsSBFlBkDat             = 2048
	FsSBFlCrDat             = 512
	FsSBFlFndrInfo          = 8
	FsSBFlLgLen             = 32
	FsSBFlMdDat             = 1024
	FsSBFlParID             = 8192
	FsSBFlPyLen             = 64
	FsSBFlRLgLen            = 128
	FsSBFlRPyLen            = 256
	FsSBFlXFndrInfo         = 4096
	FsSBFullName            = 2
	FsSBGroupID             = 4194304
	FsSBNegate              = 16384
	FsSBNodeID              = 32768
	FsSBPartialName         = 1
	FsSBPermissions         = 262144
	FsSBSkipHiddenItems     = 1048576
	FsSBSkipPackageContents = 524288
	FsSBUserID              = 2097152
)
View Source
const (
	FsSBAccessDateBit          = 17
	FsSBAttributeModDateBit    = 16
	FsSBDrBkDatBit             = 11
	FsSBDrCrDatBit             = 9
	FsSBDrFndrInfoBit          = 12
	FsSBDrMdDatBit             = 10
	FsSBDrNmFlsBit             = 4
	FsSBDrParIDBit             = 13
	FsSBDrUsrWdsBit            = 3
	FsSBFlAttribBit            = 2
	FsSBFlBkDatBit             = 11
	FsSBFlCrDatBit             = 9
	FsSBFlFndrInfoBit          = 3
	FsSBFlLgLenBit             = 5
	FsSBFlMdDatBit             = 10
	FsSBFlParIDBit             = 13
	FsSBFlPyLenBit             = 6
	FsSBFlRLgLenBit            = 7
	FsSBFlRPyLenBit            = 8
	FsSBFlXFndrInfoBit         = 12
	FsSBFullNameBit            = 1
	FsSBGroupIDBit             = 22
	FsSBNegateBit              = 14
	FsSBNodeIDBit              = 15
	FsSBPartialNameBit         = 0
	FsSBPermissionsBit         = 18
	FsSBSkipHiddenItemsBit     = 20
	FsSBSkipPackageContentsBit = 19
	FsSBUserIDBit              = 21
)
View Source
const (
	FsmBadFFSNameErr        = -433
	FsmBadFSDLenErr         = -434
	FsmBadFSDVersionErr     = -436
	FsmBusyFFSErr           = -432
	FsmDuplicateFSIDErr     = -435
	FsmFFSNotFoundErr       = -431
	FsmNoAlternateStackErr  = -437
	FsmUnknownFSMMessageErr = -438
)
View Source
const (
	GestaltAFPClient              = 1634103411
	GestaltAFPClient3_5           = 1
	GestaltAFPClient3_6           = 2
	GestaltAFPClient3_6_1         = 3
	GestaltAFPClient3_6_2         = 4
	GestaltAFPClient3_6_3         = 5
	GestaltAFPClient3_7           = 6
	GestaltAFPClient3_7_2         = 7
	GestaltAFPClient3_8           = 8
	GestaltAFPClient3_8_1         = 9
	GestaltAFPClient3_8_3         = 10
	GestaltAFPClient3_8_4         = 11
	GestaltAFPClientAttributeMask = -65536
	GestaltAFPClientCfgRsrc       = 16
	GestaltAFPClientMultiReq      = 31
	GestaltAFPClientSupportsIP    = 29
	GestaltAFPClientVMUI          = 30
	GestaltAFPClientVersionMask   = 65535
)
View Source
const (
	GestaltALMAttr               = 1953655152
	GestaltALMHasCFMSupport      = 2
	GestaltALMHasRescanNotifiers = 3
	GestaltALMHasSFGroup         = 1
	GestaltALMPresent            = 0
)
View Source
const (
	GestaltATAAttr    = 1635016992
	GestaltATAPresent = 0
)
View Source
const (
	GestaltATSUAscentDescentControlsFeature = 16
	GestaltATSUBatchBreakLinesFeature       = 16
	GestaltATSUBiDiCursorPositionFeature    = 32
	GestaltATSUByCharacterClusterFeature    = 16
	GestaltATSUDecimalTabFeature            = 32
	GestaltATSUDirectAccess                 = 16
	GestaltATSUDropShadowStyleFeature       = 32
	GestaltATSUFallbacksFeature             = 1
	GestaltATSUFallbacksObjFeatures         = 8
	GestaltATSUFeatures                     = 1969845094
	GestaltATSUGlyphBoundsFeature           = 1
	GestaltATSUHighlightColorControlFeature = 32
	GestaltATSUHighlightInactiveTextFeature = 16
	GestaltATSUIgnoreLeadingFeature         = 8
	GestaltATSULayoutCacheClearFeature      = 1
	GestaltATSULayoutCreateAndCopyFeature   = 1
	GestaltATSULineControlFeature           = 1
	GestaltATSULowLevelOrigFeatures         = 4
	GestaltATSUMemoryFeature                = 1
	GestaltATSUNearestCharLineBreakFeature  = 32
	GestaltATSUPositionToCursorFeature      = 16
	GestaltATSUStrikeThroughStyleFeature    = 32
	GestaltATSUTabSupportFeature            = 16
	GestaltATSUTextLocatorUsageFeature      = 2
	GestaltATSUTrackingFeature              = 1
	GestaltATSUUnderlineOptionsStyleFeature = 32
)
View Source
const (
	GestaltATSUUpdate1         = 131072
	GestaltATSUUpdate2         = 196608
	GestaltATSUUpdate3         = 262144
	GestaltATSUUpdate4         = 327680
	GestaltATSUUpdate5         = 393216
	GestaltATSUUpdate6         = 458752
	GestaltATSUUpdate7         = 524288
	GestaltATSUVersion         = 1969845110
	GestaltOriginalATSUVersion = 65536
)
View Source
const (
	GestaltAVLTreeAttr                       = 1953654117
	GestaltAVLTreePresentBit                 = 0
	GestaltAVLTreeSupportsHandleBasedTreeBit = 1
	GestaltAVLTreeSupportsTreeLockingBit     = 2
)
View Source
const (
	Gestalt32BitAddressing    = 0
	Gestalt32BitCapable       = 2
	Gestalt32BitSysZone       = 1
	GestaltAddressingModeAttr = 1633969266
)
View Source
const (
	GestaltAdminFeaturesFlagsAttr           = 1718773092
	GestaltFinderUsesSpecialOpenFoldersFile = 0
)
View Source
const (
	GestaltAliasMgrAttr                             = 1634494835
	GestaltAliasMgrFollowsAliasesWhenResolving      = 4
	GestaltAliasMgrPrefersPath                      = 7
	GestaltAliasMgrPresent                          = 0
	GestaltAliasMgrRequiresAccessors                = 8
	GestaltAliasMgrResolveAliasFileWithMountOptions = 3
	GestaltAliasMgrSupportsAOCEKeychain             = 2
	GestaltAliasMgrSupportsExtendedCalls            = 5
	GestaltAliasMgrSupportsFSCalls                  = 6
	GestaltAliasMgrSupportsRemoteAppletalk          = 1
)
View Source
const (
	GestaltAppearanceAttr       = 1634758770
	GestaltAppearanceCompatMode = 1
	GestaltAppearanceExists     = 0
)
View Source
const (
	GestaltAppleEventsAttr        = 1702260340
	GestaltAppleEventsPresent     = 0
	GestaltOSLInSystem            = 2
	GestaltScriptingSupport       = 1
	GestaltSupportsApplicationURL = 4
)
View Source
const (
	GestaltAppleScriptAttr           = 1634952050
	GestaltAppleScriptPowerPCSupport = 1
	GestaltAppleScriptPresent        = 0
)
View Source
const (
	GestaltArbitorAttr             = 1634886176
	GestaltSerialArbitrationExists = 0
)
View Source
const (
	GestaltCFM99Present     = 2
	GestaltCFM99PresentMask = 4
	GestaltCFMAttr          = 1667658343
	GestaltCFMPresent       = 0
	GestaltCFMPresentMask   = 1
)
View Source
const (
	GestaltCPU486        = 1765029942
	GestaltCPUPentium    = 1765095478
	GestaltCPUPentium4   = 1765108086
	GestaltCPUPentiumII  = 1765108073
	GestaltCPUPentiumPro = 1765109874
	GestaltCPUX86        = 1769502840
)
View Source
const (
	GestaltCPUARM64     = 1635268148
	GestaltCPUARMFamily = 1634888992
)
View Source
const (
	GestaltCPU750FX  = 288
	GestaltCPU970    = 313
	GestaltCPU970FX  = 316
	GestaltCPU970MP  = 324
	GestaltCPUApollo = 273
	GestaltCPUG47447 = 274
)
View Source
const (
	GestaltCRMAttr          = 1668443424
	GestaltCRMPersistentFix = 1
	GestaltCRMPresent       = 0
	GestaltCRMToolRsrcCalls = 2
)
View Source
const (
	GestaltCloseViewAttr               = 1112753249
	GestaltCloseViewDisplayMgrFriendly = 1
	GestaltCloseViewEnabled            = 0
)
View Source
const (
	GestaltColorMatchingAttr      = 1668117601
	GestaltColorMatchingLibLoaded = 1
	GestaltHighLevelMatching      = 0
)
View Source
const (
	GestaltColorMatchingVersion = 1668117603
	GestaltColorSync10          = 256
	GestaltColorSync104         = 260
	GestaltColorSync105         = 261
	GestaltColorSync11          = 272
	GestaltColorSync20          = 512
	GestaltColorSync21          = 528
	GestaltColorSync211         = 529
	GestaltColorSync212         = 530
	GestaltColorSync213         = 531
	GestaltColorSync25          = 592
	GestaltColorSync26          = 608
	GestaltColorSync261         = 609
	GestaltColorSync30          = 768
)
View Source
const (
	GestaltColorPicker        = 1668311922
	GestaltColorPickerVersion = 1668311922
)
View Source
const (
	GestaltComponentMgr      = 1668312692
	GestaltComponentPlatform = 1668247660
)
View Source
const (
	GestaltConnMgrAttr         = 1668247150
	GestaltConnMgrCMSearchFix  = 1
	GestaltConnMgrErrorString  = 2
	GestaltConnMgrMultiAsyncIO = 3
	GestaltConnMgrPresent      = 0
)
View Source
const (
	GestaltControlMgrAttr        = 1668183148
	GestaltControlMgrPresent     = 1
	GestaltControlMgrPresentBit  = 0
	GestaltControlMsgPresentMask = 1
)
View Source
const (
	GestaltControlStripAttr         = 1935959414
	GestaltControlStripExists       = 0
	GestaltControlStripUserFont     = 2
	GestaltControlStripUserHotKey   = 3
	GestaltControlStripVersionFixed = 1
)
View Source
const (
	GestaltDBAccessMgrAttr    = 1684169059
	GestaltDBAccessMgrPresent = 0
)
View Source
const (
	GestaltDITLExtAttr         = 1684632684
	GestaltDITLExtPresent      = 0
	GestaltDITLExtSupportsIctb = 1
)
View Source
const (
	GestaltDTPFeatures      = 1685352550
	KDTPThirdPartySupported = 4
)
View Source
const (
	GestaltDesktopPicturesAttr      = 1684762744
	GestaltDesktopPicturesDisplayed = 1
	GestaltDesktopPicturesInstalled = 0
)
View Source
const (
	GestaltDialogMgrAttr             = 1684828007
	GestaltDialogMgrHasAquaAlertBit  = 2
	GestaltDialogMgrHasAquaAlertMask = 4
	GestaltDialogMgrPresent          = 1
	GestaltDialogMgrPresentBit       = 0
	GestaltDialogMgrPresentMask      = 1
	GestaltDialogMsgPresentMask      = 1
)
View Source
const (
	GestaltDictionaryMgrAttr    = 1684628340
	GestaltDictionaryMgrPresent = 0
)
View Source
const (
	GestaltDisplayMgrAttr              = 1685089401
	GestaltDisplayMgrCanConfirm        = 4
	GestaltDisplayMgrCanSwitchMirrored = 2
	GestaltDisplayMgrColorSyncAware    = 5
	GestaltDisplayMgrGeneratesProfiles = 6
	GestaltDisplayMgrPresent           = 0
	GestaltDisplayMgrSetDepthNotifies  = 3
	GestaltDisplayMgrSleepNotifies     = 7
)
View Source
const (
	GestaltCanStartDragInFloatWindow = 4
	GestaltDragMgrAttr               = 1685217639
	GestaltDragMgrFloatingWind       = 1
	GestaltDragMgrHasImageSupport    = 3
	GestaltDragMgrPresent            = 0
	GestaltPPCDragLibPresent         = 2
	GestaltSetDragImageUpdates       = 5
)
View Source
const (
	GestaltEasyAccessAttr   = 1700885369
	GestaltEasyAccessLocked = 3
	GestaltEasyAccessOff    = 0
	GestaltEasyAccessOn     = 1
	GestaltEasyAccessSticky = 2
)
View Source
const (
	GestaltEditionMgrAttr             = 1701082222
	GestaltEditionMgrPresent          = 0
	GestaltEditionMgrTranslationAware = 1
)
View Source
const (
	GestaltFBCIndexingState    = 1717724009
	GestaltFBCindexingCritical = 1
	GestaltFBCindexingSafe     = 0
)
View Source
const (
	GestaltFBCCurrentVersion    = 17
	GestaltFBCVersion           = 1717724022
	GestaltOSXFBCCurrentVersion = 256
)
View Source
const (
	Gestalt68040FPU = 3
	Gestalt68881    = 1
	Gestalt68882    = 2
	GestaltFPUType  = 1718646048
	GestaltNoFPU    = 0
)
View Source
const (
	GestaltDTMgrSupportsFSM      = 7
	GestaltFSAttr                = 1718820896
	GestaltFSIncompatibleDFA82   = 10
	GestaltFSMDoesDynamicLoad    = 3
	GestaltFSNoMFSVols           = 8
	GestaltFSSupports2TBVols     = 5
	GestaltFSSupports4GBVols     = 4
	GestaltFSSupportsHFSPlusVols = 9
	GestaltFullExtFSDispatching  = 0
	GestaltHasExtendedDiskInit   = 6
	GestaltHasFSSpecCalls        = 1
	GestaltHasFileSystemManager  = 2
)
View Source
const (
	GestaltFXfrMgrAsync       = 3
	GestaltFXfrMgrAttr        = 1719166578
	GestaltFXfrMgrErrorString = 2
	GestaltFXfrMgrMultiFile   = 1
	GestaltFXfrMgrPresent     = 0
)
View Source
const (
	GestaltFileMappingAttr             = 1718381936
	GestaltFileMappingMultipleFilesFix = 1
	GestaltFileMappingPresent          = 0
)
View Source
const (
	GestaltFindFolderAttr                       = 1718578276
	GestaltFindFolderPresent                    = 0
	GestaltFolderDescSupport                    = 1
	GestaltFolderMgrFollowsAliasesWhenResolving = 2
	GestaltFolderMgrSupportsDomains             = 4
	GestaltFolderMgrSupportsExtendedCalls       = 3
	GestaltFolderMgrSupportsFSCalls             = 5
)
View Source
const (
	GestaltFinderAttr                               = 1718510706
	GestaltFinderCallsAEProcess                     = 2
	GestaltFinderDropEvent                          = 0
	GestaltFinderFloppyRootComments                 = 8
	GestaltFinderFullDragManagerSupport             = 7
	GestaltFinderHasClippings                       = 6
	GestaltFinderLargeAndNotSavedFlavorsOK          = 9
	GestaltFinderMagicPlacement                     = 1
	GestaltFinderSupports4GBVolumes                 = 4
	GestaltFinderUnderstandsRedirectedDesktopFolder = 11
	GestaltFinderUsesExtensibleFolderManager        = 10
	GestaltOSLCompliantFinder                       = 3
)
View Source
const (
	GestaltFloppyAttr            = 1718382713
	GestaltFloppyIsMFMOnly       = 0
	GestaltFloppyIsManualEject   = 1
	GestaltFloppyUsesDiskInPlace = 2
)
View Source
const (
	GestaltFontMgrAttr  = 1718578804
	GestaltOutlineFonts = 0
)
View Source
const (
	GestaltGraphicsAttr        = 1734768737
	GestaltGraphicsIsDebugging = 1
	GestaltGraphicsIsLoaded    = 2
	GestaltGraphicsIsPowerPC   = 4
)
View Source
const (
	GestaltCurrentGraphicsVersion = 66048
	GestaltGraphicsVersion        = 1735550584
)
View Source
const (
	GestaltHardwareAttr     = 1751414642
	GestaltHasASC           = 3
	GestaltHasEnhancedLtalk = 30
	GestaltHasSCC           = 4
	GestaltHasSCSI          = 7
	GestaltHasSCSI961       = 21
	GestaltHasSCSI962       = 22
	GestaltHasSoftPowerOff  = 19
	GestaltHasUniversalROM  = 24
	GestaltHasVIA1          = 0
	GestaltHasVIA2          = 1
)
View Source
const (
	GestaltHardwareVendorApple = 1097887852
	GestaltHardwareVendorCode  = 1752326500
)
View Source
const (
	GestaltFSAllowsConcurrentAsyncIO     = 17
	GestaltFSSupportsExclusiveLocks      = 15
	GestaltFSSupportsHardLinkDetection   = 16
	GestaltFSUsesPOSIXPathsForConversion = 14
	GestaltHasHFSPlusAPIs                = 12
	GestaltMustUseFCBAccessors           = 13
)
View Source
const (
	GestaltHasSingleWindowModeBit  = 8
	GestaltHasSingleWindowModeMask = 256
)
View Source
const (
	GestaltAppleGuideIsDebug = 30
	GestaltAppleGuidePresent = 31
	GestaltHelpMgrAttr       = 1751477360
	GestaltHelpMgrExtensions = 1
	GestaltHelpMgrPresent    = 0
)
View Source
const (
	GestaltIconUtilitiesAttr             = 1768124270
	GestaltIconUtilitiesHas32BitIcons    = 2
	GestaltIconUtilitiesHas48PixelIcons  = 1
	GestaltIconUtilitiesHas8BitDeepMasks = 3
	GestaltIconUtilitiesHasIconServices  = 4
	GestaltIconUtilitiesPresent          = 0
)
View Source
const (
	GestaltADBISOKbdII          = 11
	GestaltADBKbdII             = 10
	GestaltAppleAdjustADBKbd    = 15
	GestaltAppleAdjustISOKbd    = 16
	GestaltAppleAdjustKeypad    = 14
	GestaltExtADBKbd            = 4
	GestaltExtISOADBKbd         = 9
	GestaltJapanAdjustADBKbd    = 17
	GestaltKeyboardType         = 1801610272
	GestaltMacAndPad            = 2
	GestaltMacKbd               = 1
	GestaltMacPlusKbd           = 3
	GestaltPS2Keyboard          = 27
	GestaltPortableUSBANSIKbd   = 37
	GestaltPortableUSBISOKbd    = 38
	GestaltPortableUSBJISKbd    = 39
	GestaltPrtblADBKbd          = 6
	GestaltPrtblISOKbd          = 7
	GestaltPwrBk99JISKbd        = 201
	GestaltPwrBkEKDomKbd        = 195
	GestaltPwrBkEKISOKbd        = 196
	GestaltPwrBkEKJISKbd        = 197
	GestaltPwrBkExtADBKbd       = 24
	GestaltPwrBkExtISOKbd       = 20
	GestaltPwrBkExtJISKbd       = 21
	GestaltPwrBkSubDomKbd       = 28
	GestaltPwrBkSubISOKbd       = 29
	GestaltPwrBkSubJISKbd       = 30
	GestaltPwrBookADBKbd        = 12
	GestaltPwrBookISOADBKbd     = 13
	GestaltStdADBKbd            = 5
	GestaltStdISOADBKbd         = 8
	GestaltThirdPartyANSIKbd    = 40
	GestaltThirdPartyISOKbd     = 41
	GestaltThirdPartyJISKbd     = 42
	GestaltUSBAndyANSIKbd       = 204
	GestaltUSBAndyISOKbd        = 205
	GestaltUSBAndyJISKbd        = 206
	GestaltUSBCosmoANSIKbd      = 198
	GestaltUSBCosmoISOKbd       = 199
	GestaltUSBCosmoJISKbd       = 200
	GestaltUnknownThirdPartyKbd = 3
)
View Source
const (
	Gestalt68030MMU = 3
	Gestalt68040MMU = 4
	Gestalt68851    = 2
	GestaltAMU      = 1
	GestaltEMMU1    = 5
	GestaltMMUType  = 1835889952
	GestaltNoMMU    = 0
)
View Source
const (
	GestaltMPCallableAPIsAttr = 1836086115
	GestaltMPDeviceManager    = 1
	GestaltMPFileManager      = 0
	GestaltMPTrapCalls        = 2
)
View Source
const (
	GestaltMacOSCompatibilityBoxAttr      = 1650618232
	GestaltMacOSCompatibilityBoxHasSerial = 1
	GestaltMacOSCompatibilityBoxPresent   = 0
	GestaltMacOSCompatibilityBoxless      = 2
)
View Source
const (
	Gestalt20thAnniversary        = 512
	GestaltAWS6150_60             = 75
	GestaltAWS6150_66             = 100
	GestaltAWS8150_110            = 40
	GestaltAWS8150_80             = 65
	GestaltAWS8550                = 68
	GestaltAWS9150_120            = 57
	GestaltAWS9150_80             = 39
	GestaltClassic                = 1
	GestaltClassicII              = 23
	GestaltMac512KE               = 3
	GestaltMacCentris610          = 52
	GestaltMacCentris650          = 30
	GestaltMacCentris660AV        = 60
	GestaltMacClassic             = 17
	GestaltMacColorClassic        = 49
	GestaltMacII                  = 6
	GestaltMacIIci                = 11
	GestaltMacIIcx                = 8
	GestaltMacIIfx                = 13
	GestaltMacIIsi                = 18
	GestaltMacIIvi                = 44
	GestaltMacIIvm                = 45
	GestaltMacIIvx                = 48
	GestaltMacIIx                 = 7
	GestaltMacLC                  = 19
	GestaltMacLC475               = 89
	GestaltMacLC520               = 56
	GestaltMacLC575               = 92
	GestaltMacLC580               = 99
	GestaltMacLCII                = 37
	GestaltMacLCIII               = 27
	GestaltMacOSCompatibility     = 1206
	GestaltMacPlus                = 4
	GestaltMacQuadra605           = 94
	GestaltMacQuadra610           = 53
	GestaltMacQuadra630           = 98
	GestaltMacQuadra650           = 36
	GestaltMacQuadra660AV         = 60
	GestaltMacQuadra700           = 22
	GestaltMacQuadra800           = 35
	GestaltMacQuadra840AV         = 78
	GestaltMacQuadra900           = 20
	GestaltMacQuadra950           = 26
	GestaltMacSE                  = 5
	GestaltMacSE030               = 9
	GestaltMacTV                  = 88
	GestaltMacXL                  = 2
	GestaltMachineType            = 1835098984
	GestaltPerforma250            = 49
	GestaltPerforma450            = 27
	GestaltPerforma46x            = 62
	GestaltPerforma47x            = 89
	GestaltPerforma5300           = 41
	GestaltPerforma550            = 80
	GestaltPerforma580            = 99
	GestaltPerforma600            = 45
	GestaltPerforma6300           = 42
	GestaltPerforma6360           = 58
	GestaltPerforma6400           = 58
	GestaltPortable               = 10
	GestaltPowerBook100           = 24
	GestaltPowerBook140           = 25
	GestaltPowerBook1400          = 310
	GestaltPowerBook145           = 54
	GestaltPowerBook150           = 115
	GestaltPowerBook160           = 34
	GestaltPowerBook165           = 84
	GestaltPowerBook165c          = 50
	GestaltPowerBook170           = 21
	GestaltPowerBook180           = 33
	GestaltPowerBook180c          = 71
	GestaltPowerBook190           = 85
	GestaltPowerBook2400          = 307
	GestaltPowerBook3400          = 306
	GestaltPowerBook500PPCUpgrade = 126
	GestaltPowerBook520           = 72
	GestaltPowerBook520c          = 72
	GestaltPowerBook5300          = 128
	GestaltPowerBook540           = 72
	GestaltPowerBook540c          = 72
	GestaltPowerBookDuo210        = 29
	GestaltPowerBookDuo230        = 32
	GestaltPowerBookDuo2300       = 124
	GestaltPowerBookDuo250        = 38
	GestaltPowerBookDuo270c       = 77
	GestaltPowerBookDuo280        = 102
	GestaltPowerBookDuo280c       = 103
	GestaltPowerBookG3            = 313
	GestaltPowerBookG3Series      = 312
	GestaltPowerBookG3Series2     = 314
	GestaltPowerMac4400           = 515
	GestaltPowerMac4400_160       = 514
	GestaltPowerMac5200           = 41
	GestaltPowerMac5260           = 41
	GestaltPowerMac5400           = 74
	GestaltPowerMac5500           = 512
	GestaltPowerMac6100_60        = 75
	GestaltPowerMac6100_66        = 100
	GestaltPowerMac6200           = 42
	GestaltPowerMac6400           = 58
	GestaltPowerMac6500           = 513
	GestaltPowerMac7100_66        = 112
	GestaltPowerMac7100_80        = 47
	GestaltPowerMac7200           = 108
	GestaltPowerMac7300           = 109
	GestaltPowerMac7500           = 68
	GestaltPowerMac7600           = 68
	GestaltPowerMac8100_100       = 55
	GestaltPowerMac8100_110       = 40
	GestaltPowerMac8100_120       = 12
	GestaltPowerMac8100_80        = 65
	GestaltPowerMac8500           = 69
	GestaltPowerMac8600           = 69
	GestaltPowerMac9500           = 67
	GestaltPowerMac9600           = 67
	GestaltPowerMacCentris610     = 119
	GestaltPowerMacCentris650     = 120
	GestaltPowerMacG3             = 510
	GestaltPowerMacLC475          = 104
	GestaltPowerMacLC575          = 105
	GestaltPowerMacLC630          = 106
	GestaltPowerMacNewWorld       = 406
	GestaltPowerMacPerforma47x    = 104
	GestaltPowerMacPerforma57x    = 105
	GestaltPowerMacPerforma63x    = 106
	GestaltPowerMacQuadra610      = 121
	GestaltPowerMacQuadra630      = 106
	GestaltPowerMacQuadra650      = 122
	GestaltPowerMacQuadra700      = 116
	GestaltPowerMacQuadra800      = 123
	GestaltPowerMacQuadra900      = 117
	GestaltPowerMacQuadra950      = 118
)
View Source
const (
	GestaltMBLegacy       = 0
	GestaltMBMultipleBays = 2
	GestaltMBSingleBay    = 1
	GestaltMediaBay       = 1835165032
)
View Source
const (
	GestaltMemoryMapAttr   = 1835884912
	GestaltMemoryMapSparse = 0
)
View Source
const (
	GestaltMenuMgrAquaLayoutBit                  = 1
	GestaltMenuMgrAquaLayoutMask                 = 2
	GestaltMenuMgrAttr                           = 1835363957
	GestaltMenuMgrCGImageMenuTitleBit            = 6
	GestaltMenuMgrCGImageMenuTitleMask           = 64
	GestaltMenuMgrMoreThanFiveMenusDeepBit       = 5
	GestaltMenuMgrMoreThanFiveMenusDeepMask      = 32
	GestaltMenuMgrMultipleItemsWithCommandIDBit  = 2
	GestaltMenuMgrMultipleItemsWithCommandIDMask = 4
	GestaltMenuMgrPresent                        = 1
	GestaltMenuMgrPresentBit                     = 0
	GestaltMenuMgrPresentMask                    = 1
	GestaltMenuMgrRetainsIconRefBit              = 3
	GestaltMenuMgrRetainsIconRefMask             = 8
	GestaltMenuMgrSendsMenuBoundsToDefProcBit    = 4
	GestaltMenuMgrSendsMenuBoundsToDefProcMask   = 16
)
View Source
const (
	GestaltMiscAttr          = 1835627363
	GestaltScrollingThrottle = 0
	GestaltSquareMenuBar     = 2
)
View Source
const (
	GestaltMixedModeAttr           = 1835628644
	GestaltMixedModeCFM68K         = 1
	GestaltMixedModeCFM68KHasState = 3
	GestaltMixedModeCFM68KHasTrap  = 2
	GestaltMixedModePowerPC        = 0
	GestaltPowerPCAware            = 0
)
View Source
const (
	GestaltCPU601          = 257
	GestaltCPU603          = 259
	GestaltCPU603e         = 262
	GestaltCPU603ev        = 263
	GestaltCPU604          = 260
	GestaltCPU604e         = 265
	GestaltCPU604ev        = 266
	GestaltCPU68000        = 0
	GestaltCPU68010        = 1
	GestaltCPU68020        = 2
	GestaltCPU68030        = 3
	GestaltCPU68040        = 4
	GestaltCPU750          = 264
	GestaltCPUG4           = 268
	GestaltCPUG47450       = 272
	GestaltNativeCPUfamily = 1668314470
	GestaltNativeCPUtype   = 1668314484
)
View Source
const (
	GestaltNotificationMgrAttr = 1852663666
	GestaltNotificationPresent = 0
)
View Source
const (
	GestaltOCESFServerAvailable     = 4
	GestaltOCETBAvailable           = 2
	GestaltOCETBNativeGlueAvailable = 16
	GestaltOCETBPresent             = 1
	GestaltOCEToolboxAttr           = 1868785013
)
View Source
const (
	GestaltOCETB             = 258
	GestaltOCEToolboxVersion = 1868785012
	GestaltSFServer          = 256
)
View Source
const (
	GestaltAltivecRegistersSwappedCorrectlyBit = 20
	GestaltIPCSupport                          = 7
	GestaltLaunchCanReturn                     = 1
	GestaltLaunchControl                       = 3
	GestaltLaunchFullFileSpec                  = 2
	GestaltNativeProcessMgrBit                 = 19
	GestaltOSAttr                              = 1869815840
	GestaltRealTempMemory                      = 5
	GestaltSysDebuggerSupport                  = 8
	GestaltSysZoneGrowable                     = 0
	GestaltTempMemSupport                      = 4
	GestaltTempMemTracked                      = 6
)
View Source
const (
	GestaltOpenTpt                     = 1869898094
	GestaltOpenTptAppleTalkLoadedBit   = 3
	GestaltOpenTptAppleTalkLoadedMask  = 8
	GestaltOpenTptAppleTalkPresentBit  = 2
	GestaltOpenTptAppleTalkPresentMask = 4
	GestaltOpenTptIPXSPXLoadedBit      = 7
	GestaltOpenTptIPXSPXLoadedMask     = 128
	GestaltOpenTptIPXSPXPresentBit     = 6
	GestaltOpenTptIPXSPXPresentMask    = 64
	GestaltOpenTptLoadedBit            = 1
	GestaltOpenTptLoadedMask           = 2
	GestaltOpenTptPresentBit           = 0
	GestaltOpenTptPresentMask          = 1
	GestaltOpenTptTCPLoadedBit         = 5
	GestaltOpenTptTCPLoadedMask        = 32
	GestaltOpenTptTCPPresentBit        = 4
	GestaltOpenTptTCPPresentMask       = 16
)
View Source
const (
	GestaltOpenTptNetworkSetup                    = 1869898598
	GestaltOpenTptNetworkSetupLegacyExport        = 1
	GestaltOpenTptNetworkSetupLegacyImport        = 0
	GestaltOpenTptNetworkSetupSupportsMultihoming = 2
)
View Source
const (
	GestaltOpenTptARAPPresent            = 6
	GestaltOpenTptPPPPresent             = 5
	GestaltOpenTptRemoteAccess           = 1869902433
	GestaltOpenTptRemoteAccessClientOnly = 2
	GestaltOpenTptRemoteAccessLoaded     = 1
	GestaltOpenTptRemoteAccessMPServer   = 4
	GestaltOpenTptRemoteAccessPServer    = 3
	GestaltOpenTptRemoteAccessPresent    = 0
)
View Source
const (
	GestaltCardServicesPresent   = 0
	GestaltPCCard                = 1885561700
	GestaltPCCardFamilyPresent   = 1
	GestaltPCCardHasPowerControl = 2
	GestaltPCCardSupportsCardBus = 3
)
View Source
const (
	GestaltPCXAttr            = 1885567079
	GestaltPCXHas8and16BitFAT = 0
	GestaltPCXHasProDOS       = 1
	GestaltPCXNewUI           = 2
	GestaltPCXUseICMapping    = 3
)
View Source
const (
	GestaltPPCSupportsIncoming          = 1
	GestaltPPCSupportsIncomingAppleTalk = 16
	GestaltPPCSupportsIncomingTCP_IP    = 32
	GestaltPPCSupportsOutGoing          = 2
	GestaltPPCSupportsOutgoingAppleTalk = 256
	GestaltPPCSupportsOutgoingTCP_IP    = 512
	GestaltPPCSupportsRealTime          = 4096
	GestaltPPCSupportsTCP_IP            = 4
	GestaltPPCToolboxAttr               = 1886413600
	GestaltPPCToolboxPresent            = 0
)
View Source
const (
	GestaltHasParityCapability = 0
	GestaltParityAttr          = 1886549113
	GestaltParityEnabled       = 1
)
View Source
const (
	GestaltPopupAttr    = 1886351393
	GestaltPopupPresent = 0
)
View Source
const (
	GestaltPortable2001ANSIKbd = 202
	GestaltPortable2001ISOKbd  = 203
	GestaltPortable2001JISKbd  = 207
)
View Source
const (
	GestaltPMgrCPUIdle                         = 1
	GestaltPMgrDispatchExists                  = 4
	GestaltPMgrExists                          = 0
	GestaltPMgrSCC                             = 2
	GestaltPMgrSound                           = 3
	GestaltPMgrSupportsAVPowerStateAtSleepWake = 5
	GestaltPowerMgrAttr                        = 1886353266
)
View Source
const (
	GestaltPowerPCASArchitecture            = 8
	GestaltPowerPCHas64BitSupport           = 6
	GestaltPowerPCHasDCBAInstruction        = 3
	GestaltPowerPCHasDCBTStreams            = 7
	GestaltPowerPCHasDataStreams            = 5
	GestaltPowerPCHasGraphicsInstructions   = 0
	GestaltPowerPCHasSTFIWXInstruction      = 1
	GestaltPowerPCHasSquareRootInstructions = 2
	GestaltPowerPCHasVectorInstructions     = 4
	GestaltPowerPCIgnoresDCBST              = 9
	GestaltPowerPCProcessorFeatures         = 1886413670
)
View Source
const (
	Gestalt68000         = 1
	Gestalt68010         = 2
	Gestalt68020         = 3
	Gestalt68030         = 4
	Gestalt68040         = 5
	GestaltProcessorType = 1886547811
)
View Source
const (
	GestaltQD3D        = 1902392164
	GestaltQD3DPresent = 0
)
View Source
const (
	GestaltQD3DViewer        = 1899198051
	GestaltQD3DViewerPresent = 0
)
View Source
const (
	GestaltAntiAliasedTextAvailable = 2
	GestaltCanUseCGTextRendering    = 6
	GestaltCreatesAliasFontRsrc     = 4
	GestaltNativeType1FontSupport   = 5
	GestaltOFA2available            = 3
	GestaltQDTextFeatures           = 1902408806
	GestaltSbitFontSupport          = 1
	GestaltWSIISupport              = 0
)
View Source
const (
	GestaltAllegroQDText  = 256
	GestaltMacOSXQDText   = 512
	GestaltOriginalQDText = 0
	GestaltQDTextVersion  = 1902408824
)
View Source
const (
	GestaltQTVRCubicPanosPresent    = 3
	GestaltQTVRCylinderPanosPresent = 2
	GestaltQTVRMgrAttr              = 1903457906
	GestaltQTVRMgrPresent           = 0
	GestaltQTVRObjMoviesPresent     = 1
)
View Source
const (
	GestaltQuadra605   = 94
	GestaltQuadra610   = 53
	GestaltQuadra630   = 98
	GestaltQuadra650   = 36
	GestaltQuadra660AV = 60
	GestaltQuadra700   = 22
	GestaltQuadra800   = 35
	GestaltQuadra840AV = 78
	GestaltQuadra900   = 20
	GestaltQuadra950   = 26
)
View Source
const (
	GestaltPPCQuickTimeLibPresent = 0
	GestaltQuickTimeFeatures      = 1903456883
)
View Source
const (
	GestaltQuickTimeThreadSafeFeaturesAttr   = 1903457384
	GestaltQuickTimeThreadSafeGraphicsExport = 5
	GestaltQuickTimeThreadSafeGraphicsImport = 4
	GestaltQuickTimeThreadSafeICM            = 0
	GestaltQuickTimeThreadSafeMovieExport    = 3
	GestaltQuickTimeThreadSafeMovieImport    = 2
	GestaltQuickTimeThreadSafeMoviePlayback  = 6
	GestaltQuickTimeThreadSafeMovieToolbox   = 1
)
View Source
const (
	GestaltQuickTime        = 1903454573
	GestaltQuickTimeVersion = 1903454573
)
View Source
const (
	GestaltHasColor          = 0
	GestaltHasDeepGWorlds    = 1
	GestaltHasDirectPixMaps  = 2
	GestaltHasGrayishTextOr  = 3
	GestaltQDHasLongRowBytes = 5
	GestaltQuickdrawFeatures = 1902408311
	GestaltSupportsMirroring = 4
)
View Source
const (
	Gestalt32BitQD          = 512
	Gestalt32BitQD11        = 513
	Gestalt32BitQD12        = 544
	Gestalt32BitQD13        = 560
	Gestalt8BitQD           = 256
	GestaltAllegroQD        = 592
	GestaltMacOSXQD         = 768
	GestaltOriginalQD       = 0
	GestaltQuickdrawVersion = 1902387232
)
View Source
const (
	GestaltRealtimeMgrAttr    = 1920232818
	GestaltRealtimeMgrPresent = 0
)
View Source
const (
	GestaltHasResourceOverrides = 1
	GestaltPartialRsrcs         = 0
	GestaltResourceMgrAttr      = 1920168547
)
View Source
const (
	GestaltRMFakeAppleMenuItemsRolledIn          = 1
	GestaltRMForceSysHeapRolledIn                = 0
	GestaltRMSupportsFSCalls                     = 4
	GestaltRMTypeIndexOrderingReverse            = 8
	GestaltResourceMgrBugFixesAttrs              = 1919771239
	GestaltSanityCheckResourceFiles              = 2
	GestaltSupportsFSpResourceFileAlreadyOpenBit = 3
)
View Source
const (
	GestaltAsyncSCSI      = 0
	GestaltAsyncSCSIINROM = 1
	GestaltSCSI           = 1935897449
	GestaltSCSIPollSIH    = 3
	GestaltSCSISlotBoot   = 2
)
View Source
const (
	GestaltFileAllocationZeroedBlocksBit   = 4
	GestaltInitHeapZerosOutHeapsBit        = 1
	GestaltNewHandleReturnsZeroedMemoryBit = 2
	GestaltNewPtrReturnsZeroedMemoryBit    = 3
	GestaltSafeOFAttr                      = 1935763045
	GestaltVMZerosPagesBit                 = 0
)
View Source
const (
	GestaltScrapMgrAttr             = 1935897185
	GestaltScrapMgrTranslationAware = 0
)
View Source
const (
	GestaltScreenCaptureDir  = 1885954866
	GestaltScreenCaptureMain = 1885954865
)
View Source
const (
	GestaltHasGPIaToDCDa  = 0
	GestaltHasGPIaToRTxCa = 1
	GestaltHasGPIbToDCDb  = 2
	GestaltHidePortA      = 3
	GestaltHidePortB      = 4
	GestaltPortADisabled  = 5
	GestaltPortBDisabled  = 6
	GestaltSerialAttr     = 1936028192
)
View Source
const (
	GestaltShutdownAttributes            = 1936225652
	GestaltShutdownHassdOnBootVolUnmount = 0
)
View Source
const (
	GestaltNuBusPresent        = 1
	GestaltPortableSlotPresent = 4
	GestaltSE30SlotPresent     = 3
	GestaltSESlotPresent       = 2
	GestaltSlotAttr            = 1936486260
	GestaltSlotMgrExists       = 0
)
View Source
const (
	GestaltSoftwareVendorApple    = 1097887852
	GestaltSoftwareVendorCode     = 1936875876
	GestaltSoftwareVendorLicensee = 1281584755
)
View Source
const (
	Gestalt16BitAudioSupport   = 12
	Gestalt16BitSoundIO        = 7
	GestaltBuiltInSoundInput   = 4
	GestaltHasSoundInputDevice = 5
	GestaltLineLevelInput      = 9
	GestaltMultiChannels       = 11
	GestaltPlayAndRecord       = 6
	GestaltSndPlayDoubleBuffer = 10
	GestaltSoundAttr           = 1936614432
	GestaltSoundIOMgrPresent   = 3
	GestaltStereoCapability    = 0
	GestaltStereoInput         = 8
	GestaltStereoMixing        = 1
)
View Source
const (
	GestaltSpeechAttr       = 1953788771
	GestaltSpeechHasPPCGlue = 1
	GestaltSpeechMgrPresent = 0
)
View Source
const (
	GestaltDesktopSpeechRecognition   = 1
	GestaltSpeechRecognitionAttr      = 1936880737
	GestaltTelephoneSpeechRecognition = 2
)
View Source
const (
	GestaltSplitOSAttr                                   = 1936748403
	GestaltSplitOSAware                                  = 1
	GestaltSplitOSBootDriveIsNetworkVolume               = 0
	GestaltSplitOSEnablerVolumeIsDifferentFromBootVolume = 2
	GestaltSplitOSMachineNameSetToNetworkNameTemp        = 3
	GestaltSplitOSMachineNameStartupDiskIsNonPersistent  = 5
)
View Source
const (
	GestaltStandardFile58                         = 0
	GestaltStandardFileAttr                       = 1937007718
	GestaltStandardFileHasColorIcons              = 2
	GestaltStandardFileHasDynamicVolumeAllocation = 4
	GestaltStandardFileTranslationAware           = 1
	GestaltStandardFileUseGenericIcons            = 3
)
View Source
const (
	GestaltStdNBPAttr                 = 1852601712
	GestaltStdNBPPresent              = 0
	GestaltStdNBPSupportsAutoPosition = 1
)
View Source
const (
	Gestalt68k             = 1
	GestaltArm             = 20
	GestaltIntel           = 10
	GestaltPowerPC         = 2
	GestaltSysArchitecture = 1937339233
)
View Source
const (
	GestaltSystemVersion       = 1937339254
	GestaltSystemVersionBugFix = 1937339187
	GestaltSystemVersionMajor  = 1937339185
	GestaltSystemVersionMinor  = 1937339186
)
View Source
const (
	GestaltTEAttr                = 1952801140
	GestaltTEHasGetHiliteRgn     = 0
	GestaltTEHasWhiteBackground  = 3
	GestaltTESupportsInlineInput = 1
	GestaltTESupportsTextObjects = 2
)
View Source
const (
	GestaltTSMTE        = 0
	GestaltTSMTEAttr    = 1953322053
	GestaltTSMTEPresent = 0
)
View Source
const (
	GestaltTSMTE1       = 256
	GestaltTSMTE15      = 336
	GestaltTSMTE152     = 338
	GestaltTSMTEVersion = 1953322070
)
View Source
const (
	GestaltTSMDisplayMgrAwareBit = 0
	GestaltTSMdoesTSMTEBit       = 1
	GestaltTSMgrAttr             = 1953721697
)
View Source
const (
	GestaltTSMgr15      = 336
	GestaltTSMgr20      = 512
	GestaltTSMgr22      = 544
	GestaltTSMgr23      = 560
	GestaltTSMgrVersion = 1953721718
)
View Source
const (
	GestaltHasFMTuner             = 7
	GestaltHasHWClosedCaptioning  = 2
	GestaltHasIRRemote            = 3
	GestaltHasSerialFader         = 6
	GestaltHasSoundFader          = 1
	GestaltHasStereoDecoder       = 5
	GestaltHasSystemIRFunction    = 8
	GestaltHasTVTuner             = 0
	GestaltHasVidDecoderScaler    = 4
	GestaltHasZoomedVideo         = 11
	GestaltINeedIRPowerOffConfirm = 10
	GestaltIRDisabled             = 9
	GestaltTVAttr                 = 1953898528
)
View Source
const (
	GestaltTeleMgrAttr             = 1952803941
	GestaltTeleMgrAutoAnswer       = 3
	GestaltTeleMgrIndHandset       = 4
	GestaltTeleMgrNewTELNewSupport = 6
	GestaltTeleMgrPowerPCSupport   = 1
	GestaltTeleMgrPresent          = 0
	GestaltTeleMgrSilenceDetect    = 5
	GestaltTeleMgrSoundStreams     = 2
)
View Source
const (
	GestaltTermMgrAttr        = 1952805485
	GestaltTermMgrErrorString = 2
	GestaltTermMgrPresent     = 0
)
View Source
const (
	GestaltTE1             = 1
	GestaltTE2             = 2
	GestaltTE3             = 3
	GestaltTE4             = 4
	GestaltTE5             = 5
	GestaltTextEditVersion = 1952784416
)
View Source
const (
	GestaltSpecificMatchSupport  = 1
	GestaltThreadMgrAttr         = 1952998515
	GestaltThreadMgrPresent      = 0
	GestaltThreadsLibraryPresent = 2
)
View Source
const (
	GestaltExtendedTimeMgr = 3
	GestaltNativeTimeMgr   = 4
	GestaltRevisedTimeMgr  = 2
	GestaltStandardTimeMgr = 1
	GestaltTimeMgrVersion  = 1953326962
)
View Source
const (
	GestaltTranslationAttr            = 2020368756
	GestaltTranslationGetPathAPIAvail = 3
	GestaltTranslationMgrExists       = 0
	GestaltTranslationMgrHintOrder    = 1
	GestaltTranslationPPCAvail        = 2
)
View Source
const (
	GestaltUSBAttr     = 1970496032
	GestaltUSBHasIsoch = 1
	GestaltUSBPresent  = 0
)
View Source
const (
	GestaltUSBPrinterSharingAttr        = 2053204768
	GestaltUSBPrinterSharingAttrBooted  = 1073741824
	GestaltUSBPrinterSharingAttrMask    = -65536
	GestaltUSBPrinterSharingAttrRunning = -2147483648
	GestaltUSBPrinterSharingVersion     = 2053204768
	GestaltUSBPrinterSharingVersionMask = 65535
)
View Source
const (
	GestaltProF16ANSIKbd    = 31
	GestaltProF16ISOKbd     = 32
	GestaltProF16JISKbd     = 33
	GestaltUSBProF16ANSIKbd = 34
	GestaltUSBProF16ISOKbd  = 35
	GestaltUSBProF16JISKbd  = 36
)
View Source
const (
	GestaltDupSelectorErr   = -5552
	GestaltLocationErr      = -5553
	GestaltUndefSelectorErr = -5551
	GestaltUnknownErr       = -5550
)
View Source
const (
	GestaltVMAttr                   = 1986863136
	GestaltVMFilemappingOn          = 3
	GestaltVMHasLockMemoryForOutput = 1
	GestaltVMHasPagingControl       = 4
	GestaltVMPresent                = 0
)
View Source
const (
	GestaltVMInfoNoneType        = 3
	GestaltVMInfoSimpleType      = 2
	GestaltVMInfoSizeStorageType = 0
	GestaltVMInfoSizeType        = 1
	GestaltVMInfoType            = 1986881902
)
View Source
const (
	GestaltValueImplementedVers = 5
	GestaltVersion              = 1986359923
)
View Source
const (
	GestaltExtendedWindowAttributes     = 1
	GestaltExtendedWindowAttributesBit  = 1
	GestaltExtendedWindowAttributesMask = 2
	GestaltFrontWindowMayBeHiddenBit    = 8
	GestaltFrontWindowMayBeHiddenMask   = 256
	GestaltHasFloatingWindows           = 2
	GestaltHasFloatingWindowsBit        = 2
	GestaltHasFloatingWindowsMask       = 4
	GestaltHasWindowBuffering           = 3
	GestaltHasWindowBufferingBit        = 3
	GestaltHasWindowBufferingMask       = 8
	GestaltHasWindowShadowsBit          = 6
	GestaltHasWindowShadowsMask         = 64
	GestaltSheetsAreWindowModalBit      = 7
	GestaltSheetsAreWindowModalMask     = 128
	GestaltWindowLiveResizeBit          = 4
	GestaltWindowLiveResizeMask         = 16
	GestaltWindowMgrAttr                = 2003398244
	GestaltWindowMgrPresent             = 1
	GestaltWindowMgrPresentBit          = 0
	GestaltWindowMgrPresentMask         = 1
	GestaltWindowMinimizeToDockBit      = 5
	GestaltWindowMinimizeToDockMask     = 32
)
View Source
const (
	GestaltWSIICanPrintWithoutPrGeneralBit = 0
	GestaltWorldScriptIIAttr               = 2004050292
	GestaltWorldScriptIIVersion            = 1685026146
)
View Source
const (
	GestaltX86AdditionalFeatures  = 2016949857
	GestaltX86HasCID              = 10
	GestaltX86HasCX16             = 13
	GestaltX86HasDSCPL            = 4
	GestaltX86HasEST              = 7
	GestaltX86HasMONITOR          = 3
	GestaltX86HasSMX              = 6
	GestaltX86HasSSE3             = 0
	GestaltX86HasSupplementalSSE3 = 9
	GestaltX86HasTM2              = 8
	GestaltX86HasVMX              = 5
	GestaltX86HasxTPR             = 14
)
View Source
const (
	GestaltX86Features   = 2016949862
	GestaltX86HasAPIC    = 9
	GestaltX86HasCLFSH   = 19
	GestaltX86HasCMOV    = 15
	GestaltX86HasCX8     = 8
	GestaltX86HasDE      = 2
	GestaltX86HasDS      = 21
	GestaltX86HasFPU     = 0
	GestaltX86HasFXSR    = 24
	GestaltX86HasHTT     = 28
	GestaltX86HasMCA     = 14
	GestaltX86HasMCE     = 7
	GestaltX86HasMMX     = 23
	GestaltX86HasMSR     = 5
	GestaltX86HasMTRR    = 12
	GestaltX86HasPAE     = 6
	GestaltX86HasPAT     = 16
	GestaltX86HasPGE     = 13
	GestaltX86HasPSE     = 3
	GestaltX86HasPSE36   = 17
	GestaltX86HasPSN     = 18
	GestaltX86HasSEP     = 11
	GestaltX86HasSS      = 27
	GestaltX86HasSSE     = 25
	GestaltX86HasSSE2    = 26
	GestaltX86HasTM      = 29
	GestaltX86HasTSC     = 4
	GestaltX86HasVME     = 1
	GestaltX86ResACPI    = 22
	GestaltX86Serviced20 = 20
)
View Source
const (
	HmBalloonAborted       = -853
	HmCloseViewActive      = -863
	HmHelpDisabled         = -850
	HmHelpManagerNotInited = -855
	HmNoBalloonUp          = -862
	HmOperationUnsupported = -861
	HmSameAsLastBalloon    = -854
	HmSkippedBalloon       = -857
	HmUnknownHelpType      = -859
	HmWrongVersion         = -858
)
View Source
const (
	HrHTMLRenderingLibNotInstalledErr = -5360
	HrMiscellaneousExceptionErr       = -5361
	HrURLNotHandledErr                = -5363
	HrUnableToResizeHandleErr         = -5362
)
View Source
const (
	IIOAbort    = -27
	IMemFullErr = -108
)
View Source
const (
	IntArabic     = 1
	IntEuropean   = 4
	IntJapanese   = 3
	IntOutputMask = 32768
	IntRoman      = 2
	IntWestern    = 0
)
View Source
const (
	CantReceiveFromSynthesizerOSErr = -2073
	CantSendToSynthesizerOSErr      = -2072
	IllegalChannelOSErr             = -2076
	IllegalControllerOSErr          = -2080
	IllegalInstrumentOSErr          = -2079
	IllegalKnobOSErr                = -2077
	IllegalKnobValueOSErr           = -2078
	IllegalNoteChannelOSErr         = -2084
	IllegalPartOSErr                = -2075
	IllegalVoiceAllocationOSErr     = -2074
	InternalComponentErr            = -2070
	MidiManagerAbsentOSErr          = -2081
	NoExportProcAvailableErr        = -2089
	NotImplementedMusicOSErr        = -2071
	NoteChannelNotAllocatedOSErr    = -2085
	SynthesizerNotRespondingOSErr   = -2082
	SynthesizerOSErr                = -2083
	TuneParseOSErr                  = -2087
	TunePlayerFullOSErr             = -2086
	VideoOutputInUseErr             = -2090
)
View Source
const (
	BadScrapRefErr              = -4990
	DuplicateScrapFlavorErr     = -4989
	IllegalScrapFlavorFlagsErr  = -4997
	IllegalScrapFlavorSizeErr   = -4999
	IllegalScrapFlavorTypeErr   = -4998
	InternalScrapErr            = -4988
	NeedClearScrapErr           = -100
	NilScrapFlavorDataErr       = -4994
	NoScrapPromiseKeeperErr     = -4993
	ProcessStateIncorrectErr    = -4991
	ScrapFlavorFlagsMismatchErr = -4995
	ScrapFlavorNotFoundErr      = -102
	ScrapFlavorSizeMismatchErr  = -4996
	ScrapPromiseNotKeptErr      = -4992
)
View Source
const (
	ComponentDontRegister         = -3003
	ComponentNotCaptured          = -3002
	InvalidComponentID            = -3000
	RetryComponentRegistrationErr = -3005
	UnresolvedComponentDLLErr     = -3004
	ValidInstancesExist           = -3001
)
View Source
const (
	InvalidIconRefErr      = -2580
	NoIconDataAvailableErr = -2582
	NoSuchIconErr          = -2581
)
View Source
const (
	BadTranslationSpecErr      = -3031
	CouldNotParseSourceFileErr = -3026
	InvalidTranslationPathErr  = -3025
	NoPrefAppErr               = -3032
	NoTranslationPathErr       = -3030
)
View Source
const (
	ItlcDualCaret    = 6
	ItlcShowIcon     = 7
	ItlcSysDirection = 15
)
View Source
const (
	IuCurrentCurLang = -4
	IuCurrentDefLang = -5
	IuScriptCurLang  = -6
	IuScriptDefLang  = -7
	IuSystemCurLang  = -2
	IuSystemDefLang  = -3
)
View Source
const (
	IuCurrentScript = -2
	IuSystemScript  = -1
)
View Source
const (
	K32BitHeap    = 1
	KNewDebugHeap = 4
	KNewStyleHeap = 2
)
View Source
const (
	K68kInterruptLevelMask     = 7
	KInDeferredTaskMask        = 32
	KInNestedInterruptMask     = 128
	KInSecondaryIntHandlerMask = 64
	KInVBLTaskMask             = 16
)
View Source
const (
	KAFPTagLengthDDP    = 6
	KAFPTagLengthIP     = 6
	KAFPTagLengthIPPort = 8
)
View Source
const (
	KAFPTagTypeDDP    = 3
	KAFPTagTypeDNS    = 4
	KAFPTagTypeIP     = 1
	KAFPTagTypeIPPort = 2
)
View Source
const (
	KALMDeferSwitchErr         = -30043
	KALMDuplicateModuleErr     = -30045
	KALMGroupNotFoundErr       = -30048
	KALMInstallationErr        = -30044
	KALMInternalErr            = -30049
	KALMModuleCommunicationErr = -30046
	KALMNoSuchModuleErr        = -30047
	KALMRebootFlagsLevelErr    = -30042
)
View Source
const (
	KARMMountVol       = 1
	KARMMultVols       = 8
	KARMNoUI           = 2
	KARMSearch         = 256
	KARMSearchMore     = 512
	KARMSearchRelFirst = 1024
	KARMTryFileIDFirst = 2048
)
View Source
const (
	KATSUBadStreamErr                 = -8902
	KATSUInvalidCallInsideCallbackErr = -8904
	KATSUInvalidFontFallbacksErr      = -8900
	KATSULastErr                      = -8959
	KATSUNoFontNameErr                = -8905
	KATSUOutputBufferTooSmallErr      = -8903
	KATSUUnsupportedStreamFormatErr   = -8901
)
View Source
const (
	KATSUBusyObjectErr            = -8809
	KATSUCoordinateOverflowErr    = -8807
	KATSUFontsMatched             = -8793
	KATSUFontsNotMatched          = -8794
	KATSUInvalidAttributeSizeErr  = -8798
	KATSUInvalidAttributeTagErr   = -8799
	KATSUInvalidAttributeValueErr = -8797
	KATSUInvalidCacheErr          = -8800
	KATSUInvalidFontErr           = -8796
	KATSUInvalidStyleErr          = -8791
	KATSUInvalidTextLayoutErr     = -8790
	KATSUInvalidTextRangeErr      = -8792
	KATSULineBreakInWord          = -8808
	KATSULowLevelErr              = -8804
	KATSUNoCorrespondingFontErr   = -8795
	KATSUNoFontCmapAvailableErr   = -8805
	KATSUNoFontScalerAvailableErr = -8806
	KATSUNoStyleRunsAssignedErr   = -8802
	KATSUNotSetErr                = -8801
	KATSUQuickDrawTextErr         = -8803
)
View Source
const (
	KAnyComponentFlagsMask    = 0
	KAnyComponentManufacturer = 0
	KAnyComponentSubType      = 0
	KAnyComponentType         = 0
)
View Source
const (
	KAppleManufacturer          = 1634758764
	KComponentAliasResourceType = 1952999265
	KComponentResourceType      = 1953001063
)
View Source
const (
	KAsyncEjectComplete     = 6
	KAsyncEjectInProgress   = 5
	KAsyncMountComplete     = 2
	KAsyncMountInProgress   = 1
	KAsyncUnmountComplete   = 4
	KAsyncUnmountInProgress = 3
)
View Source
const (
	K16BitCardErr            = -9084
	KAlreadySavedStateErr    = -9105
	KAttemptDupCardEntryErr  = -9106
	KBadAdapterErr           = -9050
	KBadArgLengthErr         = -9063
	KBadArgsErr              = -9064
	KBadAttributeErr         = -9051
	KBadBaseErr              = -9052
	KBadCISErr               = -9066
	KBadCustomIFIDErr        = -9093
	KBadDeviceErr            = -9083
	KBadEDCErr               = -9053
	KBadHandleErr            = -9065
	KBadIRQErr               = -9054
	KBadLinkErr              = -9082
	KBadOffsetErr            = -9055
	KBadPageErr              = -9056
	KBadSizeErr              = -9057
	KBadSocketErr            = -9058
	KBadSpeedErr             = -9067
	KBadTupleDataErr         = -9092
	KBadTypeErr              = -9059
	KBadVccErr               = -9060
	KBadVppErr               = -9061
	KBadWindowErr            = -9062
	KBusyErr                 = -9074
	KCantConfigureCardErr    = -9087
	KCardBusCardErr          = -9085
	KCardPowerOffErr         = -9107
	KClientRequestDenied     = -9102
	KConfigurationLockedErr  = -9076
	KGeneralFailureErr       = -9070
	KInUseErr                = -9077
	KInvalidCSClientErr      = -9091
	KInvalidDeviceNumber     = -9089
	KInvalidRegEntryErr      = -9081
	KNoCardBusCISErr         = -9109
	KNoCardEnablersFoundErr  = -9099
	KNoCardErr               = -9071
	KNoCardSevicesSocketsErr = -9080
	KNoClientTableErr        = -9097
	KNoCompatibleNameErr     = -9101
	KNoEnablerForCardErr     = -9100
	KNoIOWindowRequestedErr  = -9094
	KNoMoreInterruptSlotsErr = -9096
	KNoMoreItemsErr          = -9078
	KNoMoreTimerClientsErr   = -9095
	KNotReadyErr             = -9103
	KNotZVCapableErr         = -9108
	KOutOfResourceErr        = -9079
	KPassCallToChainErr      = -9086
	KPostCardEventErr        = -9088
	KReadFailureErr          = -9068
	KTooManyIOWindowsErr     = -9104
	KUnsupportedCardErr      = -9098
	KUnsupportedFunctionErr  = -9072
	KUnsupportedModeErr      = -9073
	KUnsupportedVsErr        = -9090
	KWriteFailureErr         = -9069
	KWriteProtectedErr       = -9075
)
View Source
const (
	KBig5_BasicVariant    = 0
	KBig5_DOSVariant      = 3
	KBig5_ETenVariant     = 2
	KBig5_StandardVariant = 1
)
View Source
const (
	KBlessedFolder = 1651274598
	KRootFolder    = 1919906918
)
View Source
const (
	KCSAcceptAllComponentsMode            = 0
	KCSAcceptThreadSafeComponentsOnlyMode = 1
)
View Source
const (
	KCallingConventionMask       = 15
	KCallingConventionPhase      = 0
	KCallingConventionWidth      = 4
	KDispatchedParameterPhase    = 8
	KDispatchedSelectorSizePhase = 6
	KDispatchedSelectorSizeWidth = 2
	KRegisterParameterMask       = 2147481600
	KRegisterParameterPhase      = 11
	KRegisterParameterSizePhase  = 0
	KRegisterParameterSizeWidth  = 2
	KRegisterParameterWhichPhase = 2
	KRegisterParameterWhichWidth = 3
	KRegisterParameterWidth      = 5
	KRegisterResultLocationPhase = 6
	KRegisterResultLocationWidth = 5
	KResultSizeMask              = 48
	KResultSizePhase             = 4
	KResultSizeWidth             = 2
	KSpecialCaseSelectorMask     = 1008
	KSpecialCaseSelectorPhase    = 4
	KSpecialCaseSelectorWidth    = 6
	KStackParameterMask          = -64
	KStackParameterPhase         = 6
	KStackParameterWidth         = 2
)
View Source
const (
	KClippingCreator     = 1685217639
	KClippingPictureType = 1668051056
	KClippingSoundType   = 1668051059
	KClippingTextType    = 1668051060
	KClippingUnknownType = 1668051061
)
View Source
const (
	KCollateAttributesNotFoundErr   = -29500
	KCollateBufferTooSmall          = -29506
	KCollateInvalidChar             = -29505
	KCollateInvalidCollationRef     = -29507
	KCollateInvalidOptions          = -29501
	KCollateMissingUnicodeTableErr  = -29502
	KCollatePatternNotFoundErr      = -29504
	KCollateUnicodeConvertFailedErr = -29503
)
View Source
const (
	KCollectionDontWantAttributes = 0
	KCollectionDontWantData       = 0
	KCollectionDontWantId         = 0
	KCollectionDontWantIndex      = 0
	KCollectionDontWantSize       = 0
	KCollectionDontWantTag        = 0
)
View Source
const (
	KCollectionAllAttributes     = -1
	KCollectionDefaultAttributes = 1073741824
	KCollectionNoAttributes      = 0
	KCollectionUserAttributes    = 65535
)
View Source
const (
	KCollectionLockBit        = 31
	KCollectionPersistenceBit = 30
	KCollectionReserved0Bit   = 16
	KCollectionReserved10Bit  = 26
	KCollectionReserved11Bit  = 27
	KCollectionReserved12Bit  = 28
	KCollectionReserved13Bit  = 29
	KCollectionReserved1Bit   = 17
	KCollectionReserved2Bit   = 18
	KCollectionReserved3Bit   = 19
	KCollectionReserved4Bit   = 20
	KCollectionReserved5Bit   = 21
	KCollectionReserved6Bit   = 22
	KCollectionReserved7Bit   = 23
	KCollectionReserved8Bit   = 24
	KCollectionReserved9Bit   = 25
	KCollectionUser0Bit       = 0
	KCollectionUser10Bit      = 10
	KCollectionUser11Bit      = 11
	KCollectionUser12Bit      = 12
	KCollectionUser13Bit      = 13
	KCollectionUser14Bit      = 14
	KCollectionUser15Bit      = 15
	KCollectionUser1Bit       = 1
	KCollectionUser2Bit       = 2
	KCollectionUser3Bit       = 3
	KCollectionUser4Bit       = 4
	KCollectionUser5Bit       = 5
	KCollectionUser6Bit       = 6
	KCollectionUser7Bit       = 7
	KCollectionUser8Bit       = 8
	KCollectionUser9Bit       = 9
)
View Source
const (
	KCollectionLockMask        = 2147483648
	KCollectionPersistenceMask = 1073741824
	KCollectionReserved0Mask   = 65536
	KCollectionReserved10Mask  = 67108864
	KCollectionReserved11Mask  = 134217728
	KCollectionReserved12Mask  = 268435456
	KCollectionReserved13Mask  = 536870912
	KCollectionReserved1Mask   = 131072
	KCollectionReserved2Mask   = 262144
	KCollectionReserved3Mask   = 524288
	KCollectionReserved4Mask   = 1048576
	KCollectionReserved5Mask   = 2097152
	KCollectionReserved6Mask   = 4194304
	KCollectionReserved7Mask   = 8388608
	KCollectionReserved8Mask   = 16777216
	KCollectionReserved9Mask   = 33554432
	KCollectionUser0Mask       = 1
	KCollectionUser10Mask      = 1024
	KCollectionUser11Mask      = 2048
	KCollectionUser12Mask      = 4096
	KCollectionUser13Mask      = 8192
	KCollectionUser14Mask      = 16384
	KCollectionUser15Mask      = 32768
	KCollectionUser1Mask       = 2
	KCollectionUser2Mask       = 4
	KCollectionUser3Mask       = 8
	KCollectionUser4Mask       = 16
	KCollectionUser5Mask       = 32
	KCollectionUser6Mask       = 64
	KCollectionUser7Mask       = 128
	KCollectionUser8Mask       = 256
	KCollectionUser9Mask       = 512
)
View Source
const (
	KAppleShareAuthenticationFolderType = 1635087464
	KAppleShareSupportFolderType        = 1936220530
	KAudioAlertSoundsFolderType         = 1634497140
	KAudioComponentsFolderType          = 1633906032
	KAudioDigidesignFolderType          = 1633970535
	KAudioPlugInsFolderType             = 1634757735
	KAudioPresetsFolderType             = 1634759540
	KAudioSoundBanksFolderType          = 1650552427
	KAudioSoundsFolderType              = 1634954852
	KAudioSupportFolderType             = 1633970543
	KAudioVSTFolderType                 = 1635152756
	KAutomatorWorkflowsFolderType       = 1718382455
	KAutosaveInformationFolderType      = 1634951542
	KBootTimeStartupItemsFolderType     = 1701671034
	KCachedDataFolderType               = 1667326824
	KCarbonLibraryFolderType            = 1667330658
	KClassicDesktopFolderType           = 1935962987
	KColorPickersFolderType             = 1668311922
	KColorSyncCMMFolderType             = 1667460461
	KColorSyncFolderType                = 1937337955
	KColorSyncScriptingFolderType       = 1668506482
	KComponentsFolderType               = 1668116580
	KCompositionsFolderType             = 1668116595
	KCoreServicesFolderType             = 1668510326
	KDirectoryServicesFolderType        = 1685287542
	KDirectoryServicesPlugInsFolderType = 1685089383
	KDocumentationFolderType            = 1768842863
	KDownloadsFolderType                = 1685026670
	KFileSystemSupportFolderType        = 1718843763
	KFindByContentIndexesFolderType     = 1717724024
	KFontCollectionsFolderType          = 1718510444
	KFrameworksFolderType               = 1718772077
	KISSDownloadsFolderType             = 1769173860
	KIndexFilesFolderType               = 1768842360
	KInputManagersFolderType            = 1768845428
	KInputMethodsFolderType             = 1768845414
	KInstallerReceiptsFolderType        = 1919119476
	KKernelExtensionsFolderType         = 1801812084
	KKeyboardLayoutsFolderType          = 1802264953
	KLibraryAssistantsFolderType        = 1634956396
	KMIDIDriversFolderType              = 1835623529
	KManagedItemsFolderType             = 1835101799
	KPrintersFolderType                 = 1768779890
	KPrivateFrameworksFolderType        = 1885762157
	KQuickTimeComponentsFolderType      = 2003004784
	KSpeechFolderType                   = 1936745320
	KSpotlightImportersFolderType       = 1936289136
	KSpotlightMetadataCacheFolderType   = 1935893352
	KSpotlightSavedSearchesFolderType   = 1936748404
	KSystemSoundsFolderType             = 1936944740
	KUserSpecificTmpFolderType          = 1970564464
	KiMovieFolderType                   = 1768779638
	KiMoviePlugInsFolderType            = 1768779881
	KiMovieSoundEffectsFolderType       = 1768780645
)
View Source
const (
	KApplicationSupportFolderType = 1634956656
	KColorSyncProfilesFolderType  = 1886547814
	KPrinterDescriptionFolderType = 1886413926
	KPrinterDriverFolderType      = 3295703652
	KScriptingAdditionsFolderType = 3295896434
	KTextEncodingsFolderType      = 3295962488
)
View Source
const (
	KComponentCanDoSelect              = -3
	KComponentCloseSelect              = -2
	KComponentExecuteWiredActionSelect = -9
	KComponentGetMPWorkFunctionSelect  = -8
	KComponentGetPublicResourceSelect  = -10
	KComponentOpenSelect               = -1
	KComponentRegisterSelect           = -5
	KComponentTargetSelect             = -6
	KComponentUnregisterSelect         = -7
	KComponentVersionSelect            = -4
)
View Source
const (
	KAppPackageAliasType        = 1717661793
	KApplicationAliasType       = 1633972848
	KApplicationCPAliasType     = 1633903728
	KApplicationDAAliasType     = 1633969264
	KContainerAliasType         = 1685221232
	KContainerCDROMAliasType    = 1667523698
	KContainerFloppyAliasType   = 1718382713
	KContainerFolderAliasType   = 1717858928
	KContainerHardDiskAliasType = 1751413611
	KContainerServerAliasType   = 1936881266
	KContainerTrashAliasType    = 1953657704
	KDesktopPrinterAliasType    = 1685352545
	KPackageAliasType           = 1718643553
)
View Source
const (
	KCooperativeThread = 1
	KPreemptiveThread  = 2
)
View Source
const (
	KCoreEndianAppleEventManagerDomain = 1634039412
	KCoreEndianResourceManagerDomain   = 1920168547
)
View Source
const (
	KCreateFolder     = 1
	KDontCreateFolder = 0
)
View Source
const (
	KCreateFolderAtBoot         = 2
	KCreateFolderAtBootBit      = 1
	KFolderCreatedAdminPrivs    = 16
	KFolderCreatedAdminPrivsBit = 4
	KFolderCreatedInvisible     = 4
	KFolderCreatedInvisibleBit  = 2
	KFolderCreatedNameLocked    = 8
	KFolderCreatedNameLockedBit = 3
)
View Source
const (
	KCustomBadgeResourceID      = -16455
	KCustomBadgeResourceType    = 1650549863
	KCustomBadgeResourceVersion = 0
)
View Source
const (
	KDMCantBlock                   = -6224
	KDMDisplayAlreadyInstalledErr  = -6230
	KDMDisplayNotFoundErr          = -6229
	KDMDriverNotDisplayMgrAwareErr = -6228
	KDMFoundErr                    = -6232
	KDMGenErr                      = -6220
	KDMMainDisplayCannotMoveErr    = -6231
	KDMMirroringBlocked            = -6223
	KDMMirroringNotOn              = -6225
	KDMMirroringOnAlready          = -6221
	KDMNoDeviceTableclothErr       = -6231
	KDMNotFoundErr                 = -6229
	KDMSWNotInitializedErr         = -6227
	KDMWrongNumberOfDisplays       = -6222
	KSysSWTooOld                   = -6226
)
View Source
const (
	KDOSJapanesePalmVariant     = 1
	KDOSJapaneseStandardVariant = 0
)
View Source
const (
	KDSpConfirmSwitchWarning      = -30448
	KDSpContextAlreadyReservedErr = -30444
	KDSpContextNotFoundErr        = -30446
	KDSpContextNotReservedErr     = -30445
	KDSpFrameRateNotReadyErr      = -30447
	KDSpInternalErr               = -30449
	KDSpInvalidAttributesErr      = -30443
	KDSpInvalidContextErr         = -30442
	KDSpNotInitializedErr         = -30440
	KDSpStereoContextErr          = -30450
	KDSpSystemSWTooOldErr         = -30441
)
View Source
const (
	KDTPAbortJobErr  = 128
	KDTPHoldJobErr   = -4200
	KDTPStopQueueErr = -4201
	KDTPTryAgainErr  = -4202
)
View Source
const (
	KApplicationsFolderType              = 1634758771
	KChewableItemsFolderType             = 1718382196
	KCurrentUserFolderType               = 1668641650
	KDesktopFolderType                   = 1684370283
	KDomainLibraryFolderType             = 1684826466
	KDomainTopLevelFolderType            = 1685352304
	KFontsFolderType                     = 1718578804
	KPreferencesFolderType               = 1886545254
	KSharedUserDataFolderType            = 1935958388
	KSystemPreferencesFolderType         = 1936749158
	KTemporaryFolderType                 = 1952804208
	KTemporaryItemsInCacheDataFolderType = 1987341680
	KTrashFolderType                     = 1953657704
	KUsersFolderType                     = 1970500211
	KVolumeRootFolderType                = 1919905652
	KWhereToEmptyTrashFolderType         = 1701671028
)
View Source
const (
	KDeveloperApplicationsFolderType = 1684107376
	KDeveloperDocsFolderType         = 1684303715
	KDeveloperFolderType             = 1684371046
	KDeveloperHelpFolderType         = 1684371048
)
View Source
const (
	KDictionariesFolderType    = 1684628340
	KLogsFolderType            = 1819240307
	KPreferencePanesFolderType = 1886413166
)
View Source
const (
	KDocumentsFolderType        = 1685021555
	KInternetSitesFolderType    = 1936290917
	KMovieDocumentsFolderType   = 1835298659
	KMusicDocumentsFolderType   = 3043258211
	KPictureDocumentsFolderType = 1885630307
	KPublicFolderType           = 1886741090
)
View Source
const (
	KDurationForever     = 2147483647
	KDurationImmediate   = 0
	KDurationMicrosecond = -1
	KDurationMillisecond = 1
)
View Source
const (
	KEUC_CN_BasicVariant = 0
	KEUC_CN_DOSVariant   = 1
)
View Source
const (
	KEUC_KR_BasicVariant = 0
	KEUC_KR_DOSVariant   = 1
)
View Source
const (
	KDropFolderAliasType     = 1717658738
	KExportedFolderAliasType = 1717658996
	KMountedFolderAliasType  = 1717661038
	KSharedFolderAliasType   = 1717662568
)
View Source
const (
	KExtendedFlagHasCustomBadge = 256
	KExtendedFlagHasRoutingInfo = 4
	KExtendedFlagObjectIsBusy   = 128
	KExtendedFlagsAreInvalid    = 32768
)
View Source
const (
	KFBCaccessCanceled        = -30521
	KFBCaccessorStoreFailed   = -30515
	KFBCaddDocFailed          = -30516
	KFBCallocFailed           = -30502
	KFBCanalysisNotAvailable  = -30527
	KFBCbadIndexFile          = -30505
	KFBCbadIndexFileVersion   = -30528
	KFBCbadParam              = -30503
	KFBCbadSearchSession      = -30531
	KFBCcommitFailed          = -30509
	KFBCcompactionFailed      = -30506
	KFBCdeletionFailed        = -30510
	KFBCfileNotIndexed        = -30504
	KFBCflushFailed           = -30517
	KFBCillegalSessionChange  = -30526
	KFBCindexCreationFailed   = -30514
	KFBCindexDiskIOFailed     = -30530
	KFBCindexFileDestroyed    = -30522
	KFBCindexNotAvailable     = -30523
	KFBCindexNotFound         = -30518
	KFBCindexingCanceled      = -30520
	KFBCindexingFailed        = -30508
	KFBCmergingFailed         = -30513
	KFBCmoveFailed            = -30511
	KFBCnoIndexesFound        = -30501
	KFBCnoSearchSession       = -30519
	KFBCnoSuchHit             = -30532
	KFBCsearchFailed          = -30524
	KFBCsomeFilesNotIndexed   = -30525
	KFBCsummarizationCanceled = -30529
	KFBCtokenizationFailed    = -30512
	KFBCvTwinExceptionErr     = -30500
	KFBCvalidationFailed      = -30507
)
View Source
const (
	KFMFontContainerAccessErr    = -985
	KFMFontTableAccessErr        = -984
	KFMInvalidFontErr            = -982
	KFMInvalidFontFamilyErr      = -981
	KFMIterationCompleted        = -980
	KFMIterationScopeModifiedErr = -983
)
View Source
const (
	KFNNoImplicitAllSubscription = 1
	KFNNotifyInBackground        = 2
)
View Source
const (
	KFNSBadFlattenedSizeErr    = -29587
	KFNSBadProfileVersionErr   = -29583
	KFNSBadReferenceVersionErr = -29581
	KFNSDuplicateReferenceErr  = -29584
	KFNSInsufficientDataErr    = -29586
	KFNSInvalidProfileErr      = -29582
	KFNSInvalidReferenceErr    = -29580
	KFNSMismatchErr            = -29585
	KFNSNameNotFoundErr        = -29589
)
View Source
const (
	KFSAliasInfoFSInfo           = 32
	KFSAliasInfoFinderInfo       = 4
	KFSAliasInfoIDs              = 16
	KFSAliasInfoIsDirectory      = 8
	KFSAliasInfoNone             = 0
	KFSAliasInfoTargetCreateDate = 2
	KFSAliasInfoVolumeCreateDate = 1
	KFSAliasInfoVolumeFlags      = 64
)
View Source
const (
	KFSAllocAllOrNothingMask = 1
	KFSAllocContiguousMask   = 2
	KFSAllocDefaultFlags     = 0
	KFSAllocNoRoundUpMask    = 4
	KFSAllocReservedMask     = 65528
)
View Source
const (
	KFSAllowConcurrentAsyncIOBit  = 3
	KFSAllowConcurrentAsyncIOMask = 8
	KFSForceReadBit               = 6
	KFSForceReadMask              = 64
	KFSNewLineBit                 = 7
	KFSNewLineCharMask            = 65280
	KFSNewLineMask                = 128
	KFSNoCacheBit                 = 5
	KFSNoCacheMask                = 32
	KFSPleaseCacheBit             = 4
	KFSPleaseCacheMask            = 16
	KFSRdVerifyBit                = 6
	KFSRdVerifyMask               = 64
)
View Source
const (
	KFSCatInfoAccessDate        = 256
	KFSCatInfoAllDates          = 992
	KFSCatInfoAttrMod           = 128
	KFSCatInfoBackupDate        = 512
	KFSCatInfoContentMod        = 64
	KFSCatInfoCreateDate        = 32
	KFSCatInfoDataSizes         = 16384
	KFSCatInfoFSFileSecurityRef = 4194304
	KFSCatInfoFinderInfo        = 2048
	KFSCatInfoFinderXInfo       = 4096
	KFSCatInfoGettableInfo      = 262143
	KFSCatInfoNodeFlags         = 2
	KFSCatInfoNodeID            = 16
	KFSCatInfoNone              = 0
	KFSCatInfoParentDirID       = 8
	KFSCatInfoPermissions       = 1024
	KFSCatInfoReserved          = -262144
	KFSCatInfoRsrcSizes         = 32768
	KFSCatInfoSetOwnership      = 1048576
	KFSCatInfoSettableInfo      = 8163
	KFSCatInfoSharingFlags      = 65536
	KFSCatInfoTextEncoding      = 1
	KFSCatInfoUserAccess        = 524288
	KFSCatInfoUserPrivs         = 131072
	KFSCatInfoValence           = 8192
	KFSCatInfoVolume            = 4
)
View Source
const (
	KFSFileOperationDefaultOptions             = 0
	KFSFileOperationDoNotMoveAcrossVolumes     = 4
	KFSFileOperationOverwrite                  = 1
	KFSFileOperationSkipPreflight              = 8
	KFSFileOperationSkipSourcePermissionErrors = 2
)
View Source
const (
	KFSIterateDelete   = 2
	KFSIterateFlat     = 0
	KFSIterateReserved = -4
	KFSIterateSubtree  = 1
)
View Source
const (
	KFSMountServerMarkDoNotDisplay     = 1
	KFSMountServerMountOnMountDir      = 4
	KFSMountServerSuppressConnectionUI = 64
)
View Source
const (
	KFSNodeInSharedBit      = 2
	KFSNodeInSharedMask     = 4
	KFSNodeIsMountedBit     = 3
	KFSNodeIsMountedMask    = 8
	KFSNodeIsSharePointBit  = 5
	KFSNodeIsSharePointMask = 32
)
View Source
const (
	KFSNodeCopyProtectBit  = 6
	KFSNodeCopyProtectMask = 64
	KFSNodeDataOpenBit     = 3
	KFSNodeDataOpenMask    = 8
	KFSNodeForkOpenBit     = 7
	KFSNodeForkOpenMask    = 128
	KFSNodeHardLinkBit     = 8
	KFSNodeHardLinkMask    = 256
	KFSNodeIsDirectoryBit  = 4
	KFSNodeIsDirectoryMask = 16
	KFSNodeLockedBit       = 0
	KFSNodeLockedMask      = 1
	KFSNodeResOpenBit      = 2
	KFSNodeResOpenMask     = 4
)
View Source
const (
	KFSOperationStageComplete     = 3
	KFSOperationStagePreflighting = 1
	KFSOperationStageRunning      = 2
	KFSOperationStageUndefined    = 0
)
View Source
const (
	KFSPathMakeRefDefaultOptions         = 0
	KFSPathMakeRefDoNotFollowLeafSymlink = 1
)
View Source
const (
	KFSReplaceObjectDefaultOptions              = 0
	KFSReplaceObjectDoNotCheckObjectWriteAccess = 16
	KFSReplaceObjectPreservePermissionInfo      = 8
	KFSReplaceObjectReplaceMetadata             = 1
	KFSReplaceObjectReplacePermissionInfo       = 4
	KFSReplaceObjectSaveOriginalAsABackup       = 2
)
View Source
const (
	KFSVolFlagDefaultVolumeBit     = 5
	KFSVolFlagDefaultVolumeMask    = 32
	KFSVolFlagFilesOpenBit         = 6
	KFSVolFlagFilesOpenMask        = 64
	KFSVolFlagHardwareLockedBit    = 7
	KFSVolFlagHardwareLockedMask   = 128
	KFSVolFlagJournalingActiveBit  = 14
	KFSVolFlagJournalingActiveMask = 16384
	KFSVolFlagSoftwareLockedBit    = 15
	KFSVolFlagSoftwareLockedMask   = 32768
)
View Source
const (
	KFSVolInfoBackupDate   = 4
	KFSVolInfoBlocks       = 128
	KFSVolInfoCheckedDate  = 8
	KFSVolInfoCreateDate   = 1
	KFSVolInfoDataClump    = 1024
	KFSVolInfoDirCount     = 32
	KFSVolInfoDriveInfo    = 32768
	KFSVolInfoFSInfo       = 16384
	KFSVolInfoFileCount    = 16
	KFSVolInfoFinderInfo   = 4096
	KFSVolInfoFlags        = 8192
	KFSVolInfoGettableInfo = 65535
	KFSVolInfoModDate      = 2
	KFSVolInfoNextAlloc    = 256
	KFSVolInfoNextID       = 2048
	KFSVolInfoNone         = 0
	KFSVolInfoRsrcClump    = 512
	KFSVolInfoSettableInfo = 12292
	KFSVolInfoSizes        = 64
)
View Source
const (
	KFirstMagicBusyFiletype = 1652193568
	KLastMagicBusyFiletype  = 1652193599
)
View Source
const (
	KFolderInLocalOrRemoteUserFolder                                        = 160
	KFolderInRemoteUserFolderIfAvailable                                    = 128
	KFolderInRemoteUserFolderIfAvailableBit                                 = 7
	KFolderInUserFolder                                                     = 32
	KFolderInUserFolderBit                                                  = 5
	KFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit                = 10
	KFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask               = 1024
	KFolderManagerNewlyCreatedFolderIsLocalizedBit                          = 12
	KFolderManagerNewlyCreatedFolderShouldHaveDotLocalizedCreatedWithinMask = 4096
	KFolderManagerNotCreatedOnRemoteVolumesBit                              = 11
	KFolderManagerNotCreatedOnRemoteVolumesMask                             = 2048
	KFolderMustStayOnSameVolume                                             = 512
	KFolderMustStayOnSameVolumeBit                                          = 9
	KFolderNeverMatchedInIdentifyFolder                                     = 256
	KFolderNeverMatchedInIdentifyFolderBit                                  = 8
	KFolderTrackedByAlias                                                   = 64
	KFolderTrackedByAliasBit                                                = 6
)
View Source
const (
	KForkInfoFlagsFileLockedBit   = 5
	KForkInfoFlagsFileLockedMask  = 32
	KForkInfoFlagsLargeFileBit    = 3
	KForkInfoFlagsLargeFileMask   = 8
	KForkInfoFlagsModifiedBit     = 7
	KForkInfoFlagsModifiedMask    = 128
	KForkInfoFlagsOwnClumpBit     = 6
	KForkInfoFlagsOwnClumpMask    = 64
	KForkInfoFlagsResourceBit     = 1
	KForkInfoFlagsResourceMask    = 2
	KForkInfoFlagsSharedWriteBit  = 4
	KForkInfoFlagsSharedWriteMask = 16
	KForkInfoFlagsWriteBit        = 0
	KForkInfoFlagsWriteLockedBit  = 2
	KForkInfoFlagsWriteLockedMask = 4
	KForkInfoFlagsWriteMask       = 1
)
View Source
const (
	KFragmentIsPrepared     = 0
	KFragmentNeedsPreparing = 2
)
View Source
const (
	KGetDebugOption = 1
	KSetDebugOption = 2
)
View Source
const (
	KHIDBadLogPhysValuesErr         = -13942
	KHIDBadLogicalMaximumErr        = -13933
	KHIDBadLogicalMinimumErr        = -13934
	KHIDBadParameterErr             = -13938
	KHIDBaseError                   = -13950
	KHIDBufferTooSmallErr           = -13948
	KHIDEndOfDescriptorErr          = -13936
	KHIDIncompatibleReportErr       = -13943
	KHIDInvalidPreparsedDataErr     = -13944
	KHIDInvalidRangePageErr         = -13923
	KHIDInvalidReportLengthErr      = -13940
	KHIDInvalidReportTypeErr        = -13941
	KHIDInvertedLogicalRangeErr     = -13932
	KHIDInvertedPhysicalRangeErr    = -13931
	KHIDInvertedUsageRangeErr       = -13929
	KHIDNotEnoughMemoryErr          = -13937
	KHIDNotValueArrayErr            = -13945
	KHIDNullPointerErr              = -13939
	KHIDNullStateErr                = -13949
	KHIDReportCountZeroErr          = -13925
	KHIDReportIDZeroErr             = -13924
	KHIDReportSizeZeroErr           = -13926
	KHIDSuccess                     = 0
	KHIDUnmatchedDesignatorRangeErr = -13927
	KHIDUnmatchedStringRangeErr     = -13928
	KHIDUnmatchedUsageRangeErr      = -13930
	KHIDUsageNotFoundErr            = -13946
	KHIDUsagePageZeroErr            = -13935
	KHIDValueOutOfRangeErr          = -13947
)
View Source
const (
	KHIDDeviceNotReady         = -13910
	KHIDVersionIncompatibleErr = -13909
)
View Source
const (
	KHandleIsResourceBit = 5
	KHandleLockedBit     = 7
	KHandlePurgeableBit  = 6
)
View Source
const (
	KHandleIsResourceMask = 32
	KHandleLockedMask     = 128
	KHandlePurgeableMask  = 64
)
View Source
const (
	KISOLatin1MusicCDVariant  = 1
	KISOLatin1StandardVariant = 0
)
View Source
const (
	KISOLatinArabicExplicitOrderVariant = 2
	KISOLatinArabicImplicitOrderVariant = 0
	KISOLatinArabicVisualOrderVariant   = 1
)
View Source
const (
	KISOLatinHebrewExplicitOrderVariant = 2
	KISOLatinHebrewImplicitOrderVariant = 0
	KISOLatinHebrewVisualOrderVariant   = 1
)
View Source
const (
	KISpBufferToSmallErr    = -30422
	KISpDeviceActiveErr     = -30428
	KISpDeviceInactiveErr   = -30426
	KISpElementInListErr    = -30423
	KISpElementNotInListErr = -30424
	KISpInternalErr         = -30420
	KISpListBusyErr         = -30429
	KISpSystemActiveErr     = -30427
	KISpSystemInactiveErr   = -30425
	KISpSystemListErr       = -30421
)
View Source
const (
	KInternetLocationAFP       = 1768710502
	KInternetLocationAppleTalk = 1768710516
	KInternetLocationCreator   = 1685217639
	KInternetLocationFTP       = 1768711796
	KInternetLocationFile      = 1768711785
	KInternetLocationGeneric   = 1768712037
	KInternetLocationHTTP      = 1768712308
	KInternetLocationMail      = 1768713569
	KInternetLocationNNTP      = 1768713847
	KInternetLocationNSL       = 1768713843
)
View Source
const (
	KColor         = 14
	KHasBeenInited = 256
	KHasBundle     = 8192
	KHasCustomIcon = 1024
	KHasNoINITs    = 128
	KIsAlias       = 32768
	KIsInvisible   = 16384
	KIsOnDesk      = 1
	KIsShared      = 64
	KIsStationery  = 2048
	KNameLocked    = 4096
)
View Source
const (
	KLarge4BitIconSize = 512
	KLarge8BitIconSize = 1024
	KLargeIconSize     = 256
	KSmall4BitIconSize = 128
	KSmall8BitIconSize = 256
	KSmallIconSize     = 64
)
View Source
const (
	KLocaleAllPartsMask        = 63
	KLocaleLanguageMask        = 1
	KLocaleLanguageVariantMask = 2
	KLocaleRegionMask          = 16
	KLocaleRegionVariantMask   = 32
	KLocaleScriptMask          = 4
	KLocaleScriptVariantMask   = 8
)
View Source
const (
	KLocaleAndVariantNameMask       = 3
	KLocaleNameMask                 = 1
	KLocaleOperationVariantNameMask = 2
)
View Source
const (
	KLocalesBufferTooSmallErr    = -30001
	KLocalesDefaultDisplayStatus = -30029
	KLocalesTableFormatErr       = -30002
)
View Source
const (
	KM68kISA    = 0
	KPowerPCISA = 1
)
View Source
const (
	KMPAllocateClearMask    = 1
	KMPAllocateGloballyMask = 2
	KMPAllocateNoCreateMask = 32
	KMPAllocateNoGrowthMask = 16
	KMPAllocateResidentMask = 4
)
View Source
const (
	KMPAllocate1024ByteAligned  = 10
	KMPAllocate16ByteAligned    = 4
	KMPAllocate32ByteAligned    = 5
	KMPAllocate4096ByteAligned  = 12
	KMPAllocate8ByteAligned     = 3
	KMPAllocateAltiVecAligned   = 4
	KMPAllocateDefaultAligned   = 0
	KMPAllocateInterlockAligned = 255
	KMPAllocateMaxAlignment     = 16
	KMPAllocateVMPageAligned    = 254
	KMPAllocateVMXAligned       = 4
)
View Source
const (
	KMPAnyRemoteContext            = 0
	KMPAsyncInterruptRemoteContext = 3
	KMPInterruptRemoteContext      = 2
	KMPOwningProcessRemoteContext  = 1
)
View Source
const (
	KMPCreateTaskNotDebuggableMask      = 4
	KMPCreateTaskSuspendedMask          = 1
	KMPCreateTaskTakesAllExceptionsMask = 2
	KMPCreateTaskValidOptionsMask       = 7
)
View Source
const (
	KMPBlueBlockingErr          = -29293
	KMPDeletedErr               = -29295
	KMPInsufficientResourcesErr = -29298
	KMPInvalidIDErr             = -29299
	KMPIterationEndErr          = -29275
	KMPPrivilegedErr            = -29276
	KMPProcessCreatedErr        = -29288
	KMPProcessTerminatedErr     = -29289
	KMPTaskAbortedErr           = -29297
	KMPTaskBlockedErr           = -29291
	KMPTaskCreatedErr           = -29290
	KMPTaskStoppedErr           = -29292
	KMPTimeoutErr               = -29296
)
View Source
const (
	KMPHighLevelDebugger = 536870912
	KMPLowLevelDebugger  = 0
	KMPMidLevelDebugger  = 268435456
)
View Source
const (
	KMPPreserveTimerIDMask = 1
	KMPTimeIsDeltaMask     = 2
	KMPTimeIsDurationMask  = 4
)
View Source
const (
	KMPAddressSpaceInfoVersion   = 524289
	KMPCriticalRegionInfoVersion = 393217
	KMPEventInfoVersion          = 589825
	KMPNotificationInfoVersion   = 786433
	KMPQueueInfoVersion          = 262145
	KMPSemaphoreInfoVersion      = 327681
)
View Source
const (
	KMPTaskBlocked = 0
	KMPTaskReady   = 1
	KMPTaskRunning = 2
)
View Source
const (
	KMPTaskPropagate        = 0
	KMPTaskPropagateMask    = 1
	KMPTaskResumeBranch     = 2
	KMPTaskResumeBranchMask = 4
	KMPTaskResumeMask       = 0
	KMPTaskResumeStep       = 1
	KMPTaskResumeStepMask   = 2
)
View Source
const (
	KMPTaskState32BitMemoryException = 4
	KMPTaskStateFPU                  = 1
	KMPTaskStateMachine              = 3
	KMPTaskStateRegisters            = 0
	KMPTaskStateTaskInfo             = 5
	KMPTaskStateVectors              = 2
)
View Source
const (
	KMacArabicAlBayanVariant  = 3
	KMacArabicStandardVariant = 0
	KMacArabicThuluthVariant  = 2
	KMacArabicTrueTypeVariant = 1
)
View Source
const (
	KMacCroatianCurrencySignVariant = 1
	KMacCroatianDefaultVariant      = 0
	KMacCroatianEuroSignVariant     = 2
)
View Source
const (
	KMacCyrillicCurrSignStdVariant = 1
	KMacCyrillicCurrSignUkrVariant = 2
	KMacCyrillicDefaultVariant     = 0
	KMacCyrillicEuroSignVariant    = 3
)
View Source
const (
	KMacFarsiStandardVariant = 0
	KMacFarsiTrueTypeVariant = 1
)
View Source
const (
	KMacGreekDefaultVariant    = 0
	KMacGreekEuroSignVariant   = 2
	KMacGreekNoEuroSignVariant = 1
)
View Source
const (
	KMacHebrewFigureSpaceVariant = 1
	KMacHebrewStandardVariant    = 0
)
View Source
const (
	KMacIcelandicStdCurrSignVariant = 2
	KMacIcelandicStdDefaultVariant  = 0
	KMacIcelandicStdEuroSignVariant = 4
	KMacIcelandicTTCurrSignVariant  = 3
	KMacIcelandicTTDefaultVariant   = 1
	KMacIcelandicTTEuroSignVariant  = 5
)
View Source
const (
	KMacJapaneseBasicVariant           = 2
	KMacJapanesePostScriptPrintVariant = 4
	KMacJapanesePostScriptScrnVariant  = 3
	KMacJapaneseStandardVariant        = 0
	KMacJapaneseStdNoVerticalsVariant  = 1
	KMacJapaneseVertAtKuPlusTenVariant = 5
)
View Source
const (
	KMacRomanCurrencySignVariant = 1
	KMacRomanDefaultVariant      = 0
	KMacRomanEuroSignVariant     = 2
)
View Source
const (
	KMacRomanLatin1CroatianVariant  = 8
	KMacRomanLatin1DefaultVariant   = 0
	KMacRomanLatin1IcelandicVariant = 11
	KMacRomanLatin1RomanianVariant  = 14
	KMacRomanLatin1StandardVariant  = 2
	KMacRomanLatin1TurkishVariant   = 6
)
View Source
const (
	KHebrewFigureSpaceVariant       = 1
	KHebrewStandardVariant          = 0
	KJapaneseBasicVariant           = 2
	KJapanesePostScriptPrintVariant = 4
	KJapanesePostScriptScrnVariant  = 3
	KJapaneseStandardVariant        = 0
	KJapaneseStdNoVerticalsVariant  = 1
	KJapaneseVertAtKuPlusTenVariant = 5
	KMacIcelandicStandardVariant    = 0
	KMacIcelandicTrueTypeVariant    = 1
	KMacRomanStandardVariant        = 0
	KTextEncodingShiftJIS_X0213_00  = 1576
	KUnicodeCanonicalCompVariant    = 3
	KUnicodeCanonicalDecompVariant  = 2
	KUnicodeMaxDecomposedVariant    = 2
	KUnicodeNoComposedVariant       = 3
)
View Source
const (
	KMacRomanianCurrencySignVariant = 1
	KMacRomanianDefaultVariant      = 0
	KMacRomanianEuroSignVariant     = 2
)
View Source
const (
	KMacVT100CurrencySignVariant = 1
	KMacVT100DefaultVariant      = 0
	KMacVT100EuroSignVariant     = 2
)
View Source
const (
	KCurrentUserRemoteFolderLocation      = 1920299878
	KCurrentUserRemoteFolderType          = 1920299890
	KMagicTemporaryItemsFolderType        = 1836346736
	KTemporaryItemsInUserDomainFolderType = 1952804209
)
View Source
const (
	KModemOutOfMemory        = -14000
	KModemPreferencesMissing = -14001
	KModemScriptMissing      = -14002
)
View Source
const (
	KNSL68kContextNotSupported     = -4170
	KNSLBadClientInfoPtr           = -4185
	KNSLBadDataTypeErr             = -4193
	KNSLBadNetConnection           = -4192
	KNSLBadProtocolTypeErr         = -4183
	KNSLBadReferenceErr            = -4195
	KNSLBadServiceTypeErr          = -4194
	KNSLBadURLSyntax               = -4172
	KNSLBufferTooSmallForData      = -4187
	KNSLCannotContinueLookup       = -4186
	KNSLErrNullPtrError            = -4176
	KNSLInitializationFailed       = -4200
	KNSLInsufficientOTVer          = -4197
	KNSLInsufficientSysVer         = -4198
	KNSLInvalidPluginSpec          = -4190
	KNSLNoCarbonLib                = -4173
	KNSLNoContextAvailable         = -4188
	KNSLNoElementsInList           = -4196
	KNSLNoPluginsForSearch         = -4179
	KNSLNoPluginsFound             = -4181
	KNSLNoSupportForService        = -4191
	KNSLNotImplementedYet          = -4175
	KNSLNotInitialized             = -4199
	KNSLNullListPtr                = -4184
	KNSLNullNeighborhoodPtr        = -4178
	KNSLPluginLoadFailed           = -4182
	KNSLRequestBufferAlreadyInList = -4189
	KNSLSchedulerError             = -4171
	KNSLSearchAlreadyInProgress    = -4180
	KNSLSomePluginsFailedToLoad    = -4177
	KNSLUILibraryNotAvailable      = -4174
)
View Source
const (
	KNSpAddPlayerFailedErr       = -30389
	KNSpAddressInUseErr          = -30380
	KNSpAlreadyAdvertisingErr    = -30374
	KNSpAlreadyInitializedErr    = -30361
	KNSpCantBlockErr             = -30398
	KNSpConnectFailedErr         = -30395
	KNSpCreateGroupFailedErr     = -30388
	KNSpFeatureNotImplementedErr = -30381
	KNSpFreeQExhaustedErr        = -30378
	KNSpGameTerminatedErr        = -30394
	KNSpHostFailedErr            = -30365
	KNSpInitializationFailedErr  = -30360
	KNSpInvalidAddressErr        = -30377
	KNSpInvalidDefinitionErr     = -30390
	KNSpInvalidGameRefErr        = -30367
	KNSpInvalidGroupIDErr        = -30384
	KNSpInvalidParameterErr      = -30369
	KNSpInvalidPlayerIDErr       = -30383
	KNSpInvalidProtocolListErr   = -30392
	KNSpInvalidProtocolRefErr    = -30391
	KNSpJoinFailedErr            = -30399
	KNSpMemAllocationErr         = -30373
	KNSpMessageTooBigErr         = -30397
	KNSpNameRequiredErr          = -30382
	KNSpNoGroupsErr              = -30386
	KNSpNoHostVolunteersErr      = -30387
	KNSpNoPlayersErr             = -30385
	KNSpNotAdvertisingErr        = -30376
	KNSpOTNotPresentErr          = -30370
	KNSpOTVersionTooOldErr       = -30371
	KNSpPipeFullErr              = -30364
	KNSpProtocolNotAvailableErr  = -30366
	KNSpRemovePlayerFailedErr    = -30379
	KNSpSendFailedErr            = -30396
	KNSpTimeoutErr               = -30393
	KNSpTopologyNotSupportedErr  = -30362
)
View Source
const (
	KNavCustomControlMessageFailedErr  = -5697
	KNavInvalidCustomControlMessageErr = -5698
	KNavInvalidSystemConfigErr         = -5696
	KNavMissingKindStringErr           = -5699
	KNavWrongDialogClassErr            = -5695
	KNavWrongDialogStateErr            = -5694
)
View Source
const (
	KCreateIfNeeded   = 4
	KExactMatchThread = 16
	KFPUNotNeeded     = 8
	KNewSuspend       = 1
	KUsePremadeThread = 2
)
View Source
const (
	KFourByteCode = 3
	KNoByteCode   = 0
	KOneByteCode  = 1
	KTwoByteCode  = 2
)
View Source
const (
	KApplicationThreadID = 2
	KCurrentThreadID     = 1
	KNoThreadID          = 0
)
View Source
const (
	KEncryptPassword       = 3
	KNoUserAuthentication  = 1
	KPassword              = 2
	KTwoWayEncryptPassword = 6
)
View Source
const (
	KEACCESErr                 = -3212
	KEADDRINUSEErr             = -3247
	KEADDRNOTAVAILErr          = -3248
	KEAGAINErr                 = -3210
	KEALREADYErr               = -3236
	KEBADFErr                  = -3208
	KEBADMSGErr                = -3272
	KEBUSYErr                  = -3215
	KECANCELErr                = -3273
	KECONNABORTEDErr           = -3252
	KECONNREFUSEDErr           = -3260
	KECONNRESETErr             = -3253
	KEDEADLKErr                = -3234
	KEDESTADDRREQErr           = -3238
	KEEXISTErr                 = -3216
	KEFAULTErr                 = -3213
	KEHOSTDOWNErr              = -3263
	KEHOSTUNREACHErr           = -3264
	KEINPROGRESSErr            = -3276
	KEINTRErr                  = -3203
	KEINVALErr                 = -3221
	KEIOErr                    = -3204
	KEISCONNErr                = -3255
	KEMSGSIZEErr               = -3239
	KENETDOWNErr               = -3249
	KENETRESETErr              = -3251
	KENETUNREACHErr            = -3250
	KENOBUFSErr                = -3254
	KENODATAErr                = -3275
	KENODEVErr                 = -3218
	KENOENTErr                 = -3201
	KENOMEMErr                 = -3211
	KENOMSGErr                 = -3278
	KENOPROTOOPTErr            = -3241
	KENORSRCErr                = -3202
	KENOSRErr                  = -3271
	KENOSTRErr                 = -3274
	KENOTCONNErr               = -3256
	KENOTSOCKErr               = -3237
	KENOTTYErr                 = -3224
	KENXIOErr                  = -3205
	KEOPNOTSUPPErr             = -3244
	KEPERMErr                  = -3200
	KEPIPEErr                  = -3231
	KEPROTOErr                 = -3269
	KEPROTONOSUPPORTErr        = -3242
	KEPROTOTYPEErr             = -3240
	KERANGEErr                 = -3233
	KESHUTDOWNErr              = -3257
	KESOCKTNOSUPPORTErr        = -3243
	KESRCHErr                  = -3277
	KETIMEDOUTErr              = -3259
	KETIMEErr                  = -3270
	KETOOMANYREFSErr           = -3258
	KEWOULDBLOCKErr            = -3234
	KOTAccessErr               = -3152
	KOTAddressBusyErr          = -3172
	KOTBadAddressErr           = -3150
	KOTBadConfigurationErr     = -3282
	KOTBadDataErr              = -3159
	KOTBadFlagErr              = -3165
	KOTBadNameErr              = -3170
	KOTBadOptionErr            = -3151
	KOTBadQLenErr              = -3171
	KOTBadReferenceErr         = -3153
	KOTBadSequenceErr          = -3156
	KOTBadSyncErr              = -3179
	KOTBufferOverflowErr       = -3160
	KOTCanceledErr             = -3180
	KOTClientNotInittedErr     = -3279
	KOTConfigurationChangedErr = -3283
	KOTDuplicateFoundErr       = -3216
	KOTFlowErr                 = -3161
	KOTIndOutErr               = -3173
	KOTLookErr                 = -3158
	KOTNoAddressErr            = -3154
	KOTNoDataErr               = -3162
	KOTNoDisconnectErr         = -3163
	KOTNoError                 = 0
	KOTNoReleaseErr            = -3166
	KOTNoStructureTypeErr      = -3169
	KOTNoUDErrErr              = -3164
	KOTNotFoundErr             = -3201
	KOTNotSupportedErr         = -3167
	KOTOutOfMemoryErr          = -3211
	KOTOutStateErr             = -3155
	KOTPortHasDiedErr          = -3280
	KOTPortLostConnection      = -3285
	KOTPortWasEjectedErr       = -3281
	KOTProtocolErr             = -3178
	KOTProviderMismatchErr     = -3174
	KOTQFullErr                = -3177
	KOTResAddressErr           = -3176
	KOTResQLenErr              = -3175
	KOTStateChangeErr          = -3168
	KOTSysErrorErr             = -3157
	KOTUserRequestedErr        = -3284
)
View Source
const (
	KCFM68kRTA  = 16
	KOld68kRTA  = 0
	KPowerPCRTA = 0
)
View Source
const (
	KFolderManagerLastDomain = -32760
	KLocalDomain             = -32765
	KNetworkDomain           = -32764
	KOnAppropriateDisk       = -32767
	KOnSystemDisk            = -32768
	KSystemDomain            = -32766
	KUserDomain              = -32763
)
View Source
const (
	KOpaqueAddressSpaceID   = 8
	KOpaqueAnyID            = 0
	KOpaqueAreaID           = 11
	KOpaqueCoherenceID      = 10
	KOpaqueConsoleID        = 13
	KOpaqueCpuID            = 7
	KOpaqueCriticalRegionID = 6
	KOpaqueEventID          = 9
	KOpaqueNotificationID   = 12
	KOpaqueProcessID        = 1
	KOpaqueQueueID          = 4
	KOpaqueSemaphoreID      = 5
	KOpaqueTaskID           = 2
	KOpaqueTimerID          = 3
)
View Source
const (
	KGroupID2Name    = 2
	KGroupName2ID    = 4
	KOwnerID2Name    = 1
	KOwnerName2ID    = 3
	KReturnNextGroup = 2
	KReturnNextUG    = 3
	KReturnNextUser  = 1
)
View Source
const (
	KPEFAbsoluteExport   = -2
	KPEFReexportedImport = -3
)
View Source
const (
	KPEFCodeSection         = 0
	KPEFConstantSection     = 3
	KPEFDebugSection        = 5
	KPEFExceptionSection    = 7
	KPEFExecDataSection     = 6
	KPEFLoaderSection       = 4
	KPEFPackedDataSection   = 2
	KPEFTracebackSection    = 8
	KPEFUnpackedDataSection = 1
)
View Source
const (
	KPEFCodeSymbol        = 0
	KPEFDataSymbol        = 1
	KPEFGlueSymbol        = 4
	KPEFTOCSymbol         = 3
	KPEFTVectorSymbol     = 2
	KPEFUndefinedSymbol   = 15
	KPEFWeakImportSymMask = 128
)
View Source
const (
	KPEFExpSymClassShift     = 24
	KPEFExpSymMaxNameOffset  = 16777215
	KPEFExpSymNameOffsetMask = 16777215
)
View Source
const (
	KPEFHashLengthShift = 16
	KPEFHashMaxLength   = 65535
	KPEFHashValueMask   = 65535
)
View Source
const (
	KPEFHashSlotFirstKeyMask   = 262143
	KPEFHashSlotMaxKeyIndex    = 262143
	KPEFHashSlotMaxSymbolCount = 16383
	KPEFHashSlotSymCountShift  = 18
)
View Source
const (
	KPEFImpSymClassShift     = 24
	KPEFImpSymMaxNameOffset  = 16777215
	KPEFImpSymNameOffsetMask = 16777215
)
View Source
const (
	KPEFPkDataCount5Mask    = 31
	KPEFPkDataMaxCount5     = 31
	KPEFPkDataOpcodeShift   = 5
	KPEFPkDataVCountEndMask = 128
	KPEFPkDataVCountMask    = 127
	KPEFPkDataVCountShift   = 7
)
View Source
const (
	KPEFPkDataBlock       = 1
	KPEFPkDataRepeat      = 2
	KPEFPkDataRepeatBlock = 3
	KPEFPkDataRepeatZero  = 4
	KPEFPkDataZero        = 0
)
View Source
const (
	KPEFGlobalShare    = 4
	KPEFProcessShare   = 1
	KPEFProtectedShare = 5
)
View Source
const (
	KPEFRelocBySectC          = 32
	KPEFRelocBySectD          = 33
	KPEFRelocBySectDWithSkip  = 0
	KPEFRelocImportRun        = 37
	KPEFRelocIncrPosition     = 64
	KPEFRelocLgByImport       = 82
	KPEFRelocLgRepeat         = 88
	KPEFRelocLgSetOrBySection = 90
	KPEFRelocSetPosition      = 80
	KPEFRelocSmByImport       = 48
	KPEFRelocSmBySection      = 51
	KPEFRelocSmRepeat         = 72
	KPEFRelocSmSetSectC       = 49
	KPEFRelocSmSetSectD       = 50
	KPEFRelocTVector12        = 34
	KPEFRelocTVector8         = 35
	KPEFRelocUndefinedOpcode  = 255
	KPEFRelocVTable8          = 36
)
View Source
const (
	KPEFRelocLgBySectionSubopcode = 0
	KPEFRelocLgSetSectCSubopcode  = 1
	KPEFRelocLgSetSectDSubopcode  = 2
)
View Source
const (
	KPEFRelocLgRepeatMaxChunkCount  = 16
	KPEFRelocLgRepeatMaxRepeatCount = 4194303
)
View Source
const (
	KPEFRelocSmRepeatMaxChunkCount  = 16
	KPEFRelocSmRepeatMaxRepeatCount = 256
)
View Source
const (
	KPEFRelocWithSkipMaxRelocCount = 63
	KPEFRelocWithSkipMaxSkipCount  = 255
)
View Source
const (
	KPEFTag1    = 1248819489
	KPEFTag2    = 1885693542
	KPEFVersion = 1
)
View Source
const (
	KPEFInitLibBeforeMask = 128
	KPEFWeakImportLibMask = 64
)
View Source
const (
	KPOSIXErrorBase            = 100000
	KPOSIXErrorE2BIG           = 100007
	KPOSIXErrorEACCES          = 100013
	KPOSIXErrorEADDRINUSE      = 100048
	KPOSIXErrorEADDRNOTAVAIL   = 100049
	KPOSIXErrorEAFNOSUPPORT    = 100047
	KPOSIXErrorEAGAIN          = 100035
	KPOSIXErrorEALREADY        = 100037
	KPOSIXErrorEAUTH           = 100080
	KPOSIXErrorEBADARCH        = 100086
	KPOSIXErrorEBADEXEC        = 100085
	KPOSIXErrorEBADF           = 100009
	KPOSIXErrorEBADMACHO       = 100088
	KPOSIXErrorEBADMSG         = 100094
	KPOSIXErrorEBADRPC         = 100072
	KPOSIXErrorEBUSY           = 100016
	KPOSIXErrorECANCELED       = 100089
	KPOSIXErrorECHILD          = 100010
	KPOSIXErrorECONNABORTED    = 100053
	KPOSIXErrorECONNREFUSED    = 100061
	KPOSIXErrorECONNRESET      = 100054
	KPOSIXErrorEDEADLK         = 100011
	KPOSIXErrorEDESTADDRREQ    = 100039
	KPOSIXErrorEDEVERR         = 100083
	KPOSIXErrorEDOM            = 100033
	KPOSIXErrorEDQUOT          = 100069
	KPOSIXErrorEEXIST          = 100017
	KPOSIXErrorEFAULT          = 100014
	KPOSIXErrorEFBIG           = 100027
	KPOSIXErrorEFTYPE          = 100079
	KPOSIXErrorEHOSTDOWN       = 100064
	KPOSIXErrorEHOSTUNREACH    = 100065
	KPOSIXErrorEIDRM           = 100090
	KPOSIXErrorEILSEQ          = 100092
	KPOSIXErrorEINPROGRESS     = 100036
	KPOSIXErrorEINTR           = 100004
	KPOSIXErrorEINVAL          = 100022
	KPOSIXErrorEIO             = 100005
	KPOSIXErrorEISCONN         = 100056
	KPOSIXErrorEISDIR          = 100021
	KPOSIXErrorELOOP           = 100062
	KPOSIXErrorEMFILE          = 100024
	KPOSIXErrorEMLINK          = 100031
	KPOSIXErrorEMSGSIZE        = 100040
	KPOSIXErrorEMULTIHOP       = 100095
	KPOSIXErrorENAMETOOLONG    = 100063
	KPOSIXErrorENEEDAUTH       = 100081
	KPOSIXErrorENETDOWN        = 100050
	KPOSIXErrorENETRESET       = 100052
	KPOSIXErrorENETUNREACH     = 100051
	KPOSIXErrorENFILE          = 100023
	KPOSIXErrorENOATTR         = 100093
	KPOSIXErrorENOBUFS         = 100055
	KPOSIXErrorENODATA         = 100096
	KPOSIXErrorENODEV          = 100019
	KPOSIXErrorENOENT          = 100002
	KPOSIXErrorENOEXEC         = 100008
	KPOSIXErrorENOLCK          = 100077
	KPOSIXErrorENOLINK         = 100097
	KPOSIXErrorENOMEM          = 100012
	KPOSIXErrorENOMSG          = 100091
	KPOSIXErrorENOPROTOOPT     = 100042
	KPOSIXErrorENOSPC          = 100028
	KPOSIXErrorENOSR           = 100098
	KPOSIXErrorENOSTR          = 100099
	KPOSIXErrorENOSYS          = 100078
	KPOSIXErrorENOTBLK         = 100015
	KPOSIXErrorENOTCONN        = 100057
	KPOSIXErrorENOTDIR         = 100020
	KPOSIXErrorENOTEMPTY       = 100066
	KPOSIXErrorENOTSOCK        = 100038
	KPOSIXErrorENOTSUP         = 100045
	KPOSIXErrorENOTTY          = 100025
	KPOSIXErrorENXIO           = 100006
	KPOSIXErrorEOPNOTSUPP      = 100102
	KPOSIXErrorEOVERFLOW       = 100084
	KPOSIXErrorEPERM           = 100001
	KPOSIXErrorEPFNOSUPPORT    = 100046
	KPOSIXErrorEPIPE           = 100032
	KPOSIXErrorEPROCLIM        = 100067
	KPOSIXErrorEPROCUNAVAIL    = 100076
	KPOSIXErrorEPROGMISMATCH   = 100075
	KPOSIXErrorEPROGUNAVAIL    = 100074
	KPOSIXErrorEPROTO          = 100100
	KPOSIXErrorEPROTONOSUPPORT = 100043
	KPOSIXErrorEPROTOTYPE      = 100041
	KPOSIXErrorEPWROFF         = 100082
	KPOSIXErrorERANGE          = 100034
	KPOSIXErrorEREMOTE         = 100071
	KPOSIXErrorEROFS           = 100030
	KPOSIXErrorERPCMISMATCH    = 100073
	KPOSIXErrorESHLIBVERS      = 100087
	KPOSIXErrorESHUTDOWN       = 100058
	KPOSIXErrorESOCKTNOSUPPORT = 100044
	KPOSIXErrorESPIPE          = 100029
	KPOSIXErrorESRCH           = 100003
	KPOSIXErrorESTALE          = 100070
	KPOSIXErrorETIME           = 100101
	KPOSIXErrorETIMEDOUT       = 100060
	KPOSIXErrorETOOMANYREFS    = 100059
	KPOSIXErrorETXTBSY         = 100026
	KPOSIXErrorEUSERS          = 100068
	KPOSIXErrorEXDEV           = 100018
)
View Source
const (
	KNotPaged     = 2
	KPageInMemory = 0
	KPageOnDisk   = 1
)
View Source
const (
	KCStackBased                     = 1
	KD0DispatchedCStackBased         = 9
	KD0DispatchedPascalStackBased    = 8
	KD1DispatchedPascalStackBased    = 12
	KPascalStackBased                = 0
	KRegisterBased                   = 2
	KStackDispatchedPascalStackBased = 14
	KThinkCStackBased                = 5
)
View Source
const (
	KDontPassSelector = 8
	KPassSelector     = 0
)
View Source
const (
	KBridgeSoftwareRunningCantSleep     = -13038
	KCantReportProcessorTemperatureErr  = -13013
	KNoSuchPowerSource                  = -13020
	KPowerHandlerExistsForDeviceErr     = -13006
	KPowerHandlerNotFoundForDeviceErr   = -13007
	KPowerHandlerNotFoundForProcErr     = -13008
	KPowerMgtMessageNotHandled          = -13009
	KPowerMgtRequestDenied              = -13010
	KProcessorTempRoutineRequiresMPLib2 = -13014
)
View Source
const (
	KProcDescriptorIsAbsolute = 0
	KProcDescriptorIsRelative = 1
)
View Source
const (
	KProcDescriptorIsIndex   = 32
	KProcDescriptorIsProcPtr = 0
)
View Source
const (
	KQDCorruptPICTDataErr      = -3954
	KQDCursorAlreadyRegistered = -3952
	KQDCursorNotRegistered     = -3953
	KQDNoColorHWCursorSupport  = -3951
	KQDNoPalette               = -3950
)
View Source
const (
	KRAATalkInactive           = -7134
	KRACallBackFailed          = -7138
	KRAConfigurationDBInitErr  = -7127
	KRAConnectionCanceled      = -7109
	KRADuplicateIPAddr         = -7137
	KRAExtAuthenticationFailed = -7135
	KRAIncompatiblePrefs       = -7107
	KRAInitOpenTransportFailed = -7122
	KRAInstallationDamaged     = -7113
	KRAInternalError           = -7112
	KRAInvalidParameter        = -7100
	KRAInvalidPassword         = -7111
	KRAInvalidPort             = -7101
	KRAInvalidPortState        = -7116
	KRAInvalidSerialProtocol   = -7117
	KRAMissingResources        = -7106
	KRANCPRejectedbyPeer       = -7136
	KRANotConnected            = -7108
	KRANotEnabled              = -7139
	KRANotPrimaryInterface     = -7126
	KRANotSupported            = -7105
	KRAOutOfMemory             = -7104
	KRAPPPAuthenticationFailed = -7129
	KRAPPPNegotiationFailed    = -7130
	KRAPPPPeerDisconnected     = -7132
	KRAPPPProtocolRejected     = -7128
	KRAPPPUserDisconnected     = -7131
	KRAPeerNotResponding       = -7133
	KRAPortBusy                = -7114
	KRAPortSetupFailed         = -7103
	KRARemoteAccessNotReady    = -7123
	KRAStartupFailed           = -7102
	KRATCPIPInactive           = -7124
	KRATCPIPNotConfigured      = -7125
	KRAUnknownPortState        = -7115
	KRAUnknownUser             = -7110
	KRAUserInteractionRequired = -7121
	KRAUserLoginDisabled       = -7118
	KRAUserPwdChangeRequired   = -7119
	KRAUserPwdEntryRequired    = -7120
)
View Source
const (
	KReadyThreadState   = 0
	KRunningThreadState = 2
	KStoppedThreadState = 1
)
View Source
const (
	KCCRegisterCBit = 16
	KCCRegisterNBit = 19
	KCCRegisterVBit = 17
	KCCRegisterXBit = 20
	KCCRegisterZBit = 18
	KRegisterA0     = 4
	KRegisterA1     = 5
	KRegisterA2     = 6
	KRegisterA3     = 7
	KRegisterA4     = 12
	KRegisterA5     = 13
	KRegisterA6     = 14
	KRegisterD0     = 0
	KRegisterD1     = 1
	KRegisterD2     = 2
	KRegisterD3     = 3
	KRegisterD4     = 8
	KRegisterD5     = 9
	KRegisterD6     = 10
	KRegisterD7     = 11
)
View Source
const (
	KRedirectedRelativeFolder = 1920099692
	KRelativeFolder           = 1919249510
	KSpecialFolder            = 1936745318
)
View Source
const (
	KResFileNotOpened = -1
	KSystemResFile    = 0
)
View Source
const (
	KResolveAliasFileNoUI       = 1
	KResolveAliasTryFileIDFirst = 2
)
View Source
const (
	KRoutineIsDispatchedDefaultRoutine    = 16
	KRoutineIsNotDispatchedDefaultRoutine = 0
)
View Source
const (
	KRoutingResourceID   = 0
	KRoutingResourceType = 1919907188
)
View Source
const (
	KRsrcChainAboveAllMaps        = 4
	KRsrcChainAboveApplicationMap = 2
	KRsrcChainBelowApplicationMap = 1
	KRsrcChainBelowSystemMap      = 0
)
View Source
const (
	KSSpCantInstallErr      = -30342
	KSSpInternalErr         = -30340
	KSSpParallelUpVectorErr = -30343
	KSSpScaleToZeroErr      = -30344
	KSSpVersionErr          = -30341
)
View Source
const (
	KSelectorsAreIndexable    = 1
	KSelectorsAreNotIndexable = 0
)
View Source
const (
	KFavoritesFolderType           = 1717663347
	KFolderActionsFolderType       = 1717662566
	KInstallerLogsFolderType       = 1768712038
	KInternetSearchSitesFolderType = 1769173862
	KKeychainFolderType            = 1801676910
	KScriptsFolderType             = 1935897284
	KSharedLibrariesFolderType     = 3295439202
	KSpeakableItemsFolderType      = 1936747369
	KThemesFolderType              = 1953000805
	KUtilitiesFolderType           = 1970563524
	KVoicesFolderType              = 1719037795
)
View Source
const (
	KShiftJIS_BasicVariant   = 0
	KShiftJIS_DOSVariant     = 1
	KShiftJIS_MusicCDVariant = 2
)
View Source
const (
	KSpecialCaseCaretHook       = 0
	KSpecialCaseDrawHook        = 4
	KSpecialCaseEOLHook         = 1
	KSpecialCaseGNEFilterProc   = 11
	KSpecialCaseHighHook        = 0
	KSpecialCaseHitTestHook     = 5
	KSpecialCaseMBarHook        = 12
	KSpecialCaseNWidthHook      = 3
	KSpecialCaseProtocolHandler = 7
	KSpecialCaseSocketListener  = 8
	KSpecialCaseTEDoText        = 10
	KSpecialCaseTEFindWord      = 6
	KSpecialCaseTERecalc        = 9
	KSpecialCaseTextWidthHook   = 2
	KSpecialCaseWidthHook       = 2
)
View Source
const (
	KAppleMenuFolderAliasType        = 1717657965
	KControlPanelFolderAliasType     = 1717658484
	KExtensionFolderAliasType        = 1717659000
	KPreferencesFolderAliasType      = 1717661798
	KPrintMonitorDocsFolderAliasType = 1717661806
	KStartupFolderAliasType          = 1717662580
	KSystemFolderAliasType           = 1717662585
)
View Source
const (
	KALMLocationsFolderType                     = 1717660780
	KALMModulesFolderType                       = 2002873451
	KALMPreferencesFolderType                   = 1953655152
	KAppearanceFolderType                       = 1634758770
	KAppleExtrasFolderType                      = 1634040004
	KAppleMenuFolderType                        = 1634561653
	KAppleshareAutomountServerAliasesFolderType = 1936881348
	KAssistantsFolderType                       = 1634956484
	KContextualMenuItemsFolderType              = 1668116085
	KControlPanelDisabledFolderType             = 1668575812
	KControlPanelFolderType                     = 1668575852
	KControlStripModulesFolderType              = 1935959414
	KDesktopPicturesFolderType                  = 1685352644
	KDisplayExtensionsFolderType                = 1685287020
	KEditorsFolderType                          = 1868850532
	KExtensionDisabledFolderType                = 1702392900
	KExtensionFolderType                        = 1702392942
	KFindByContentFolderType                    = 1717724006
	KFindByContentPluginsFolderType             = 1717724016
	KFindSupportFolderType                      = 1718510707
	KGenEditorsFolderType                       = 3294979177
	KHelpFolderType                             = 3295177840
	KInternetFolderType                         = 1768846532
	KInternetPlugInFolderType                   = 3295569268
	KLauncherItemsFolderType                    = 1818326382
	KLocalesFolderType                          = 3295440739
	KMacOSReadMesFolderType                     = 1836020420
	KModemScriptsFolderType                     = 3295506276
	KMultiprocessingFolderType                  = 1836087398
	KOpenDocEditorsFolderType                   = 3295634534
	KOpenDocFolderType                          = 1868853092
	KOpenDocLibrariesFolderType                 = 1868852322
	KOpenDocShellPlugInsFolderType              = 1868854128
	KPreMacOS91AppleExtrasFolderType            = 2355460292
	KPreMacOS91ApplicationsFolderType           = 2356179059
	KPreMacOS91AssistantsFolderType             = 2356376772
	KPreMacOS91AutomountedServersFolderType     = 2809296580
	KPreMacOS91InstallerLogsFolderType          = 2490132326
	KPreMacOS91InternetFolderType               = 2490266820
	KPreMacOS91MacOSReadMesFolderType           = 3043979972
	KPreMacOS91StationeryFolderType             = 3211031412
	KPreMacOS91UtilitiesFolderType              = 2675206596
	KPrintMonitorDocsFolderType                 = 1886547572
	KPrintingPlugInsFolderType                  = 1886415975
	KQuickTimeExtensionsFolderType              = 1903453560
	KRecentApplicationsFolderType               = 1918988400
	KRecentDocumentsFolderType                  = 1919184739
	KRecentServersFolderType                    = 1920169586
	KShutdownFolderType                         = 1936221286
	KShutdownItemsDisabledFolderType            = 1936221252
	KSoundSetsFolderType                        = 1936614515
	KStartupFolderType                          = 1937011316
	KStartupItemsDisabledFolderType             = 1937011268
	KStationeryFolderType                       = 1868854132
	KSystemControlPanelFolderType               = 1935897708
	KSystemDesktopFolderType                    = 1935962987
	KSystemExtensionDisabledFolderType          = 1835098948
	KSystemFolderType                           = 1835098995
	KSystemTrashFolderType                      = 1937011315
	KVolumeSettingsFolderType                   = 1987274340
)
View Source
const (
	KTECAvailableEncodingsResType = 1668703598
	KTECAvailableSniffersResType  = 1668707174
	KTECConversionInfoResType     = 1668704614
	KTECInternetNamesResType      = 1668705645
	KTECMailEncodingsResType      = 1668705644
	KTECSubTextEncodingsResType   = 1668707170
	KTECWebEncodingsResType       = 1668708194
)
View Source
const (
	KTECDisableFallbacksBit     = 16
	KTECDisableLooseMappingsBit = 17
)
View Source
const (
	KTECDisableFallbacksMask     = 65536
	KTECDisableLooseMappingsMask = 131072
)
View Source
const (
	KTECInternetNameDefaultUsageMask  = 0
	KTECInternetNameStrictUsageMask   = 1
	KTECInternetNameTolerantUsageMask = 2
)
View Source
const (
	KTECAddFallbackInterruptBit  = 7
	KTECAddForceASCIIChangesBit  = 4
	KTECAddTextRunHeuristicsBit  = 6
	KTECFallbackTextLengthFixBit = 1
	KTECKeepInfoFixBit           = 0
	KTECPreferredEncodingFixBit  = 5
	KTECTextRunBitClearFixBit    = 2
	KTECTextToUnicodeScanFixBit  = 3
)
View Source
const (
	KTECAddFallbackInterruptMask  = 128
	KTECAddForceASCIIChangesMask  = 16
	KTECAddTextRunHeuristicsMask  = 64
	KTECFallbackTextLengthFixMask = 2
	KTECKeepInfoFixMask           = 1
	KTECPreferredEncodingFixMask  = 32
	KTECTextRunBitClearFixMask    = 4
	KTECTextToUnicodeScanFixMask  = 8
)
View Source
const (
	KTECPluginDispatchTableCurrentVersion = 65538
	KTECPluginDispatchTableVersion1       = 65536
	KTECPluginDispatchTableVersion1_1     = 65537
	KTECPluginDispatchTableVersion1_2     = 65538
)
View Source
const (
	KTECPluginCreator   = 1701733238
	KTECPluginManyToOne = 1836347247
	KTECPluginOneToMany = 1869901677
	KTECPluginOneToOne  = 1869901679
	KTECPluginSniffObj  = 1936615782
	KTECPluginType      = 1701015655
)
View Source
const (
	KTECChinesePluginSignature  = 1887070319
	KTECJapanesePluginSignature = 1886023790
	KTECKoreanPluginSignature   = 1886089074
	KTECSignature               = 1701733238
	KTECUnicodePluginSignature  = 1886744169
)
View Source
const (
	KTXNATSUIIsNotInstalledErr              = -22016
	KTXNAlreadyInitializedErr               = -22012
	KTXNAttributeTagInvalidForRunErr        = -22009
	KTXNBadDefaultFileTypeWarning           = -22005
	KTXNCannotAddFrameErr                   = -22001
	KTXNCannotSetAutoIndentErr              = -22006
	KTXNCannotTurnTSMOffWhenUsingUnicodeErr = -22013
	KTXNCopyNotAllowedInEchoModeErr         = -22014
	KTXNDataTypeNotAllowedErr               = -22015
	KTXNEndIterationErr                     = -22000
	KTXNIllegalToCrossDataBoundariesErr     = -22003
	KTXNInvalidFrameIDErr                   = -22002
	KTXNInvalidRunIndex                     = -22011
	KTXNNoMatchErr                          = -22008
	KTXNOutsideOfFrameErr                   = -22018
	KTXNOutsideOfLineErr                    = -22017
	KTXNRunIndexOutofBoundsErr              = -22007
	KTXNSomeOrAllTagsInvalidForRunErr       = -22010
	KTXNUserCanceledOperationErr            = -22004
)
View Source
const (
	KTextEncodingDOSArabic          = 1049
	KTextEncodingDOSBalticRim       = 1030
	KTextEncodingDOSCanadianFrench  = 1048
	KTextEncodingDOSChineseSimplif  = 1057
	KTextEncodingDOSChineseTrad     = 1059
	KTextEncodingDOSCyrillic        = 1043
	KTextEncodingDOSGreek           = 1029
	KTextEncodingDOSGreek1          = 1041
	KTextEncodingDOSGreek2          = 1052
	KTextEncodingDOSHebrew          = 1047
	KTextEncodingDOSIcelandic       = 1046
	KTextEncodingDOSJapanese        = 1056
	KTextEncodingDOSKorean          = 1058
	KTextEncodingDOSLatin1          = 1040
	KTextEncodingDOSLatin2          = 1042
	KTextEncodingDOSLatinUS         = 1024
	KTextEncodingDOSNordic          = 1050
	KTextEncodingDOSPortuguese      = 1045
	KTextEncodingDOSRussian         = 1051
	KTextEncodingDOSThai            = 1053
	KTextEncodingDOSTurkish         = 1044
	KTextEncodingWindowsANSI        = 1280
	KTextEncodingWindowsArabic      = 1286
	KTextEncodingWindowsBalticRim   = 1287
	KTextEncodingWindowsCyrillic    = 1282
	KTextEncodingWindowsGreek       = 1283
	KTextEncodingWindowsHebrew      = 1285
	KTextEncodingWindowsKoreanJohab = 1296
	KTextEncodingWindowsLatin1      = 1280
	KTextEncodingWindowsLatin2      = 1281
	KTextEncodingWindowsLatin5      = 1284
	KTextEncodingWindowsVietnamese  = 1288
)
View Source
const (
	KTextEncodingDefaultFormat = 0
	KUnicode16BitFormat        = 0
	KUnicode32BitFormat        = 3
	KUnicodeSCSUFormat         = 8
	KUnicodeUTF16BEFormat      = 4
	KUnicodeUTF16Format        = 0
	KUnicodeUTF16LEFormat      = 5
	KUnicodeUTF32BEFormat      = 6
	KUnicodeUTF32Format        = 3
	KUnicodeUTF32LEFormat      = 7
	KUnicodeUTF7Format         = 1
	KUnicodeUTF8Format         = 2
)
View Source
const (
	KTextEncodingEBCDIC_CP037     = 3074
	KTextEncodingEBCDIC_LatinCore = 3073
)
View Source
const (
	KTextEncodingEUC_CN = 2352
	KTextEncodingEUC_JP = 2336
	KTextEncodingEUC_KR = 2368
	KTextEncodingEUC_TW = 2353
)
View Source
const (
	KTextEncodingBaseName    = 1
	KTextEncodingFormatName  = 3
	KTextEncodingFullName    = 0
	KTextEncodingVariantName = 2
)
View Source
const (
	KTextEncodingISOLatin1        = 513
	KTextEncodingISOLatin10       = 528
	KTextEncodingISOLatin2        = 514
	KTextEncodingISOLatin3        = 515
	KTextEncodingISOLatin4        = 516
	KTextEncodingISOLatin5        = 521
	KTextEncodingISOLatin6        = 522
	KTextEncodingISOLatin7        = 525
	KTextEncodingISOLatin8        = 526
	KTextEncodingISOLatin9        = 527
	KTextEncodingISOLatinArabic   = 518
	KTextEncodingISOLatinCyrillic = 517
	KTextEncodingISOLatinGreek    = 519
	KTextEncodingISOLatinHebrew   = 520
)
View Source
const (
	KTextEncodingISO_2022_CN     = 2096
	KTextEncodingISO_2022_CN_EXT = 2097
	KTextEncodingISO_2022_JP     = 2080
	KTextEncodingISO_2022_JP_1   = 2082
	KTextEncodingISO_2022_JP_2   = 2081
	KTextEncodingISO_2022_JP_3   = 2083
	KTextEncodingISO_2022_KR     = 2112
)
View Source
const (
	KTextEncodingMacFarsi     = 140
	KTextEncodingMacInuit     = 236
	KTextEncodingMacUkrainian = 152
	KTextEncodingMacVT100     = 252
)
View Source
const (
	KTextEncodingMacArabic          = 4
	KTextEncodingMacArmenian        = 24
	KTextEncodingMacBengali         = 13
	KTextEncodingMacBurmese         = 19
	KTextEncodingMacCeltic          = 39
	KTextEncodingMacCentralEurRoman = 29
	KTextEncodingMacChineseSimp     = 25
	KTextEncodingMacChineseTrad     = 2
	KTextEncodingMacCroatian        = 36
	KTextEncodingMacCyrillic        = 7
	KTextEncodingMacDevanagari      = 9
	KTextEncodingMacDingbats        = 34
	KTextEncodingMacEthiopic        = 28
	KTextEncodingMacExtArabic       = 31
	KTextEncodingMacGaelic          = 40
	KTextEncodingMacGeorgian        = 23
	KTextEncodingMacGreek           = 6
	KTextEncodingMacGujarati        = 11
	KTextEncodingMacGurmukhi        = 10
	KTextEncodingMacHebrew          = 5
	KTextEncodingMacIcelandic       = 37
	KTextEncodingMacJapanese        = 1
	KTextEncodingMacKannada         = 16
	KTextEncodingMacKeyboardGlyphs  = 41
	KTextEncodingMacKhmer           = 20
	KTextEncodingMacKorean          = 3
	KTextEncodingMacLaotian         = 22
	KTextEncodingMacMalayalam       = 17
	KTextEncodingMacMongolian       = 27
	KTextEncodingMacOriya           = 12
	KTextEncodingMacRoman           = 0
	KTextEncodingMacRomanian        = 38
	KTextEncodingMacSinhalese       = 18
	KTextEncodingMacSymbol          = 33
	KTextEncodingMacTamil           = 14
	KTextEncodingMacTelugu          = 15
	KTextEncodingMacThai            = 21
	KTextEncodingMacTibetan         = 26
	KTextEncodingMacTurkish         = 35
	KTextEncodingMacVietnamese      = 30
)
View Source
const (
	KTextEncodingMacEastEurRoman = 29
	KTextEncodingMacGeez         = 28
	KTextEncodingMacRSymbol      = 8
	KTextEncodingMacSimpChinese  = 25
	KTextEncodingMacTradChinese  = 2
	KTextEncodingMacUninterp     = 32
)
View Source
const (
	KTextEncodingMultiRun = 4095
	KTextEncodingUnknown  = 65535
)
View Source
const (
	KTextEncodingNextStepJapanese = 2818
	KTextEncodingNextStepLatin    = 2817
)
View Source
const (
	KTextEncodingBig5            = 2563
	KTextEncodingBig5_E          = 2569
	KTextEncodingBig5_HKSCS_1999 = 2566
	KTextEncodingHZ_GB_2312      = 2565
	KTextEncodingKOI8_R          = 2562
	KTextEncodingKOI8_U          = 2568
	KTextEncodingMacRomanLatin1  = 2564
	KTextEncodingShiftJIS        = 2561
	KTextEncodingVISCII          = 2567
)
View Source
const (
	KTextEncodingANSEL              = 1537
	KTextEncodingCNS_11643_92_P1    = 1617
	KTextEncodingCNS_11643_92_P2    = 1618
	KTextEncodingCNS_11643_92_P3    = 1619
	KTextEncodingGBK_95             = 1585
	KTextEncodingGB_18030_2000      = 1586
	KTextEncodingGB_18030_2005      = 1586
	KTextEncodingGB_2312_80         = 1584
	KTextEncodingJIS_C6226_78       = 1572
	KTextEncodingJIS_X0201_76       = 1568
	KTextEncodingJIS_X0208_83       = 1569
	KTextEncodingJIS_X0208_90       = 1570
	KTextEncodingJIS_X0212_90       = 1571
	KTextEncodingJIS_X0213_MenKuTen = 1577
	KTextEncodingKSC_5601_87        = 1600
	KTextEncodingKSC_5601_92_Johab  = 1601
	KTextEncodingShiftJIS_X0213     = 1576
	KTextEncodingUS_ASCII           = 1536
)
View Source
const (
	KTextEncodingISO10646_1993  = 257
	KTextEncodingUnicodeDefault = 256
	KTextEncodingUnicodeV10_0   = 276
	KTextEncodingUnicodeV11_0   = 277
	KTextEncodingUnicodeV12_1   = 278
	KTextEncodingUnicodeV13_0   = 279
	KTextEncodingUnicodeV14_0   = 280
	KTextEncodingUnicodeV15_0   = 281
	KTextEncodingUnicodeV15_1   = 282
	KTextEncodingUnicodeV1_1    = 257
	KTextEncodingUnicodeV2_0    = 259
	KTextEncodingUnicodeV2_1    = 259
	KTextEncodingUnicodeV3_0    = 260
	KTextEncodingUnicodeV3_1    = 261
	KTextEncodingUnicodeV3_2    = 262
	KTextEncodingUnicodeV4_0    = 264
	KTextEncodingUnicodeV5_0    = 266
	KTextEncodingUnicodeV5_1    = 267
	KTextEncodingUnicodeV6_0    = 269
	KTextEncodingUnicodeV6_1    = 270
	KTextEncodingUnicodeV6_3    = 272
	KTextEncodingUnicodeV7_0    = 273
	KTextEncodingUnicodeV8_0    = 274
	KTextEncodingUnicodeV9_0    = 275
)
View Source
const (
	KTextCenter       = 1
	KTextFlushDefault = 0
	KTextFlushLeft    = -2
	KTextFlushRight   = -1
)
View Source
const (
	KTextLanguageDontCare = -128
	KTextRegionDontCare   = -128
	KTextScriptDontCare   = -128
)
View Source
const (
	KTECArrayFullErr              = -8751
	KTECBadTextRunErr             = -8752
	KTECBufferBelowMinimumSizeErr = -8750
	KTECCorruptConverterErr       = -8748
	KTECDirectionErr              = -8756
	KTECGlobalsUnavailableErr     = -8770
	KTECIncompleteElementErr      = -8755
	KTECItemUnavailableErr        = -8771
	KTECMissingTableErr           = -8745
	KTECNeedFlushStatus           = -8784
	KTECNoConversionPathErr       = -8749
	KTECOutputBufferFullStatus    = -8785
	KTECPartialCharErr            = -8753
	KTECTableChecksumErr          = -8746
	KTECTableFormatErr            = -8747
	KTECUnmappableElementErr      = -8754
	KTECUsedFallbacksStatus       = -8783
	KTextMalformedInputErr        = -8739
	KTextUndefinedElementErr      = -8740
	KTextUnsupportedEncodingErr   = -8738
	UnicodeBufErr                 = -8764
	UnicodeCharErr                = -8763
	UnicodeChecksumErr            = -8769
	UnicodeContextualErr          = -8758
	UnicodeDirectionErr           = -8759
	UnicodeElementErr             = -8762
	UnicodeFallbacksErr           = -8766
	UnicodeNoTableErr             = -8768
	UnicodeNotFoundErr            = -8761
	UnicodePartConvertErr         = -8765
	UnicodeTableFormatErr         = -8760
	UnicodeTextEncodingDataErr    = -8757
	UnicodeVariantErr             = -8767
)
View Source
const (
	KUCBidiCatArabicNumber          = 6
	KUCBidiCatBlockSeparator        = 8
	KUCBidiCatBoundaryNeutral       = 19
	KUCBidiCatCommonNumberSeparator = 7
	KUCBidiCatEuroNumber            = 3
	KUCBidiCatEuroNumberSeparator   = 4
	KUCBidiCatEuroNumberTerminator  = 5
	KUCBidiCatFirstStrongIsolate    = 22
	KUCBidiCatLeftRight             = 1
	KUCBidiCatLeftRightEmbedding    = 13
	KUCBidiCatLeftRightIsolate      = 20
	KUCBidiCatLeftRightOverride     = 15
	KUCBidiCatNonSpacingMark        = 18
	KUCBidiCatNotApplicable         = 0
	KUCBidiCatOtherNeutral          = 11
	KUCBidiCatPopDirectionalFormat  = 17
	KUCBidiCatPopDirectionalIsolate = 23
	KUCBidiCatRightLeft             = 2
	KUCBidiCatRightLeftArabic       = 12
	KUCBidiCatRightLeftEmbedding    = 14
	KUCBidiCatRightLeftIsolate      = 21
	KUCBidiCatRightLeftOverride     = 16
	KUCBidiCatSegmentSeparator      = 9
	KUCBidiCatWhitespace            = 10
)
View Source
const (
	KUCCharPropTypeBidiCategory      = 3
	KUCCharPropTypeCombiningClass    = 2
	KUCCharPropTypeDecimalDigitValue = 4
	KUCCharPropTypeGenlCategory      = 1
)
View Source
const (
	KUCCollateCaseInsensitiveMask        = 8
	KUCCollateComposeInsensitiveMask     = 2
	KUCCollateDiacritInsensitiveMask     = 16
	KUCCollateDigitsAsNumberMask         = 131072
	KUCCollateDigitsOverrideMask         = 65536
	KUCCollatePunctuationSignificantMask = 32768
	KUCCollateWidthInsensitiveMask       = 4
)
View Source
const (
	KUCCollateTypeShiftBits  = 24
	KUCCollateTypeSourceMask = 255
)
View Source
const (
	KUCGenlCatLetterLowercase      = 15
	KUCGenlCatLetterModifier       = 17
	KUCGenlCatLetterOther          = 18
	KUCGenlCatLetterTitlecase      = 16
	KUCGenlCatLetterUppercase      = 14
	KUCGenlCatMarkEnclosing        = 7
	KUCGenlCatMarkNonSpacing       = 5
	KUCGenlCatMarkSpacingCombining = 6
	KUCGenlCatNumberDecimalDigit   = 8
	KUCGenlCatNumberLetter         = 9
	KUCGenlCatNumberOther          = 10
	KUCGenlCatOtherControl         = 1
	KUCGenlCatOtherFormat          = 2
	KUCGenlCatOtherNotAssigned     = 0
	KUCGenlCatOtherPrivateUse      = 4
	KUCGenlCatOtherSurrogate       = 3
	KUCGenlCatPunctClose           = 23
	KUCGenlCatPunctConnector       = 20
	KUCGenlCatPunctDash            = 21
	KUCGenlCatPunctFinalQuote      = 25
	KUCGenlCatPunctInitialQuote    = 24
	KUCGenlCatPunctOpen            = 22
	KUCGenlCatPunctOther           = 26
	KUCGenlCatSeparatorLine        = 12
	KUCGenlCatSeparatorParagraph   = 13
	KUCGenlCatSeparatorSpace       = 11
	KUCGenlCatSymbolCurrency       = 29
	KUCGenlCatSymbolMath           = 28
	KUCGenlCatSymbolModifier       = 30
	KUCGenlCatSymbolOther          = 31
)
View Source
const (
	KUCHighSurrogateRangeEnd   = 56319
	KUCHighSurrogateRangeStart = 55296
	KUCLowSurrogateRangeEnd    = 57343
	KUCLowSurrogateRangeStart  = 56320
)
View Source
const (
	KUCKeyActionAutoKey = 2
	KUCKeyActionDisplay = 3
	KUCKeyActionDown    = 0
	KUCKeyActionUp      = 1
)
View Source
const (
	KUCKeyLayoutFeatureInfoFormat   = 8193
	KUCKeyLayoutHeaderFormat        = 4098
	KUCKeyModifiersToTableNumFormat = 12289
	KUCKeySequenceDataIndexFormat   = 28673
	KUCKeyStateRecordsIndexFormat   = 20481
	KUCKeyStateTerminatorsFormat    = 24577
	KUCKeyToCharTableIndexFormat    = 16385
)
View Source
const (
	KUCKeyOutputGetIndexMask      = 16383
	KUCKeyOutputSequenceIndexMask = 32768
	KUCKeyOutputStateIndexMask    = 16384
	KUCKeyOutputTestForIndexMask  = 49152
)
View Source
const (
	KUCKeyStateEntryRangeFormat    = 2
	KUCKeyStateEntryTerminalFormat = 1
)
View Source
const (
	KUCOutputBufferTooSmall        = -25340
	KUCTextBreakLocatorMissingType = -25341
)
View Source
const (
	KUCTSDirectionNext     = 0
	KUCTSDirectionPrevious = 1
)
View Source
const (
	KUCTSNoKeysAddedToObjectErr = -25342
	KUCTSSearchListErr          = -25343
)
View Source
const (
	KUCTSOptionsDataIsOrderedMask = 2
	KUCTSOptionsNoneMask          = 0
	KUCTSOptionsReleaseStringMask = 1
)
View Source
const (
	KUCTextBreakCharMask      = 1
	KUCTextBreakClusterMask   = 4
	KUCTextBreakLineMask      = 64
	KUCTextBreakParagraphMask = 256
	KUCTextBreakWordMask      = 16
)
View Source
const (
	KUCTextBreakGoBackwardsMask = 2
	KUCTextBreakIterateMask     = 4
	KUCTextBreakLeadingEdgeMask = 1
)
View Source
const (
	KUCTokenNotFound              = -25346
	KUCTokenizerIterationFinished = -25344
	KUCTokenizerUnknownLang       = -25345
)
View Source
const (
	KURL68kNotSupportedError          = -30788
	KURLAccessNotAvailableError       = -30787
	KURLAuthenticationError           = -30776
	KURLDestinationExistsError        = -30772
	KURLExtensionFailureError         = -30785
	KURLFileEmptyError                = -30783
	KURLInvalidCallError              = -30781
	KURLInvalidConfigurationError     = -30786
	KURLInvalidURLError               = -30773
	KURLInvalidURLReferenceError      = -30770
	KURLProgressAlreadyDisplayedError = -30771
	KURLPropertyBufferTooSmallError   = -30779
	KURLPropertyNotYetKnownError      = -30777
	KURLServerBusyError               = -30775
	KURLUnknownPropertyError          = -30778
	KURLUnsettablePropertyError       = -30780
	KURLUnsupportedSchemeError        = -30774
)
View Source
const (
	KUSBInternalReserved1  = -6960
	KUSBInternalReserved10 = -6951
	KUSBInternalReserved2  = -6959
	KUSBInternalReserved3  = -6958
	KUSBInternalReserved4  = -6957
	KUSBInternalReserved5  = -6956
	KUSBInternalReserved6  = -6955
	KUSBInternalReserved7  = -6954
	KUSBInternalReserved8  = -6953
	KUSBInternalReserved9  = -6952
)
View Source
const (
	KUSBNoDelay = 0
	KUSBNoErr   = 0
	KUSBNoTran  = 0
	KUSBPending = 1
)
View Source
const (
	KUSBBitstufErr       = -6914
	KUSBBufOvrRunErr     = -6904
	KUSBBufUnderRunErr   = -6903
	KUSBCRCErr           = -6915
	KUSBDataToggleErr    = -6913
	KUSBEndpointStallErr = -6912
	KUSBLinkErr          = -6916
	KUSBNotRespondingErr = -6911
	KUSBNotSent1Err      = -6902
	KUSBNotSent2Err      = -6901
	KUSBOverRunErr       = -6908
	KUSBPIDCheckErr      = -6910
	KUSBRes1Err          = -6906
	KUSBRes2Err          = -6905
	KUSBUnderRunErr      = -6907
	KUSBWrongPIDErr      = -6909
)
View Source
const (
	KUSBAbortedError           = -6982
	KUSBAlreadyOpenErr         = -6991
	KUSBCompletionError        = -6984
	KUSBDeviceBusy             = -6977
	KUSBDeviceDisconnected     = -6972
	KUSBDeviceErr              = -6989
	KUSBDeviceNotSuspended     = -6973
	KUSBDevicePowerProblem     = -6976
	KUSBDeviceSuspended        = -6974
	KUSBFlagsError             = -6983
	KUSBIncorrectTypeErr       = -6995
	KUSBInternalErr            = -6999
	KUSBInvalidBuffer          = -6975
	KUSBNoBandwidthError       = -6981
	KUSBNoDeviceErr            = -6990
	KUSBNotFound               = -6987
	KUSBOutOfMemoryErr         = -6988
	KUSBPBLengthError          = -6985
	KUSBPBVersionError         = -6986
	KUSBPipeIdleError          = -6980
	KUSBPipeStalledError       = -6979
	KUSBPortDisabled           = -6969
	KUSBQueueAborted           = -6970
	KUSBRqErr                  = -6994
	KUSBTimedOut               = -6971
	KUSBTooManyPipesErr        = -6996
	KUSBTooManyTransactionsErr = -6992
	KUSBUnknownDeviceErr       = -6998
	KUSBUnknownInterfaceErr    = -6978
	KUSBUnknownPipeErr         = -6997
	KUSBUnknownRequestErr      = -6993
)
View Source
const (
	KUSBBadDispatchTable    = -6950
	KUSBNotHandled          = -6987
	KUSBQueueFull           = -6948
	KUSBUnknownNotification = -6949
)
View Source
const (
	KIllegalClockValueErr = -8852
	KUTCOverflowErr       = -8851
	KUTCUnderflowErr      = -8850
)
View Source
const (
	KUnicodeByteOrderMark        = 65279
	KUnicodeNotAChar             = 65535
	KUnicodeObjectReplacement    = 65532
	KUnicodeReplacementChar      = 65533
	KUnicodeSwappedByteOrderMark = 65534
)
View Source
const (
	KUnicodeDefaultDirection = 0
	KUnicodeLeftToRight      = 1
	KUnicodeRightToLeft      = 2
)
View Source
const (
	KUnicodeDefaultDirectionMask = 0
	KUnicodeLeftToRightMask      = 4
	KUnicodeRightToLeftMask      = 8
)
View Source
const (
	KUnicodeFallbackCustomFirst  = 3
	KUnicodeFallbackCustomOnly   = 1
	KUnicodeFallbackDefaultFirst = 2
	KUnicodeFallbackDefaultOnly  = 0
)
View Source
const (
	KUnicodeFallbackInterruptSafeMask = 4
	KUnicodeFallbackSequencingMask    = 3
)
View Source
const (
	KUnicodeMatchOtherBaseBit      = 3
	KUnicodeMatchOtherFormatBit    = 5
	KUnicodeMatchOtherVariantBit   = 4
	KUnicodeMatchUnicodeBaseBit    = 0
	KUnicodeMatchUnicodeFormatBit  = 2
	KUnicodeMatchUnicodeVariantBit = 1
)
View Source
const (
	KUnicodeMatchOtherBaseMask      = 8
	KUnicodeMatchOtherFormatMask    = 32
	KUnicodeMatchOtherVariantMask   = 16
	KUnicodeMatchUnicodeBaseMask    = 1
	KUnicodeMatchUnicodeFormatMask  = 4
	KUnicodeMatchUnicodeVariantMask = 2
)
View Source
const (
	KUnicodeNoCompatibilityVariant = 1
	KUnicodeNoCorporateVariant     = 4
)
View Source
const (
	KUnicodeHFSPlusCompVariant   = 9
	KUnicodeHFSPlusDecompVariant = 8
	KUnicodeNoSubset             = 0
	KUnicodeNormalizationFormC   = 3
	KUnicodeNormalizationFormD   = 5
)
View Source
const (
	KUnicodeDirectionalityBits         = 2
	KUnicodeForceASCIIRangeBit         = 9
	KUnicodeKeepInfoBit                = 1
	KUnicodeKeepSameEncodingBit        = 8
	KUnicodeLooseMappingsBit           = 5
	KUnicodeMapLineFeedToReturnBit     = 12
	KUnicodeNoHalfwidthCharsBit        = 10
	KUnicodeStringUnterminatedBit      = 6
	KUnicodeTextRunBit                 = 7
	KUnicodeTextRunHeuristicsBit       = 11
	KUnicodeUseExternalEncodingFormBit = 13
	KUnicodeUseFallbacksBit            = 0
	KUnicodeVerticalFormBit            = 4
)
View Source
const (
	KUnicodeDirectionalityMask          = 12
	KUnicodeForceASCIIRangeMask         = 512
	KUnicodeKeepInfoMask                = 2
	KUnicodeKeepSameEncodingMask        = 256
	KUnicodeLooseMappingsMask           = 32
	KUnicodeMapLineFeedToReturnMask     = 4096
	KUnicodeNoHalfwidthCharsMask        = 1024
	KUnicodeStringUnterminatedMask      = 64
	KUnicodeTextRunHeuristicsMask       = 2048
	KUnicodeTextRunMask                 = 128
	KUnicodeUseExternalEncodingFormMask = 8192
	KUnicodeUseFallbacksMask            = 1
	KUnicodeVerticalFormMask            = 16
)
View Source
const (
	KUnicodeUseHFSPlusMapping = 4
	KUnicodeUseLatestMapping  = -1
)
View Source
const (
	KAccessException                = 3
	KDataAlignmentException         = 17
	KDataBreakpointException        = 11
	KExcludedMemoryException        = 5
	KFloatingPointException         = 13
	KIllegalInstructionException    = 1
	KInstructionBreakpointException = 10
	KIntegerException               = 12
	KPrivilegeViolationException    = 8
	KReadOnlyMemoryException        = 6
	KStackOverflowException         = 14
	KTaskCreationException          = 16
	KTaskTerminationException       = 15
	KTraceException                 = 9
	KTrapException                  = 2
	KUnknownException               = 0
	KUnmappedMemoryException        = 4
	KUnresolvablePageFaultException = 7
)
View Source
const (
	KUseCurrentISA = 0
	KUseNativeISA  = 4
)
View Source
const (
	KVCBFlagsHFSPlusAPIsBit   = 4
	KVCBFlagsHFSPlusAPIsMask  = 16
	KVCBFlagsHardwareGoneBit  = 5
	KVCBFlagsHardwareGoneMask = 32
	KVCBFlagsIdleFlushBit     = 3
	KVCBFlagsIdleFlushMask    = 8
	KVCBFlagsVolumeDirtyBit   = 15
	KVCBFlagsVolumeDirtyMask  = 32768
)
View Source
const (
	KMaximumBlocksIn4GB = 8388607
	KUseWidePositioning = 256
	KWidePosOffsetBit   = 8
)
View Source
const (
	KScreenSaversFolderType = 1935897198
	KWidgetsFolderType      = 2003068788
)
View Source
const (
	KWindowsLatin1PalmVariant     = 1
	KWindowsLatin1StandardVariant = 0
)
View Source
const (
	FetchReference  = 2
	KFetchReference = 2
	KReadReference  = 1
	KWriteReference = 0
	ReadReference   = 1
	WriteReference  = 0
)
View Source
const (
	KBLibTag2    = 1112303970
	KVLibTag2    = 1447848290
	KXLibTag1    = -263364253
	KXLibVersion = 1
)
View Source
const (
	KernelAlreadyFreeErr       = -2421
	KernelAsyncReceiveLimitErr = -2414
	KernelAsyncSendLimitErr    = -2413
	KernelAttributeErr         = -2412
	KernelCanceledErr          = -2402
	KernelDeletePermissionErr  = -2410
	KernelExceptionErr         = -2418
	KernelExecutePermissionErr = -2409
	KernelExecutionLevelErr    = -2411
	KernelIDErr                = -2419
	KernelInUseErr             = -2416
	KernelIncompleteErr        = -2401
	KernelObjectExistsErr      = -2406
	KernelOptionsErr           = -2403
	KernelPrivilegeErr         = -2404
	KernelReadPermissionErr    = -2408
	KernelReturnValueErr       = -2422
	KernelTerminatedErr        = -2417
	KernelTimeoutErr           = -2415
	KernelUnrecoverableErr     = -2499
	KernelUnsupportedErr       = -2405
	KernelWritePermissionErr   = -2407
)
View Source
const (
	KfullPrivileges               = 458759
	KioACAccessBlankAccessBit     = 28
	KioACAccessBlankAccessMask    = 268435456
	KioACAccessEveryoneReadBit    = 17
	KioACAccessEveryoneReadMask   = 131072
	KioACAccessEveryoneSearchBit  = 16
	KioACAccessEveryoneSearchMask = 65536
	KioACAccessEveryoneWriteBit   = 18
	KioACAccessEveryoneWriteMask  = 262144
	KioACAccessGroupReadBit       = 9
	KioACAccessGroupReadMask      = 512
	KioACAccessGroupSearchBit     = 8
	KioACAccessGroupSearchMask    = 256
	KioACAccessGroupWriteBit      = 10
	KioACAccessGroupWriteMask     = 1024
	KioACAccessOwnerBit           = 31
	KioACAccessOwnerMask          = -2147483648
	KioACAccessOwnerReadBit       = 1
	KioACAccessOwnerReadMask      = 2
	KioACAccessOwnerSearchBit     = 0
	KioACAccessOwnerSearchMask    = 1
	KioACAccessOwnerWriteBit      = 2
	KioACAccessOwnerWriteMask     = 4
	KioACAccessUserReadBit        = 25
	KioACAccessUserReadMask       = 33554432
	KioACAccessUserSearchBit      = 24
	KioACAccessUserSearchMask     = 16777216
	KioACAccessUserWriteBit       = 26
	KioACAccessUserWriteMask      = 67108864
	KownerPrivileges              = 7
)
View Source
const (
	KioACUserNoMakeChangesBit  = 2
	KioACUserNoMakeChangesMask = 4
	KioACUserNoSeeFilesBit     = 1
	KioACUserNoSeeFilesMask    = 2
	KioACUserNoSeeFolderBit    = 0
	KioACUserNoSeeFolderMask   = 1
	KioACUserNotOwnerBit       = 7
	KioACUserNotOwnerMask      = 128
)
View Source
const (
	KioFCBFileLockedBit   = 13
	KioFCBFileLockedMask  = 8192
	KioFCBLargeFileBit    = 11
	KioFCBLargeFileMask   = 2048
	KioFCBModifiedBit     = 15
	KioFCBModifiedMask    = 32768
	KioFCBOwnClumpBit     = 14
	KioFCBOwnClumpMask    = 16384
	KioFCBResourceBit     = 9
	KioFCBResourceMask    = 512
	KioFCBSharedWriteBit  = 12
	KioFCBSharedWriteMask = 4096
	KioFCBWriteBit        = 8
	KioFCBWriteLockedBit  = 10
	KioFCBWriteLockedMask = 1024
	KioFCBWriteMask       = 256
)
View Source
const (
	IoDirFlg                  = 4
	IoDirMask                 = 16
	KioFlAttribCopyProtBit    = 6
	KioFlAttribCopyProtMask   = 64
	KioFlAttribDataOpenBit    = 3
	KioFlAttribDataOpenMask   = 8
	KioFlAttribDirBit         = 4
	KioFlAttribDirMask        = 16
	KioFlAttribFileOpenBit    = 7
	KioFlAttribFileOpenMask   = 128
	KioFlAttribInSharedBit    = 2
	KioFlAttribInSharedMask   = 4
	KioFlAttribLockedBit      = 0
	KioFlAttribLockedMask     = 1
	KioFlAttribMountedBit     = 3
	KioFlAttribMountedMask    = 8
	KioFlAttribResOpenBit     = 2
	KioFlAttribResOpenMask    = 4
	KioFlAttribSharePointBit  = 5
	KioFlAttribSharePointMask = 32
)
View Source
const (
	KioVAtrbDefaultVolumeBit   = 5
	KioVAtrbDefaultVolumeMask  = 32
	KioVAtrbFilesOpenBit       = 6
	KioVAtrbFilesOpenMask      = 64
	KioVAtrbHardwareLockedBit  = 7
	KioVAtrbHardwareLockedMask = 128
	KioVAtrbSoftwareLockedBit  = 15
	KioVAtrbSoftwareLockedMask = 32768
)
View Source
const (
	KadministratorUser = 1
	KnoUser            = 0
)
View Source
const (
	LaDictionaryNotOpenedErr = -6992
	LaDictionaryTooManyErr   = -6994
	LaDictionaryUnknownErr   = -6993
	LaEngineNotFoundErr      = -7000
	LaEnvironmentBusyErr     = -6985
	LaEnvironmentExistErr    = -6987
	LaEnvironmentNotFoundErr = -6986
	LaFailAnalysisErr        = -6990
	LaInvalidPathErr         = -6988
	LaNoMoreMorphemeErr      = -6989
	LaPropertyErr            = -6999
	LaPropertyIsReadOnlyErr  = -6997
	LaPropertyNotFoundErr    = -6998
	LaPropertyUnknownErr     = -6996
	LaPropertyValueErr       = -6995
	LaTextOverFlowErr        = -6991
	LaTooSmallBufferErr      = -6984
)
View Source
const (
	LangAzerbaijanRoman   = 150
	LangBreton            = 142
	LangGreekAncient      = 148
	LangGreenlandic       = 149
	LangInuktitut         = 143
	LangIrishGaelicScript = 146
	LangManxGaelic        = 145
	LangNynorsk           = 151
	LangScottishGaelic    = 144
	LangTongan            = 147
)
View Source
const (
	LangArabic      = 12
	LangCroatian    = 18
	LangDanish      = 7
	LangDutch       = 4
	LangEnglish     = 0
	LangFinnish     = 13
	LangFrench      = 1
	LangGerman      = 2
	LangGreek       = 14
	LangHebrew      = 10
	LangHindi       = 21
	LangIcelandic   = 15
	LangItalian     = 3
	LangJapanese    = 11
	LangKorean      = 23
	LangMaltese     = 16
	LangNorwegian   = 9
	LangPortuguese  = 8
	LangSpanish     = 6
	LangSwedish     = 5
	LangThai        = 22
	LangTradChinese = 19
	LangTurkish     = 17
	LangUrdu        = 20
)
View Source
const (
	LangAlbanian     = 36
	LangBelorussian  = 46
	LangBulgarian    = 44
	LangByelorussian = 46
	LangCzech        = 38
	LangEstonian     = 27
	LangFaroese      = 30
	LangFarsi        = 31
	LangFlemish      = 34
	LangHungarian    = 26
	LangIrishGaelic  = 35
	LangLatvian      = 28
	LangLithuanian   = 24
	LangMacedonian   = 43
	LangPersian      = 31
	LangPolish       = 25
	LangRomanian     = 37
	LangRussian      = 32
	LangSami         = 29
	LangSerbian      = 42
	LangSimpChinese  = 33
	LangSlovak       = 39
	LangSlovenian    = 40
	LangUkrainian    = 45
	LangYiddish      = 41
)
View Source
const (
	LangAmharic     = 85
	LangBurmese     = 77
	LangChewa       = 92
	LangEsperanto   = 94
	LangIndonesian  = 81
	LangKannada     = 73
	LangKhmer       = 78
	LangKinyarwanda = 90
	LangLao         = 79
	LangMalagasy    = 93
	LangMalayArabic = 84
	LangMalayRoman  = 83
	LangMalayalam   = 72
	LangNyanja      = 92
	LangOriya       = 71
	LangOromo       = 87
	LangRuanda      = 90
	LangRundi       = 91
	LangSinhalese   = 76
	LangSomali      = 88
	LangSwahili     = 89
	LangTagalog     = 82
	LangTamil       = 74
	LangTelugu      = 75
	LangTigrinya    = 86
	LangVietnamese  = 80
)
View Source
const (
	LangAfricaans   = 141
	LangChinese     = 19
	LangFaeroese    = 30
	LangGalla       = 87
	LangGreekPoly   = 148
	LangIrish       = 35
	LangLappish     = 29
	LangLapponian   = 29
	LangLettish     = 28
	LangMalta       = 16
	LangPortugese   = 8
	LangSaamisk     = 29
	LangYugoslavian = 18
)
View Source
const (
	LangArmenian     = 51
	LangAssamese     = 68
	LangAzerbaijanAr = 50
	LangAzerbaijani  = 49
	LangBengali      = 67
	LangGeorgian     = 52
	LangGujarati     = 69
	LangKashmiri     = 61
	LangKazakh       = 48
	LangKirghiz      = 54
	LangKurdish      = 60
	LangMarathi      = 66
	LangMoldavian    = 53
	LangMongolian    = 57
	LangMongolianCyr = 58
	LangNepali       = 64
	LangPashto       = 59
	LangPunjabi      = 70
	LangSanskrit     = 65
	LangSindhi       = 62
	LangTajiki       = 55
	LangTibetan      = 63
	LangTurkmen      = 56
	LangUzbek        = 47
)
View Source
const (
	LangAfrikaans    = 141
	LangAymara       = 134
	LangBasque       = 129
	LangCatalan      = 130
	LangDzongkha     = 137
	LangGalician     = 140
	LangGuarani      = 133
	LangJavaneseRom  = 138
	LangLatin        = 131
	LangQuechua      = 132
	LangSundaneseRom = 139
	LangTatar        = 135
	LangUighur       = 136
	LangWelsh        = 128
)
View Source
const (
	MapChanged  = 32
	MapCompact  = 64
	MapReadOnly = 128
)
View Source
const (
	MapChangedBit  = 5
	MapCompactBit  = 6
	MapReadOnlyBit = 7
)
View Source
const (
	Dmy = 1
	Dym = 4
	Mdy = 0
	Myd = 3
	Ydm = 5
	Ymd = 2
)
View Source
const (
	MemAZErr     = -113
	MemAdrErr    = -110
	MemBCErr     = -115
	MemFullErr   = -108
	MemLockedErr = -117
	MemPCErr     = -114
	MemPurErr    = -112
	MemROZErr    = -99
	MemROZError  = -99
	MemROZWarn   = -99
	MemSCErr     = -116
	MemWZErr     = -111
	NilHandleErr = -109
)
View Source
const (
	MenuInvalidErr          = -5623
	MenuItemNotFoundErr     = -5622
	MenuNotFoundErr         = -5620
	MenuPropertyInvalid     = -5603
	MenuPropertyInvalidErr  = -5603
	MenuPropertyNotFoundErr = -5604
	MenuUsesSystemDefErr    = -5621
)
View Source
const (
	MidiDupIDErr        = -260
	MidiInvalidCmdErr   = -261
	MidiNameLenErr      = -259
	MidiNoClientErr     = -250
	MidiNoConErr        = -257
	MidiNoPortErr       = -251
	MidiTooManyConsErr  = -253
	MidiTooManyPortsErr = -252
	MidiVConnectErr     = -254
	MidiVConnectMade    = -255
	MidiVConnectRmvd    = -256
	MidiWriteErr        = -258
)
View Source
const (
	MaxCountry = 108
	MinCountry = 0
)
View Source
const (
	MpWorkFlagCopyWorkBlock     = 4
	MpWorkFlagDoCompletion      = 2
	MpWorkFlagDoWork            = 1
	MpWorkFlagDontBlock         = 8
	MpWorkFlagGetIsRunning      = 64
	MpWorkFlagGetProcessorCount = 16
)
View Source
const (
	NbpBuffOvr   = -1024
	NbpConfDiff  = -1026
	NbpDuplicate = -1027
	NbpNISErr    = -1029
	NbpNoConfirm = -1025
	NbpNotFound  = -1028
)
View Source
const (
	BadBtSlpErr = -70
	BadCksmErr  = -69
	BadDBtSlp   = -73
	BadDCksum   = -72
	BreakRecd   = -90
	CantStepErr = -75
	ClkRdErr    = -85
	ClkWrErr    = -86
	DataVerErr  = -68
	Fmt1Err     = -82
	Fmt2Err     = -83
	InitIWMErr  = -77
	NoAdrMkErr  = -67
	NoDtaMkErr  = -71
	PrInitErr   = -88
	PrWrErr     = -87
	RcvrErr     = -89
	SectNFErr   = -81
	SeekErr     = -80
	SpdAdjErr   = -79
	Tk0BadErr   = -76
	TwoSideErr  = -78
	VerErr      = -84
	WrUnderrun  = -74
)
View Source
const (
	BadControllerHeight                = -9994
	BadSGChannel                       = -9406
	CannotMoveAttachedController       = -9999
	CannotSetWidthOfAttachedController = -9997
	CantDoThatInCurrentMode            = -9402
	ControllerBoundsNotExact           = -9996
	ControllerHasFixedHeight           = -9998
	CouldntGetRequiredComponent        = -9405
	DeviceCantMeetRequest              = -9408
	EditingNotAllowed                  = -9995
	GrabTimeComplete                   = -9401
	NoDeviceForChannel                 = -9400
	NotEnoughDiskSpaceToGrab           = -9404
	NotEnoughMemoryToGrab              = -9403
	SeqGrabInfoNotAvailable            = -9407
)
View Source
const (
	BadChannel                   = -205
	BadFileFormat                = -208
	BadFormat                    = -206
	BuffersTooSmall              = -210
	ChannelBusy                  = -209
	ChannelNotBusy               = -211
	NoHardware                   = -200
	NoMoreRealTime               = -212
	NotEnoughBufferSpace         = -207
	NotEnoughHardware            = -201
	QueueFull                    = -203
	ResProblem                   = -204
	SiBadDeviceName              = -228
	SiBadRefNum                  = -229
	SiBadSoundInDevice           = -221
	SiDeviceBusyErr              = -227
	SiHardDriveTooSlow           = -224
	SiInputDeviceErr             = -230
	SiInvalidCompression         = -223
	SiInvalidSampleRate          = -225
	SiInvalidSampleSize          = -226
	SiNoBufferSpecified          = -222
	SiNoSoundInHardware          = -220
	SiUnknownInfoType            = -231
	SiUnknownQuality             = -232
	SiVBRCompressionNotSupported = -213
)
View Source
const (
	NoScrapErr = -100
	NoTypeErr  = -102
)
View Source
const (
	BadDictFormat     = -246
	BadInputText      = -247
	BufTooSmall       = -243
	IncompatibleVoice = -245
	NoSynthFound      = -240
	SynthNotReady     = -242
	SynthOpenFailed   = -241
	VoiceNotFound     = -244
)
View Source
const (
	CallNotSupportedByNodeErr     = -30542
	ConstraintReachedErr          = -30541
	InvalidHotSpotIDErr           = -30551
	InvalidNodeFormatErr          = -30550
	InvalidNodeIDErr              = -30544
	InvalidViewStateErr           = -30545
	LimitReachedErr               = -30549
	NoMemoryNodeFailedInitialize  = -30552
	NotAQTVRMovieErr              = -30540
	PropertyNotSupportedByNodeErr = -30547
	QtvrLibraryLoadErr            = -30554
	QtvrUninitialized             = -30555
	SelectorNotSupportedByNodeErr = -30543
	SettingNotSupportedByNodeErr  = -30548
	StreamingNodeNotReadyErr      = -30553
	TimeNotInViewErr              = -30546
)
View Source
const (
	BtDupRecErr          = -414
	BtKeyAttrErr         = -417
	BtKeyLenErr          = -416
	BtNoSpace            = -413
	BtRecNotFnd          = -415
	InvalidIndexErr      = -20002
	NotBTree             = -410
	RecordDataTooBigErr  = -20001
	UnknownInsertModeErr = -20000
)
View Source
const (
	CannotDeferErr          = -625
	CannotMakeContiguousErr = -622
	InterruptsMaskedErr     = -624
	NoMMUErr                = -626
	NotEnoughMemoryErr      = -620
	NotHeldErr              = -621
	NotLockedErr            = -623
)
View Source
const (
	AuthFailErr         = -927
	BadLocNameErr       = -931
	BadPortNameErr      = -919
	BadReqErr           = -909
	BadServiceMethodErr = -930
	DestPortErr         = -906
	GuestNotAllowedErr  = -932
	LocalOnlyErr        = -905
	NameTypeErr         = -902
	NetworkErr          = -925
	NoDefaultUserErr    = -922
	NoGlobalsErr        = -904
	NoInformErr         = -926
	NoMachineNameErr    = -913
	NoPortErr           = -903
	NoResponseErr       = -915
	NoSessionErr        = -908
	NoToolboxNameErr    = -914
	NoUserNameErr       = -911
	NoUserRecErr        = -928
	NoUserRefErr        = -924
	NotInitErr          = -900
	NotLoggedInErr      = -923
	PortClosedErr       = -916
	PortNameExistsErr   = -910
	SessClosedErr       = -917
	SessTableErr        = -907
	UserRejectErr       = -912
)
View Source
const (
	NrCallNotSupported        = -2557
	NrDataTruncatedErr        = -2543
	NrExitedIteratorScope     = -2555
	NrInvalidEntryIterationOp = -2552
	NrInvalidNodeErr          = -2538
	NrIterationDone           = -2554
	NrLockedErr               = -2536
	NrNameErr                 = -2541
	NrNotCreatedErr           = -2540
	NrNotEnoughMemoryErr      = -2537
	NrNotFoundErr             = -2539
	NrNotModifiedErr          = -2547
	NrNotSlotDeviceErr        = -2542
	NrOverrunErr              = -2548
	NrPathBufferTooSmall      = -2551
	NrPathNotFound            = -2550
	NrPowerErr                = -2544
	NrPowerSwitchAbortErr     = -2545
	NrPropertyAlreadyExists   = -2553
	NrResultCodeBase          = -2549
	NrTransactionAborted      = -2556
	NrTypeMismatchErr         = -2546
)
View Source
const (
	NumberFormattingBadCurrencyPositionErr       = -5211
	NumberFormattingBadFormatErr                 = -5207
	NumberFormattingBadNumberFormattingObjectErr = -5202
	NumberFormattingBadOptionsErr                = -5208
	NumberFormattingBadTokenErr                  = -5209
	NumberFormattingDelimiterMissingErr          = -5205
	NumberFormattingEmptyFormatErr               = -5206
	NumberFormattingLiteralMissingErr            = -5204
	NumberFormattingNotADigitErr                 = -5212
	NumberFormattingNotANumberErr                = -5200
	NumberFormattingOverflowInDestinationErr     = -5201
	NumberFormattingSpuriousCharErr              = -5203
	NumberFormattingUnOrderedCurrencyRangeErr    = -5210
	NumberFormattingUnOrdredCurrencyRangeErr     = -5210
	NumberFortmattingNotADigitErr                = -5212
)
View Source
const (
	SlpTypeErr           = -5
	BadUnitErr           = -21
	ClosErr              = -24
	ControlErr           = -17
	CorErr               = -3
	DInstErr             = -26
	DRemovErr            = -25
	NoHardwareErr        = -200
	NotEnoughHardwareErr = -201
	OpenErr              = -23
	ParamErr             = -50
	QErr                 = -1
	ReadErr              = -19
	SeNoDB               = -8
	StatusErr            = -18
	UnimpErr             = -4
	UnitEmptyErr         = -22
	UserCanceledErr      = -128
	VTypErr              = -2
	WritErr              = -20
)
View Source
const (
	Platform68k                       = 1
	PlatformArm64NativeEntryPoint     = 9
	PlatformIA32NativeEntryPoint      = 6
	PlatformInterpreted               = 3
	PlatformPowerPC                   = 2
	PlatformPowerPC64NativeEntryPoint = 7
	PlatformPowerPCNativeEntryPoint   = 5
	PlatformWin32                     = 4
	PlatformX86_64NativeEntryPoint    = 8
)
View Source
const (
	PlatformAIXppc     = 1300
	PlatformIRIXmips   = 1000
	PlatformLinuxintel = 1201
	PlatformLinuxppc   = 1200
	PlatformMacOSx86   = 1500
	PlatformNeXT68k    = 1403
	PlatformNeXTIntel  = 1400
	PlatformNeXTppc    = 1401
	PlatformNeXTsparc  = 1402
	PlatformSunOSintel = 1101
	PlatformSunOSsparc = 1100
)
View Source
const (
	ForceReadBit    = 6
	ForceReadMask   = 64
	NewLineBit      = 7
	NewLineCharMask = 65280
	NewLineMask     = 128
	NoCacheBit      = 5
	NoCacheMask     = 32
	PleaseCacheBit  = 4
	PleaseCacheMask = 16
	RdVerify        = 64
	RdVerifyBit     = 6
	RdVerifyMask    = 64
)
View Source
const (
	PmBusyErr      = -13000
	PmRecvEndErr   = -13005
	PmRecvStartErr = -13004
	PmReplyTOErr   = -13001
	PmSendEndErr   = -13003
	PmSendStartErr = -13002
)
View Source
const (
	AppIsDaemon              = -606
	AppMemFullErr            = -605
	AppModeErr               = -602
	BufferIsSmall            = -607
	ConnectionInvalid        = -609
	HardwareConfigErr        = -604
	MemFragErr               = -601
	NoOutstandingHLE         = -608
	NoUserInteractionAllowed = -610
	ProcNotFound             = -600
	ProtocolErr              = -603
)
View Source
const (
	QtsAddressBusyErr         = -5421
	QtsBadDataErr             = -5402
	QtsBadSelectorErr         = -5400
	QtsBadStateErr            = -5401
	QtsConnectionFailedErr    = -5420
	QtsTimeoutErr             = -5408
	QtsTooMuchDataErr         = -5406
	QtsUnknownValueErr        = -5407
	QtsUnsupportedDataTypeErr = -5403
	QtsUnsupportedFeatureErr  = -5405
	QtsUnsupportedRateErr     = -5404
)
View Source
const (
	RcDBAsyncNotSupp  = -809
	RcDBBadAsyncPB    = -810
	RcDBBadDDEV       = -808
	RcDBBadSessID     = -806
	RcDBBadSessNum    = -807
	RcDBBadType       = -803
	RcDBBreak         = -804
	RcDBError         = -802
	RcDBExec          = -805
	RcDBNoHandler     = -811
	RcDBNull          = -800
	RcDBPackNotInited = -813
	RcDBValue         = -801
	RcDBWrongVersion  = -812
)
View Source
const (
	RegisterComponentAfterExisting = 4
	RegisterComponentAliasesOnly   = 8
	RegisterComponentGlobal        = 1
	RegisterComponentNoDuplicates  = 2
)
View Source
const (
	BadATPSkt   = -1099
	BadBuffNum  = -1100
	CbNotFound  = -1102
	NoDataArea  = -1104
	NoRelErr    = -1101
	NoSendResp  = -1103
	ReqAborted  = -1105
	ReqFailed   = -1096
	TooManyReqs = -1097
	TooManySkts = -1098
)
View Source
const (
	ResChanged   = 2
	ResLocked    = 16
	ResPreload   = 4
	ResProtected = 8
	ResPurgeable = 32
	ResSysHeap   = 64
)
View Source
const (
	ResChangedBit   = 1
	ResLockedBit    = 4
	ResPreloadBit   = 2
	ResProtectedBit = 3
	ResPurgeableBit = 5
	ResSysHeapBit   = 6
	ResSysRefBit    = 7
)
View Source
const (
	CantDecompress          = -186
	AddRefFailed            = -195
	AddResFailed            = -194
	BadExtResource          = -185
	InputOutOfBounds        = -190
	InsufficientStackErr    = -149
	MapReadErr              = -199
	NoMemForPictPlaybackErr = -145
	NsStackErr              = -149
	PixMapTooDeepErr        = -148
	ResAttrErr              = -198
	ResFNotFound            = -193
	ResNotFound             = -192
	ResourceInMemory        = -188
	RgnOverflowErr          = -147
	RgnTooBigError          = -147
	RmvRefFailed            = -197
	RmvResFailed            = -196
	WritingPastEnd          = -189
)
View Source
const (
	RomanAppFond     = 3
	RomanFlags       = 7
	RomanSysFond     = 16383
	SmFondEnd        = 49152
	SmFondStart      = 16384
	SmUprHalfCharSet = 128
)
View Source
const (
	AbbrevDate = 2
	LongDate   = 1
	ShortDate  = 0
)
View Source
const (
	SdmInitErr     = 11
	SdmJTInitErr   = 10
	SdmPRAMInitErr = 13
	SdmPriInitErr  = 14
	SdmSRTInitErr  = 12
	SiInitSDTblErr = 1
	SiInitSPTblErr = 3
	SiInitVBLQsErr = 2
)
View Source
const (
	SmBadsPtrErr    = -346
	SmBlkMoveErr    = -340
	SmByteLanesErr  = -347
	SmCPUErr        = -334
	SmCkStatusErr   = -341
	SmDisDrvrNamErr = -343
	SmGetDrvrNamErr = -342
	SmNewPErr       = -339
	SmNilsBlockErr  = -336
	SmNoGoodOpens   = -349
	SmNoMoresRsrcs  = -344
	SmOffsetErr     = -348
	SmRecNotFnd     = -351
	SmSRTOvrFlErr   = -350
	SmSelOOBErr     = -338
	SmSlotOOBErr    = -337
	SmsGetDrvrErr   = -345
	SmsPointerNil   = -335
)
View Source
const (
	SmCharFISGreek      = 5
	SmCharFISRussian    = 6
	SmFISClassLvl1      = 0
	SmFISClassLvl2      = 256
	SmFISClassUser      = 512
	SmIdeographicLevel1 = 0
	SmIdeographicLevel2 = 256
	SmIdeographicUser   = 512
	SmJamoBogJaeum      = 256
	SmJamoBogMoeum      = 768
	SmJamoJaeum         = 0
	SmJamoMoeum         = 512
	SmKanaHardOK        = 512
	SmKanaSmall         = 256
	SmKanaSoftOK        = 768
	SmPunctBlank        = 768
	SmPunctGraphic      = 1280
	SmPunctNormal       = 0
	SmPunctNumber       = 256
	SmPunctRepeat       = 1024
	SmPunctSymbol       = 512
)
View Source
const (
	SmChar1byte      = 0
	SmChar2byte      = 32768
	SmCharHorizontal = 0
	SmCharLeft       = 0
	SmCharLower      = 0
	SmCharRight      = 8192
	SmCharUpper      = 16384
	SmCharVertical   = 4096
)
View Source
const (
	SmCharAscii           = 1
	SmCharBidirect        = 8
	SmCharBopomofo        = 14
	SmCharContextualLR    = 9
	SmCharEuro            = 7
	SmCharExtAscii        = 7
	SmCharFISGana         = 3
	SmCharFISIdeo         = 4
	SmCharFISKana         = 2
	SmCharGanaKana        = 15
	SmCharHangul          = 12
	SmCharHiragana        = 3
	SmCharIdeographic     = 4
	SmCharJamo            = 13
	SmCharKatakana        = 2
	SmCharNonContextualLR = 10
	SmCharPunct           = 0
	SmCharTwoByteGreek    = 5
	SmCharTwoByteRussian  = 6
)
View Source
const (
	SmAmharic      = 28
	SmChinese      = 2
	SmEastEurRoman = 29
	SmKlingon      = 32
	SmLaotian      = 22
	SmRussian      = 7
	SmSindhi       = 31
	SmSlavic       = 29
)
View Source
const (
	SmKeyForceKeyScriptBit  = 7
	SmKeyForceKeyScriptMask = 128
)
View Source
const (
	SmKeyDisableKybdSwitch = -12
	SmKeyDisableKybds      = -6
	SmKeyEnableKybds       = -7
	SmKeyNextInputMethod   = -10
	SmKeyNextKybd          = -4
	SmKeyNextScript        = -1
	SmKeyRoman             = -17
	SmKeySetDirLeftRight   = -15
	SmKeySetDirRightLeft   = -16
	SmKeySwapInputMethod   = -11
	SmKeySwapKybd          = -5
	SmKeySwapScript        = -3
	SmKeySysScript         = -2
	SmKeyToggleDirection   = -9
	SmKeyToggleInline      = -8
)
View Source
const (
	SmMaskAll       = -1
	SmMaskAscii     = 1
	SmMaskAscii1    = 4
	SmMaskAscii2    = 8
	SmMaskBopomofo2 = 1024
	SmMaskGana2     = 128
	SmMaskHangul2   = 256
	SmMaskJamo2     = 512
	SmMaskKana1     = 16
	SmMaskKana2     = 32
	SmMaskNative    = 2
)
View Source
const (
	SmBadScript    = -2
	SmBadVerb      = -1
	SmNotInstalled = 0
)
View Source
const (
	SmBLFieldBad   = -309
	SmBadBoardId   = -319
	SmBadRefId     = -330
	SmBadsList     = -331
	SmBusErrTO     = -320
	SmCodeRevErr   = -333
	SmDisposePErr  = -312
	SmFHBlkDispErr = -311
	SmFHBlockRdErr = -310
	SmGetPRErr     = -314
	SmInitStatVErr = -316
	SmInitTblVErr  = -317
	SmNoBoardId    = -315
	SmNoBoardSRsrc = -313
	SmNoJmpTbl     = -318
	SmReservedErr  = -332
	SmReservedSlot = -318
	SmResrvErr     = -307
	SmUnExBusErr   = -308
	SvDisabled     = -32640
	SvTempDisable  = -32768
)
View Source
const (
	SmArabic           = 4
	SmArmenian         = 24
	SmBengali          = 13
	SmBurmese          = 19
	SmCentralEuroRoman = 29
	SmCyrillic         = 7
	SmDevanagari       = 9
	SmEthiopic         = 28
	SmExtArabic        = 31
	SmGeez             = 28
	SmGeorgian         = 23
	SmGreek            = 6
	SmGujarati         = 11
	SmGurmukhi         = 10
	SmHebrew           = 5
	SmJapanese         = 1
	SmKannada          = 16
	SmKhmer            = 20
	SmKorean           = 3
	SmLao              = 22
	SmMalayalam        = 17
	SmMongolian        = 27
	SmOriya            = 12
	SmRSymbol          = 8
	SmRoman            = 0
	SmSimpChinese      = 25
	SmSinhalese        = 18
	SmTamil            = 14
	SmTelugu           = 15
	SmThai             = 21
	SmTibetan          = 26
	SmTradChinese      = 2
	SmUninterp         = 32
	SmVietnamese       = 30
)
View Source
const (
	SmCRCFail      = -301
	SmDisabledSlot = -305
	SmEmptySlot    = -300
	SmFormatErr    = -302
	SmNoDir        = -304
	SmNosInfoArray = -306
	SmPRAMInitErr  = -292
	SmPriInitErr   = -293
	SmRevisionErr  = -303
	SmSDMInitErr   = -290
	SmSRTInitErr   = -291
)
View Source
const (
	SmFirstByte  = -1
	SmLastByte   = 1
	SmMiddleByte = 2
	SmSingleByte = 0
)
View Source
const (
	SmKCHRCache  = 38
	SmKeyScript  = 22
	SmRegionCode = 40
	SmSysScript  = 18
)
View Source
const (
	SmAllScripts    = -3
	SmCurrentScript = -2
	SmSystemScript  = -1
)
View Source
const (
	SmTransAscii  = 0
	SmTransAscii1 = 2
	SmTransAscii2 = 3
	SmTransCase   = 254
	SmTransKana1  = 4
	SmTransKana2  = 5
	SmTransNative = 1
	SmTransSystem = 255
)
View Source
const (
	SmTransBopomofo2       = 10
	SmTransGana2           = 7
	SmTransHangul2         = 8
	SmTransHangulFormat    = 2
	SmTransJamo2           = 9
	SmTransLower           = 16384
	SmTransPreDoubleByting = 1
	SmTransPreLowerCasing  = 2
	SmTransRuleBaseFormat  = 1
	SmTransUpper           = 32768
)
View Source
const (
	IuNumberPartsTable = 2
	IuUnTokenTable     = 3
	IuWhiteSpaceList   = 4
	IuWordSelectTable  = 0
	IuWordWrapTable    = 1
	SmNumberPartsTable = 2
	SmUnTokenTable     = 3
	SmWhiteSpaceList   = 4
	SmWordSelectTable  = 0
	SmWordWrapTable    = 1
)
View Source
const (
	GenCdevRangeBit   = 27
	MaxDateField      = 10
	SmallDateBit      = 31
	TogChar12HourBit  = 30
	TogCharZCycleBit  = 29
	TogDelta12HourBit = 28
	ValidDateFields   = -1
)
View Source
const (
	SmcClassMask       = 3840
	SmcDoubleMask      = 32768
	SmcOrientationMask = 4096
	SmcReserved        = 240
	SmcRightMask       = 8192
	SmcTypeMask        = 15
	SmcUpperMask       = 16384
)
View Source
const (
	SmfDisableKeyScriptSync = 27
	SmfDualCaret            = 30
	SmfNameTagEnab          = 29
	SmfShowIcon             = 31
	SmfUseAssocFontInfo     = 28
)
View Source
const (
	SmsfAutoInit        = 6
	SmsfB0Digits        = 5
	SmsfContext         = 3
	SmsfForms           = 13
	SmsfIntellCP        = 0
	SmsfLigatures       = 14
	SmsfNatCase         = 2
	SmsfNoForceFont     = 4
	SmsfReverse         = 15
	SmsfSingByte        = 1
	SmsfSynchUnstyledTE = 8
	SmsfUnivExt         = 7
)
View Source
const (
	SortsAfter  = 1
	SortsBefore = -1
	SortsEqual  = 0
)
View Source
const (
	CurrentCurLang = -4
	CurrentDefLang = -5
	ScriptCurLang  = -6
	ScriptDefLang  = -7
	SystemCurLang  = -2
	SystemDefLang  = -3
)
View Source
const (
	DriverHardwareGoneErr = -503
	HwParamErr            = -502
	TeScrapSizeErr        = -501
)
View Source
const (
	TelAPattNotSupp       = -10016
	TelAlreadyOpen        = -10070
	TelAutoAnsNotOn       = -10112
	TelBadAPattErr        = -10015
	TelBadBearerType      = -10058
	TelBadCAErr           = -10003
	TelBadCodeResource    = -10108
	TelBadDNDType         = -10023
	TelBadDNErr           = -10002
	TelBadDNType          = -10050
	TelBadDisplayMode     = -10062
	TelBadFeatureID       = -10053
	TelBadFunction        = -10091
	TelBadFwdType         = -10054
	TelBadHTypeErr        = -10010
	TelBadHandErr         = -10004
	TelBadIndex           = -10017
	TelBadIntExt          = -10021
	TelBadIntercomID      = -10052
	TelBadLevelErr        = -10012
	TelBadPageID          = -10051
	TelBadParkID          = -10056
	TelBadPickupGroupID   = -10055
	TelBadProcErr         = -10005
	TelBadProcID          = -10110
	TelBadRate            = -10059
	TelBadSWErr           = -10114
	TelBadSampleRate      = -10115
	TelBadSelect          = -10057
	TelBadStateErr        = -10019
	TelBadTermErr         = -10001
	TelBadVTypeErr        = -10013
	TelCANotAcceptable    = -10080
	TelCANotDeflectable   = -10082
	TelCANotRejectable    = -10081
	TelCAUnavail          = -10006
	TelCBErr              = -10046
	TelConfErr            = -10042
	TelConfLimitErr       = -10040
	TelConfLimitExceeded  = -10047
	TelConfNoLimit        = -10041
	TelConfRej            = -10043
	TelDNDTypeNotSupp     = -10024
	TelDNTypeNotSupp      = -10060
	TelDetAlreadyOn       = -10113
	TelDeviceNotFound     = -10109
	TelDisplayModeNotSupp = -10063
	TelFeatActive         = -10032
	TelFeatNotAvail       = -10031
	TelFeatNotSub         = -10030
	TelFeatNotSupp        = -10033
	TelFwdTypeNotSupp     = -10061
	TelGenericError       = -1
	TelHTypeNotSupp       = -10011
	TelIndexNotSupp       = -10018
	TelInitFailed         = -10107
	TelIntExtNotSupp      = -10022
	TelNoCallbackRef      = -10064
	TelNoCommFolder       = -10106
	TelNoErr              = 0
	TelNoMemErr           = -10007
	TelNoOpenErr          = -10008
	TelNoSuchTool         = -10102
	TelNoTools            = 8
	TelNotEnoughdspBW     = -10116
	TelPBErr              = -10090
	TelStateNotSupp       = -10020
	TelStillNeeded        = -10071
	TelTermNotOpen        = -10072
	TelTransferErr        = -10044
	TelTransferRej        = -10045
	TelUnknownErr         = -10103
	TelVTypeNotSupp       = -10014
	TelValidateFailed     = -10111
)
View Source
const (
	TextParserBadParamErr         = -5220
	TextParserBadParserObjectErr  = -5223
	TextParserBadTextEncodingErr  = -5227
	TextParserBadTextLanguageErr  = -5226
	TextParserBadTokenValueErr    = -5222
	TextParserNoMoreTextErr       = -5225
	TextParserNoMoreTokensErr     = -5229
	TextParserNoSuchTokenFoundErr = -5228
	TextParserObjectNotFoundErr   = -5221
	TextParserParamErr            = -5224
)
View Source
const (
	ThemeBadCursorIndexErr           = -30565
	ThemeBadTextColorErr             = -30563
	ThemeHasNoAccentsErr             = -30564
	ThemeInvalidBrushErr             = -30560
	ThemeMonitorDepthNotSupportedErr = -30567
	ThemeNoAppropriateBrushErr       = -30568
	ThemeProcessNotRegisteredErr     = -30562
	ThemeProcessRegisteredErr        = -30561
	ThemeScriptFontNotFoundErr       = -30566
)
View Source
const (
	ThreadNotFoundErr    = -618
	ThreadProtocolErr    = -619
	ThreadTooManyReqsErr = -617
)
View Source
const (
	Century       = 128
	DayLdingZ     = 32
	HrLeadingZ    = 128
	LongDay       = 0
	LongMonth     = 2
	LongWeek      = 1
	LongYear      = 3
	MinLeadingZ   = 64
	MntLdingZ     = 64
	SecLeadingZ   = 32
	SupDay        = 1
	SupMonth      = 4
	SupWeek       = 2
	SupYear       = 8
	TimeCycle12   = 255
	TimeCycle24   = 0
	TimeCycleZero = 1
	ZeroCycle     = 1
)
View Source
const (
	ToggleBadChar    = 4
	ToggleBadDelta   = 3
	ToggleBadField   = 2
	ToggleBadNum     = 6
	ToggleErr3       = 7
	ToggleErr4       = 8
	ToggleErr5       = 9
	ToggleOK         = 1
	ToggleOutOfRange = 7
	ToggleUndefined  = 0
	ToggleUnknown    = 5
)
View Source
const (
	CurNumberPartsVersion = 1
	TokDecPoint           = 14
	TokEMinus             = 16
	TokEPlus              = 15
	TokEscape             = 13
	TokLeadPlacer         = 3
	TokLeader             = 4
	TokLeftQuote          = 1
	TokMaxSymbols         = 31
	TokMinusSign          = 9
	TokNonLeader          = 5
	TokPercent            = 7
	TokPlusSign           = 8
	TokReserved           = 11
	TokRightQuote         = 2
	TokSeparator          = 12
	TokThousands          = 10
	TokZeroLead           = 6
)
View Source
const (
	TokenEmpty = -1
	TokenIntl  = 4
)
View Source
const (
	Token2Equal       = 38
	TokenAsterisk     = 26
	TokenBackSlash    = 30
	TokenColonEqual   = 39
	TokenDivide       = 27
	TokenEqual        = 33
	TokenGreat        = 32
	TokenGreatEqual1  = 37
	TokenGreatEqual2  = 36
	TokenLeftCurly    = 20
	TokenLeftEnclose  = 22
	TokenLess         = 31
	TokenLessEqual1   = 35
	TokenLessEqual2   = 34
	TokenMinus        = 25
	TokenPlus         = 24
	TokenPlusMinus    = 28
	TokenRightCurly   = 21
	TokenRightEnclose = 23
	TokenSlash        = 29
)
View Source
const (
	Token1Quote      = 52
	Token2Quote      = 51
	TokenAmpersand   = 57
	TokenAtSign      = 58
	TokenBar         = 59
	TokenCaret       = 55
	TokenComma       = 45
	TokenExclam      = 43
	TokenExclamEqual = 42
	TokenLeft1Quote  = 49
	TokenLeft2Quote  = 47
	TokenLessGreat   = 41
	TokenNotEqual    = 40
	TokenPercent     = 54
	TokenPeriod      = 46
	TokenRight1Quote = 50
	TokenRight2Quote = 48
	TokenSemicolon   = 53
	TokenTilde       = 44
	TokenUnderline   = 56
)
View Source
const (
	BadDelim       = 3
	BadEnding      = 4
	Crash          = 5
	StringOverflow = 2
	TokenOK        = 0
	TokenOverflow  = 1
)
View Source
const (
	TokenCapPi              = 66
	TokenCenterDot          = 78
	TokenColon              = 68
	TokenDollar             = 70
	TokenEllipsis           = 77
	TokenFraction           = 72
	TokenHash               = 69
	TokenInfinity           = 67
	TokenIntegral           = 64
	TokenIntlCurrency       = 73
	TokenLeftSingGuillemet  = 74
	TokenMicro              = 65
	TokenNil                = 127
	TokenNoBreakSpace       = 71
	TokenPerThousand        = 76
	TokenPi                 = 61
	TokenQuestion           = 60
	TokenRightSingGuillemet = 75
	TokenRoot               = 62
	TokenSigma              = 63
)
View Source
const (
	TokenAlpha        = 4
	TokenAltNum       = 11
	TokenAltReal      = 13
	TokenEscape       = 10
	TokenLeftBracket  = 18
	TokenLeftComment  = 7
	TokenLeftLit      = 2
	TokenLeftParen    = 16
	TokenLiteral      = 9
	TokenNewLine      = 6
	TokenNumeric      = 5
	TokenRealNum      = 12
	TokenReserve1     = 14
	TokenReserve2     = 15
	TokenRightBracket = 19
	TokenRightComment = 8
	TokenRightLit     = 3
	TokenRightParen   = 17
	TokenUnknown      = 0
	TokenWhite        = 1
)
View Source
const (
	TsmAlreadyRegisteredErr            = -2503
	TsmCantChangeForcedClassStateErr   = -2530
	TsmCantOpenComponentErr            = -2509
	TsmComponentAlreadyOpenErr         = -2515
	TsmComponentNoErr                  = 0
	TsmComponentPropertyNotFoundErr    = -2532
	TsmComponentPropertyUnsupportedErr = -2531
	TsmDefaultIsNotInputMethodErr      = -2524
	TsmDocNotActiveErr                 = -2507
	TsmDocPropertyBufferTooSmallErr    = -2529
	TsmDocPropertyNotFoundErr          = -2528
	TsmDocumentOpenErr                 = -2511
	TsmInputMethodIsOldErr             = -2516
	TsmInputMethodNotFoundErr          = -2501
	TsmInputModeChangeFailedErr        = -2533
	TsmInvalidContext                  = -2520
	TsmInvalidDocIDErr                 = -2505
	TsmNeverRegisteredErr              = -2504
	TsmNoHandler                       = -2521
	TsmNoMoreTokens                    = -2522
	TsmNoOpenTSErr                     = -2508
	TsmNoStem                          = -2523
	TsmNotAnAppErr                     = -2502
	TsmScriptHasNoIMErr                = -2517
	TsmTSHasNoMenuErr                  = -2513
	TsmTSMDocBusyErr                   = -2506
	TsmTSNotOpenErr                    = -2514
	TsmTextServiceNotFoundErr          = -2510
	TsmUnknownErr                      = -2519
	TsmUnsupScriptLanguageErr          = -2500
	TsmUnsupportedTypeErr              = -2518
	TsmUseInputWindowErr               = -2512
)
View Source
const (
	UppCallComponentCanDoProcInfo             = 752
	UppCallComponentCloseProcInfo             = 1008
	UppCallComponentGetMPWorkFunctionProcInfo = 4080
	UppCallComponentGetPublicResourceProcInfo = 15344
	UppCallComponentOpenProcInfo              = 1008
	UppCallComponentRegisterProcInfo          = 240
	UppCallComponentTargetProcInfo            = 1008
	UppCallComponentUnregisterProcInfo        = 240
	UppCallComponentVersionProcInfo           = 240
	UppComponentFunctionImplementedProcInfo   = 752
	UppComponentSetTargetProcInfo             = 1008
	UppGetComponentVersionProcInfo            = 240
)
View Source
const (
	UseATalk  = 1
	UseAsync  = 2
	UseExtClk = 3
	UseFree   = 0
	UseMIDI   = 4
)
View Source
const (
	BadMDBErr    = -60
	BadMovErr    = -122
	DirNFErr     = -120
	DupFNErr     = -48
	ExtFSErr     = -58
	FBsyErr      = -47
	FsRnErr      = -59
	GfpErr       = -52
	NoMacDskErr  = -57
	NsDrvErr     = -56
	OpWrErr      = -49
	PermErr      = -54
	RfNumErr     = -51
	TmwdoErr     = -121
	VLckdErr     = -46
	VolGoneErr   = -124
	VolOffLinErr = -53
	VolOnLinErr  = -55
	WrPermErr    = -61
	WrgVolTypErr = -123
)
View Source
const (
	VerAfrikaans      = 102
	VerEsperanto      = 103
	VerFrBelgium      = 98
	VerGreenland      = 107
	VerIrelandEnglish = 108
	VerMarathi        = 104
	VerNepal          = 106
	VerNynorsk        = 101
	VerSingapore      = 100
	VerTibetan        = 105
	VerUzbek          = 99
)
View Source
const (
	VerAlternateGr     = 64
	VerArabia          = 16
	VerArmenia         = 84
	VerAustriaGerman   = 92
	VerBelgiumLux      = 6
	VerBelgiumLuxPoint = 27
	VerBrittany        = 77
	VerByeloRussian    = 61
	VerFaeroeIsl       = 47
	VerFarEastGeneric  = 58
	VerFrBelgiumLux    = 6
	VerGenericFE       = 58
	VerGeorgia         = 85
	VerGreecePoly      = 40
	VerIndia           = 33
	VerLapland         = 46
	VerMacedonia       = 67
	VerPakistan        = 34
	VerRumania         = 39
	VerSerbia          = 65
	VerSlovenia        = 66
	VerTibet           = 105
	VerUkrania         = 62
	VerWales           = 79
	VerYugoslavia      = 25
)
View Source
const (
	VerBelarus         = 61
	VerBengali         = 60
	VerChina           = 52
	VerCzech           = 56
	VerEastAsiaGeneric = 58
	VerEstonia         = 44
	VerFaroeIsl        = 47
	VerGreekAncient    = 40
	VerHungary         = 43
	VerIndiaHindi      = 33
	VerInternational   = 37
	VerIran            = 48
	VerIreland         = 50
	VerItalianSwiss    = 36
	VerKorea           = 51
	VerLatvia          = 45
	VerLithuania       = 41
	VerMagyar          = 59
	VerPakistanUrdu    = 34
	VerPoland          = 42
	VerRomania         = 39
	VerRussia          = 49
	VerSami            = 46
	VerScriptGeneric   = 55
	VerSlovak          = 57
	VerTaiwan          = 53
	VerThailand        = 54
	VerTurkishModified = 35
)
View Source
const (
	VerCanadaComma      = 28
	VerCanadaPoint      = 29
	VerFlemishPoint     = 27
	VerNetherlandsComma = 26
	VervariantDenmark   = 32
	VervariantNorway    = 31
	VervariantPortugal  = 30
)
View Source
const (
	VerArabic       = 16
	VerAustralia    = 15
	VerBritain      = 2
	VerCyprus       = 23
	VerDenmark      = 9
	VerFinland      = 17
	VerFlemish      = 6
	VerFrCanada     = 11
	VerFrSwiss      = 18
	VerFrance       = 1
	VerGermany      = 3
	VerGrSwiss      = 19
	VerGreece       = 20
	VerIceland      = 21
	VerIsrael       = 13
	VerItaly        = 4
	VerJapan        = 14
	VerMalta        = 22
	VerNetherlands  = 5
	VerNorway       = 12
	VerPortugal     = 10
	VerSpain        = 8
	VerSweden       = 7
	VerTurkey       = 24
	VerUS           = 0
	VerYugoCroatian = 25
)
View Source
const (
	VerArmenian          = 84
	VerAustria           = 92
	VerBhutan            = 83
	VerBrazil            = 71
	VerBreton            = 77
	VerBulgaria          = 72
	VerCatalonia         = 73
	VerCroatia           = 68
	VerEngCanada         = 82
	VerFrenchUniversal   = 91
	VerGeorgian          = 85
	VerGermanReformed    = 70
	VerGreeceAlt         = 64
	VerGujarati          = 94
	VerIndiaUrdu         = 96
	VerIrishGaelicScript = 81
	VerMacedonian        = 67
	VerManxGaelic        = 76
	VerMultilingual      = 74
	VerNunavut           = 78
	VerPunjabi           = 95
	VerScottishGaelic    = 75
	VerSerbian           = 65
	VerSlovenian         = 66
	VerSpLatinAmerica    = 86
	VerTonga             = 88
	VerUkraine           = 62
	VerVietnam           = 97
	VerWelsh             = 79
)
View Source
const (
	KTECResourceID = 128
	VerUnspecified = 32767
)
View Source
const (
	VmAddressNotInFileViewErr = -647
	VmBusyBackingFileErr      = -642
	VmFileViewAccessErr       = -645
	VmInvalidBackingFileIDErr = -640
	VmInvalidFileViewIDErr    = -644
	VmInvalidOwningProcessErr = -648
	VmMappingPrivilegesErr    = -641
	VmNoMoreBackingFilesErr   = -643
	VmNoMoreFileViewsErr      = -646
)
View Source
const (
	VmBadDriver                  = -632
	VmKernelMMUInitErr           = -629
	VmMemLckdErr                 = -631
	VmMorePhysicalThanVirtualErr = -628
	VmNoVectorErr                = -633
	VmOffErr                     = -630
)
View Source
const (
	VolMountChangedBit         = 14
	VolMountChangedMask        = 16384
	VolMountExtendedFlagsBit   = 7
	VolMountExtendedFlagsMask  = 128
	VolMountFSReservedMask     = 255
	VolMountInteractBit        = 15
	VolMountInteractMask       = 32768
	VolMountNoLoginMsgFlagBit  = 0
	VolMountNoLoginMsgFlagMask = 1
	VolMountSysReservedMask    = 65280
)
View Source
const (
	AppVersionTooOld         = -876
	NotAppropriateForClassic = -877
	WrongApplicationPlatform = -875
)
View Source
const (
	AIFCVersion1 = 2726318400
)
View Source
const (
	AppleShareMediaType = 1634103405
)
View Source
const (
	BHasDirectIO = 1
)
View Source
const (
	CoreFoundationUnknownErr = -4960
)
View Source
const (
	DefaultPhysicalEntryCount = 8
)
View Source
const (
	DialogNoTimeoutErr = -5640
)
View Source
const (
	ErrTaskNotFound = -10780
)
View Source
const (
	EvtNotEnb = 1
)
View Source
const (
	FVNumber = 0
)
View Source
const (
	FsUnixPriv = 1
)
View Source
const (
	GestaltALMHasSFLocation = 1
)
View Source
const (
	GestaltALMVers = 2002873451
)
View Source
const (
	GestaltATalkVersion = 1635019638
)
View Source
const (
	GestaltAUXVersion = 1630500216
)
View Source
const (
	GestaltAppearanceVersion = 1634760306
)
View Source
const (
	GestaltAppleScriptVersion = 1634952054
)
View Source
const (
	GestaltAppleTalkVersion = 1635019883
)
View Source
const (
	GestaltBusClkSpeed = 1650682987
)
View Source
const (
	GestaltBusClkSpeedMHz = 1650682989
)
View Source
const (
	GestaltCTBVersion = 1668571766
)
View Source
const (
	GestaltCarbonVersion = 1667395438
)
View Source
const (
	GestaltCollectionMgrVersion = 1668052078
)
View Source
const (
	GestaltCompressionMgr = 1768123760
)
View Source
const (
	GestaltControlMgrVersion = 1668118130
)
View Source
const (
	GestaltControlStripVersion = 1668511346
)
View Source
const (
	GestaltCountOfCPUs = 1668314483
)
View Source
const (
	GestaltDTPInfo = 1685352568
)
View Source
const (
	GestaltDigitalSignatureVersion = 1685285223
)
View Source
const (
	GestaltDiskCacheSize = 1684239226
)
View Source
const (
	GestaltDisplayMgrVers = 1685089398
)
View Source
const (
	GestaltDrawSprocketVersion = 1685287030
)
View Source
const (
	GestaltExtToolboxTable = 2020897908
)
View Source
const (
	GestaltExtensionTableVersion = 1702126188
)
View Source
const (
	GestaltFSMVersion = 1718840608
)
View Source
const (
	GestaltFSSupportsDirectIO = 11
)
View Source
const (
	GestaltFindFolderRedirectionAttr = 1718578277
)
View Source
const (
	GestaltFirstSlotNumber = 1936487473
)
View Source
const (
	GestaltGXPrintingMgrVersion = 1886218098
)
View Source
const (
	GestaltGXVersion = 1902405496
)
View Source
const (
	GestaltInternalDisplay = 1768190832
)
View Source
const (
	GestaltLogicalPageSize = 1885827962
)
View Source
const (
	GestaltLogicalRAMSize = 1819435373
)
View Source
const (
	GestaltLowMemorySize = 1819108717
)
View Source
const (
	GestaltMachineIcon = 1835623278
)
View Source
const (
	GestaltMessageMgrVersion = 1835365235
)
View Source
const (
	GestaltMixedModeVersion = 1835628644
)
View Source
const (
	GestaltMultipleUsersState = 1835426930
)
View Source
const (
	GestaltNameRegistryVersion = 1852990823
)
View Source
const (
	GestaltNuBusConnectors = 1936487523
)
View Source
const (
	GestaltNuBusSlotCount = 1853186675
)
View Source
const (
	GestaltOSTable = 1869837428
)
View Source
const (
	GestaltOpenFirmwareInfo = 1869637239
)
View Source
const (
	GestaltOpenTptNetworkSetupVersion = 1869898614
)
View Source
const (
	GestaltOpenTptRemoteAccessVersion = 1869902454
)
View Source
const (
	GestaltOpenTptVersions = 1869903474
)
View Source
const (
	GestaltPhysicalRAMSize = 1918987552
)
View Source
const (
	GestaltPhysicalRAMSizeInMegabytes = 1918987629
)
View Source
const (
	GestaltPowerMgrVers = 1886876278
)
View Source
const (
	GestaltProcClkSpeed = 1885564011
)
View Source
const (
	GestaltProcClkSpeedMHz = 1835232363
)
View Source
const (
	GestaltProcessorCacheLineSize = 1668508026
)
View Source
const (
	GestaltQD3DVersion = 1899197984
)
View Source
const (
	GestaltQTVRMgrVers = 1903457910
)
View Source
const (
	GestaltQuickTimeConferencing = 1836346475
)
View Source
const (
	GestaltQuickTimeConferencingInfo = 1903453033
)
View Source
const (
	GestaltQuickTimeStreamingFeatures = 1903457126
)
View Source
const (
	GestaltQuickTimeStreamingVersion = 1903457140
)
View Source
const (
	GestaltRBVAddr = 1919055392
)
View Source
const (
	GestaltROMSize = 1919905056
)
View Source
const (
	GestaltROMVersion = 1919905142
)
View Source
const (
	GestaltSCCReadAddr = 1935893362
)
View Source
const (
	GestaltSCCWriteAddr = 1935893367
)
View Source
const (
	GestaltSDPFindVersion = 1684434532
)
View Source
const (
	GestaltSDPPromptVersion = 1886548086
)
View Source
const (
	GestaltSDPStandardDirectoryVersion = 1935963762
)
View Source
const (
	GestaltSMPMailerVersion = 1835101298
)
View Source
const (
	GestaltSMPSPSendLetterVersion = 1936749420
)
View Source
const (
	GestaltScriptCount = 1935897123
)
View Source
const (
	GestaltScriptMgrVersion = 1935897193
)
View Source
const (
	GestaltSpeechRecognitionVersion = 1936880738
)
View Source
const (
	GestaltSystemUpdateVersion = 1937339253
)
View Source
const (
	GestaltTE6 = 6
)
View Source
const (
	GestaltToolboxTable = 1952609396
)
View Source
const (
	GestaltUDFSupport = 1802855526
)
View Source
const (
	GestaltUSBVersion = 1970496118
)
View Source
const (
	GestaltUserVisibleMachineName = 1835950445
)
View Source
const (
	GestaltVIA1Addr = 1986617649
)
View Source
const (
	GestaltVIA2Addr = 1986617650
)
View Source
const (
	GestaltVMBackingStoreFileRefNum = 1986880115
)
View Source
const (
	ItlcDisableKeyScriptSync = 3
)
View Source
const (
	ItlcDisableKeyScriptSyncMask = 8
)
View Source
const (
	KAFPExtendedFlagsAlternateAddressMask = 1
)
View Source
const (
	KALMLocationNotFoundErr = -30048
)
View Source
const (
	KBlessedBusErrorBait = 1760651505
)
View Source
const (
	KCSDiskSpaceRecoveryOptionNoUI = 1
)
View Source
const (
	KClassicDomain = -32762
)
View Source
const (
	KClassicPreferencesFolderType = 1668313702
)
View Source
const (
	KComponentDebugOption = 0
)
View Source
const (
	KCurrentMixedModeStateRecord = 1
)
View Source
const (
	KCurrentUserFolderLocation = 1668641638
)
View Source
const (
	KCustomIconResource = -16455
)
View Source
const (
	KDropBoxFolderType = 1685221232
)
View Source
const (
	KFNDirectoryModifiedMessage = 1
)
View Source
const (
	KFSEjectVolumeForceEject = 1
)
View Source
const (
	KFSInvalidVolumeRefNum = 0
)
View Source
const (
	KFSMountServerMountWithoutNotification = 2
)
View Source
const (
	KFSUnmountVolumeForceUnmount = 1
)
View Source
const (
	KLastDomainConstant = -32760
)
View Source
const (
	KMPMaxAllocSize = 1073741824
)
View Source
const (
	KMPNanokernelNeedsMemoryErr = -29294
)
View Source
const (
	KMPNoID = 0
)
View Source
const (
	KMPTaskInfoVersion = 3
)
View Source
const (
	KMacMemoryMaximumMemoryManagerBlockSize = 2147483632
)
View Source
const (
	KMachineNameStrID = -16395
)
View Source
const (
	KMagicBusyCreationDate = 1329266096
)
View Source
const (
	KPEFFirstSectionHeaderOffset = 40
)
View Source
const (
	KPEFRelocBasicOpcodeRange = 128
)
View Source
const (
	KPEFRelocIncrPositionMaxOffset = 4096
)
View Source
const (
	KPEFRelocLgByImportMaxIndex = 67108863
)
View Source
const (
	KPEFRelocLgSetOrBySectionMaxIndex = 4194303
)
View Source
const (
	KPEFRelocRunMaxRunLength = 512
)
View Source
const (
	KPEFRelocSetPosMaxOffset = 67108863
)
View Source
const (
	KPEFRelocSmIndexMaxIndex = 511
)
View Source
const (
	KQTSSUnknownErr = -6150
)
View Source
const (
	KQuickLookFolderType = 1902928747
)
View Source
const (
	KRoutineDescriptorVersion = 7
)
View Source
const (
	KServicesFolderType = 1937138547
)
View Source
const (
	KSpecialCase = 15
)
View Source
const (
	KTECInfoCurrentFormat = 2
)
View Source
const (
	KTEC_MIBEnumDontCare = -1
)
View Source
const (
	KTMTaskActive = 32768
)
View Source
const (
	KTextEncodingDefaultVariant = 0
)
View Source
const (
	KTextEncodingEBCDIC_US = 3073
)
View Source
const (
	KTextEncodingMacHFS = 255
)
View Source
const (
	KTextEncodingMacUnicode = 126
)
View Source
const (
	KUCCollateStandardOptions = 6
)
View Source
const (
	KUCCollateTypeHFSExtended = 1
)
View Source
const (
	KUCCollateTypeMask = 4278190080
)
View Source
const (
	KUCKeyTranslateNoDeadKeysBit = 0
)
View Source
const (
	KUCKeyTranslateNoDeadKeysMask = 1
)
View Source
const (
	KUCTypeSelectMaxListSize = 4294967295
)
View Source
const (
	KUTCDefaultOptions = 0
)
View Source
const (
	KUnicodeCollationClass = 1969450860
)
View Source
const (
	KUnicodeFallbackSequencingBits = 0
)
View Source
const (
	KUnicodeTextBreakClass = 1969386091
)
View Source
const (
	KX86ISA = 2
)
View Source
const (
	KX86RTA = 32
)
View Source
const (
	KnoGroup = 0
)
View Source
const (
	LangUnspecified = 32767
)
View Source
const (
	MmInternalError = -2526
)
View Source
const (
	NmTypErr = -299
)
View Source
const (
	NoMaskFoundErr = -1000
)
View Source
const (
	PrinterStatusOpCodeNotSupportedErr = -25280
)
View Source
const (
	RAliasType = 1634494835
)
View Source
const (
	SmUnicodeScript = 126
)
View Source
const (
	SmfDisableKeyScriptSyncMask = 134217728
)
View Source
const (
	ThreadBadAppContextErr = -616
)

Variables

This section is empty.

Functions

func AbsoluteDeltaToDuration

func AbsoluteDeltaToDuration(leftAbsoluteTime unsafe.Pointer, rightAbsoluteTime unsafe.Pointer) int

func AbsoluteDeltaToNanoseconds

func AbsoluteDeltaToNanoseconds(leftAbsoluteTime unsafe.Pointer, rightAbsoluteTime unsafe.Pointer) unsafe.Pointer

func AbsoluteToDuration

func AbsoluteToDuration(absoluteTime unsafe.Pointer) int

func AbsoluteToNanoseconds

func AbsoluteToNanoseconds(absoluteTime unsafe.Pointer) unsafe.Pointer

func AddAbsoluteToAbsolute

func AddAbsoluteToAbsolute(absoluteTime1 unsafe.Pointer, absoluteTime2 unsafe.Pointer) unsafe.Pointer

func AddAtomic

func AddAtomic(amount int, address *int) int

func AddAtomic8

func AddAtomic8(amount int, address *int8) int8

func AddAtomic16

func AddAtomic16(amount int, address *int16) int16

func AddCollectionItem

func AddCollectionItem(c unsafe.Pointer, tag uint, id_ int, itemSize int, itemData unsafe.Pointer) int16

func AddCollectionItemHdl

func AddCollectionItemHdl(aCollection unsafe.Pointer, tag uint, id_ int, itemData *string) int16

func AddDurationToAbsolute

func AddDurationToAbsolute(duration int, absoluteTime unsafe.Pointer) unsafe.Pointer

func AddFolderDescriptor

func AddFolderDescriptor(foldType uint, flags uint, foldClass uint, foldLocation uint, badgeSignature uint, badgeType uint, name *uint8, replaceFlag uint8) int16

func AddNanosecondsToAbsolute

func AddNanosecondsToAbsolute(nanoseconds unsafe.Pointer, absoluteTime unsafe.Pointer) unsafe.Pointer

func AddResource

func AddResource(theData *string, theType uint, theID int16, name *uint8)

func Annuity

func Annuity(rate float64, periods float64) float64

C function: annuity

func BitAnd

func BitAnd(value1 int, value2 int) int

func BitAndAtomic

func BitAndAtomic(mask uint, address *uint) uint

func BitAndAtomic8

func BitAndAtomic8(mask uint, address *uint8) uint8

func BitAndAtomic16

func BitAndAtomic16(mask uint, address *uint16) uint16

func BitClr

func BitClr(bytePtr unsafe.Pointer, bitNum int)

func BitNot

func BitNot(value int) int

func BitOr

func BitOr(value1 int, value2 int) int

func BitOrAtomic

func BitOrAtomic(mask uint, address *uint) uint

func BitOrAtomic8

func BitOrAtomic8(mask uint, address *uint8) uint8

func BitOrAtomic16

func BitOrAtomic16(mask uint, address *uint16) uint16

func BitSet

func BitSet(bytePtr unsafe.Pointer, bitNum int)

func BitShift

func BitShift(value int, count int16) int

func BitTst

func BitTst(bytePtr unsafe.Pointer, bitNum int) uint8

func BitXor

func BitXor(value1 int, value2 int) int

func BitXorAtomic

func BitXorAtomic(mask uint, address *uint) uint

func BitXorAtomic8

func BitXorAtomic8(mask uint, address *uint8) uint8

func BitXorAtomic16

func BitXorAtomic16(mask uint, address *uint16) uint16

func CSBackupIsItemExcluded

func CSBackupIsItemExcluded(item unsafe.Pointer, excludeByPath *uint8) uint8

func CSBackupSetItemExcluded

func CSBackupSetItemExcluded(item unsafe.Pointer, exclude uint8, excludeByPath uint8) int

func CSCopyMachineName

func CSCopyMachineName() unsafe.Pointer

func CSCopyUserName

func CSCopyUserName(useShortName uint8) unsafe.Pointer

func CSDiskSpaceCancelRecovery

func CSDiskSpaceCancelRecovery(operationUUID unsafe.Pointer)

func CSDiskSpaceGetRecoveryEstimate

func CSDiskSpaceGetRecoveryEstimate(volumeURL unsafe.Pointer) uint64

func CSDiskSpaceStartRecovery

func CSDiskSpaceStartRecovery(volumeURL unsafe.Pointer, bytesNeeded uint64, options int, outOperationUUID unsafe.Pointer, callbackQueue *foundation.NSObject, callback func(uint8, uint64, unsafe.Pointer))

func CSGetComponentsThreadMode

func CSGetComponentsThreadMode() uint

func CSSetComponentsThreadMode

func CSSetComponentsThreadMode(mode uint)

func CallComponentCanDo

func CallComponentCanDo(ci *ComponentInstanceRecord, ftnNumber int16) int

func CallComponentClose

func CallComponentClose(ci *ComponentInstanceRecord, self *ComponentInstanceRecord) int

func CallComponentDispatch

func CallComponentDispatch(cp *ComponentParameters) int

func CallComponentFunction

func CallComponentFunction(params *ComponentParameters, func_ unsafe.Pointer) int

func CallComponentFunctionWithStorage

func CallComponentFunctionWithStorage(storage *string, params *ComponentParameters, func_ unsafe.Pointer) int

func CallComponentFunctionWithStorageProcInfo

func CallComponentFunctionWithStorageProcInfo(storage *string, params *ComponentParameters, func_ unsafe.Pointer, funcProcInfo uint) int

func CallComponentGetMPWorkFunction

func CallComponentGetMPWorkFunction(ci *ComponentInstanceRecord, workFunction unsafe.Pointer, refCon unsafe.Pointer) int

func CallComponentGetPublicResource

func CallComponentGetPublicResource(ci *ComponentInstanceRecord, resourceType uint, resourceID int16, resource **string) int

func CallComponentOpen

func CallComponentOpen(ci *ComponentInstanceRecord, self *ComponentInstanceRecord) int

func CallComponentRegister

func CallComponentRegister(ci *ComponentInstanceRecord) int

func CallComponentTarget

func CallComponentTarget(ci *ComponentInstanceRecord, target *ComponentInstanceRecord) int

func CallComponentUnregister

func CallComponentUnregister(ci *ComponentInstanceRecord) int

func CallComponentVersion

func CallComponentVersion(ci *ComponentInstanceRecord) int

func ChangeTextToUnicodeInfo

func ChangeTextToUnicodeInfo(ioTextToUnicodeInfo unsafe.Pointer, iUnicodeMapping *UnicodeMapping) int

func ChangeUnicodeToTextInfo

func ChangeUnicodeToTextInfo(ioUnicodeToTextInfo unsafe.Pointer, iUnicodeMapping *UnicodeMapping) int

func ChangedResource

func ChangedResource(theResource *string)

func CloneCollection

func CloneCollection(c unsafe.Pointer) unsafe.Pointer

func CloseComponent

func CloseComponent(aComponentInstance *ComponentInstanceRecord) int16

func CloseComponentResFile

func CloseComponentResFile(refnum int) int16

func CloseResFile

func CloseResFile(refNum int)

func CollectionTagExists

func CollectionTagExists(c unsafe.Pointer, tag uint) uint8

func CompareAndSwap

func CompareAndSwap(oldValue uint, newValue uint, address *uint) uint8

func Compound

func Compound(rate float64, periods float64) float64

C function: compound

func ConvertFromPStringToUnicode

func ConvertFromPStringToUnicode(iTextToUnicodeInfo unsafe.Pointer, iPascalStr *uint8, iOutputBufLen uint, oUnicodeLen *uint, oUnicodeStr *uint16) int

func ConvertFromTextToUnicode

func ConvertFromTextToUnicode(iTextToUnicodeInfo unsafe.Pointer, iSourceLen uint, iSourceStr unsafe.Pointer, iControlFlags uint, iOffsetCount uint, iOffsetArray *uint, oOffsetCount *uint, oOffsetArray *uint, iOutputBufLen uint, oSourceRead *uint, oUnicodeLen *uint, oUnicodeStr *uint16) int

func ConvertFromUnicodeToPString

func ConvertFromUnicodeToPString(iUnicodeToTextInfo unsafe.Pointer, iUnicodeLen uint, iUnicodeStr *uint16, oPascalStr *uint8) int

func ConvertFromUnicodeToScriptCodeRun

func ConvertFromUnicodeToScriptCodeRun(iUnicodeToTextInfo unsafe.Pointer, iUnicodeLen uint, iUnicodeStr *uint16, iControlFlags uint, iOffsetCount uint, iOffsetArray *uint, oOffsetCount *uint, oOffsetArray *uint, iOutputBufLen uint, oInputRead *uint, oOutputLen *uint, oOutputStr unsafe.Pointer, iScriptRunBufLen uint, oScriptRunOutLen *uint, oScriptCodeRuns *ScriptCodeRun) int

func ConvertFromUnicodeToText

func ConvertFromUnicodeToText(iUnicodeToTextInfo unsafe.Pointer, iUnicodeLen uint, iUnicodeStr *uint16, iControlFlags uint, iOffsetCount uint, iOffsetArray *uint, oOffsetCount *uint, oOffsetArray *uint, iOutputBufLen uint, oInputRead *uint, oOutputLen *uint, oOutputStr unsafe.Pointer) int

func ConvertFromUnicodeToTextRun

func ConvertFromUnicodeToTextRun(iUnicodeToTextInfo unsafe.Pointer, iUnicodeLen uint, iUnicodeStr *uint16, iControlFlags uint, iOffsetCount uint, iOffsetArray *uint, oOffsetCount *uint, oOffsetArray *uint, iOutputBufLen uint, oInputRead *uint, oOutputLen *uint, oOutputStr unsafe.Pointer, iEncodingRunBufLen uint, oEncodingRunOutLen *uint, oEncodingRuns *TextEncodingRun) int

func CopyCollection

func CopyCollection(srcCollection unsafe.Pointer, dstCollection unsafe.Pointer) unsafe.Pointer

func CoreEndianFlipData

func CoreEndianFlipData(dataDomain uint, dataType uint, id_ int16, data unsafe.Pointer, dataLen uint, currentlyNative uint8) int

func CoreEndianGetFlipper

func CoreEndianGetFlipper(dataDomain uint, dataType uint, proc unsafe.Pointer, refcon unsafe.Pointer) int

func CoreEndianInstallFlipper

func CoreEndianInstallFlipper(dataDomain uint, dataType uint, proc unsafe.Pointer, refcon unsafe.Pointer) int

func Count1Resources

func Count1Resources(theType uint) int16

func Count1Types

func Count1Types() int16

func CountCollectionItems

func CountCollectionItems(c unsafe.Pointer) int

func CountCollectionOwners

func CountCollectionOwners(c unsafe.Pointer) int

func CountCollectionTags

func CountCollectionTags(c unsafe.Pointer) int

func CountComponentInstances

func CountComponentInstances(aComponent *ComponentRecord) int

func CountComponents

func CountComponents(looking *ComponentDescription) int

func CountResources

func CountResources(theType uint) int16

func CountTaggedCollectionItems

func CountTaggedCollectionItems(c unsafe.Pointer, tag uint) int

func CountTypes

func CountTypes() int16

func CountUnicodeMappings

func CountUnicodeMappings(iFilter uint, iFindMapping *UnicodeMapping, oActualCount *uint) int

func CreateTextEncoding

func CreateTextEncoding(encodingBase uint, encodingVariant uint, encodingFormat uint) uint

func CreateTextToUnicodeInfo

func CreateTextToUnicodeInfo(iUnicodeMapping *UnicodeMapping, oTextToUnicodeInfo unsafe.Pointer) int

func CreateTextToUnicodeInfoByEncoding

func CreateTextToUnicodeInfoByEncoding(iEncoding uint, oTextToUnicodeInfo unsafe.Pointer) int

func CreateThreadPool

func CreateThreadPool(threadStyle uint, numToCreate int16, stackSize int) int16

func CreateUnicodeToTextInfo

func CreateUnicodeToTextInfo(iUnicodeMapping *UnicodeMapping, oUnicodeToTextInfo unsafe.Pointer) int

func CreateUnicodeToTextInfoByEncoding

func CreateUnicodeToTextInfoByEncoding(iEncoding uint, oUnicodeToTextInfo unsafe.Pointer) int

func CreateUnicodeToTextRunInfo

func CreateUnicodeToTextRunInfo(iNumberOfMappings uint, iUnicodeMappings *UnicodeMapping, oUnicodeToTextInfo unsafe.Pointer) int

func CreateUnicodeToTextRunInfoByEncoding

func CreateUnicodeToTextRunInfoByEncoding(iNumberOfEncodings uint, iEncodings *uint, oUnicodeToTextInfo unsafe.Pointer) int

func CreateUnicodeToTextRunInfoByScriptCode

func CreateUnicodeToTextRunInfoByScriptCode(iNumberOfScriptCodes uint, iScripts *int16, oUnicodeToTextInfo unsafe.Pointer) int

func CurResFile

func CurResFile() int

func DebugAssert

func DebugAssert(componentSignature uint, options uint, assertionString string, exceptionLabelString string, errorString string, fileName string, lineNumber int, value unsafe.Pointer)

func Dec2f

func Dec2f(d *Decimal) float32

C function: dec2f

func Dec2l

func Dec2l(d *Decimal) int

C function: dec2l

func Dec2num

func Dec2num(d *Decimal) float64

C function: dec2num

func Dec2numl

func Dec2numl(d *Decimal) float64

C function: dec2numl

func Dec2s

func Dec2s(d *Decimal) int16

C function: dec2s

func Dec2str

func Dec2str(f *Decform, d *Decimal, s string)

C function: dec2str

func DecrementAtomic

func DecrementAtomic(address *int) int

func DecrementAtomic8

func DecrementAtomic8(address *int8) int8

func DecrementAtomic16

func DecrementAtomic16(address *int16) int16

func Delay

func Delay(numTicks uint, finalTicks unsafe.Pointer)

func DelegateComponentCall

func DelegateComponentCall(originalParams *ComponentParameters, ci *ComponentInstanceRecord) int

func DeleteGestaltValue

func DeleteGestaltValue(selector uint) int16

func Dequeue

func Dequeue(qElement *QElem, qHeader *QHdr) int16

func DetachResource

func DetachResource(theResource *string)

func DetachResourceFile

func DetachResourceFile(refNum int) int16

func DetermineIfPathIsEnclosedByFolder

func DetermineIfPathIsEnclosedByFolder(domainOrVRefNum int16, folderType uint, utf8Path *uint8, pathIsRealPath uint8, outResult *uint8) int16

func DisposeCollection

func DisposeCollection(c unsafe.Pointer)

func DisposeCollectionExceptionUPP

func DisposeCollectionExceptionUPP(userUPP unsafe.Pointer)

func DisposeCollectionFlattenUPP

func DisposeCollectionFlattenUPP(userUPP unsafe.Pointer)

func DisposeComponentFunctionUPP

func DisposeComponentFunctionUPP(userUPP unsafe.Pointer)

func DisposeComponentMPWorkFunctionUPP

func DisposeComponentMPWorkFunctionUPP(userUPP unsafe.Pointer)

func DisposeComponentRoutineUPP

func DisposeComponentRoutineUPP(userUPP unsafe.Pointer)

func DisposeDebugAssertOutputHandlerUPP

func DisposeDebugAssertOutputHandlerUPP(userUPP unsafe.Pointer)

func DisposeDebugComponent

func DisposeDebugComponent(componentSignature uint) int

func DisposeDebugComponentCallbackUPP

func DisposeDebugComponentCallbackUPP(userUPP unsafe.Pointer)

func DisposeDebuggerDisposeThreadUPP

func DisposeDebuggerDisposeThreadUPP(userUPP unsafe.Pointer)

func DisposeDebuggerNewThreadUPP

func DisposeDebuggerNewThreadUPP(userUPP unsafe.Pointer)

func DisposeDebuggerThreadSchedulerUPP

func DisposeDebuggerThreadSchedulerUPP(userUPP unsafe.Pointer)

func DisposeDeferredTaskUPP

func DisposeDeferredTaskUPP(userUPP unsafe.Pointer)

func DisposeExceptionHandlerUPP deprecated

func DisposeExceptionHandlerUPP(userUPP unsafe.Pointer)

Deprecated: No longer supported

func DisposeFNSubscriptionUPP

func DisposeFNSubscriptionUPP(userUPP unsafe.Pointer)

func DisposeFSVolumeEjectUPP

func DisposeFSVolumeEjectUPP(userUPP unsafe.Pointer)

func DisposeFSVolumeMountUPP

func DisposeFSVolumeMountUPP(userUPP unsafe.Pointer)

func DisposeFSVolumeUnmountUPP

func DisposeFSVolumeUnmountUPP(userUPP unsafe.Pointer)

func DisposeFolderManagerNotificationUPP

func DisposeFolderManagerNotificationUPP(userUPP unsafe.Pointer)

func DisposeGetMissingComponentResourceUPP

func DisposeGetMissingComponentResourceUPP(userUPP unsafe.Pointer)

func DisposeHandle

func DisposeHandle(h *string)

func DisposeIOCompletionUPP

func DisposeIOCompletionUPP(userUPP unsafe.Pointer)

func DisposeIndexToUCStringUPP

func DisposeIndexToUCStringUPP(userUPP unsafe.Pointer)

func DisposePtr

func DisposePtr(p string)

func DisposeResErrUPP

func DisposeResErrUPP(userUPP unsafe.Pointer)

func DisposeSelectorFunctionUPP

func DisposeSelectorFunctionUPP(userUPP unsafe.Pointer)

func DisposeTextToUnicodeInfo

func DisposeTextToUnicodeInfo(ioTextToUnicodeInfo unsafe.Pointer) int

func DisposeThread

func DisposeThread(threadToDump uint, threadResult unsafe.Pointer, recycleThread uint8) int16

func DisposeThreadEntryUPP

func DisposeThreadEntryUPP(userUPP unsafe.Pointer)

func DisposeThreadSchedulerUPP

func DisposeThreadSchedulerUPP(userUPP unsafe.Pointer)

func DisposeThreadSwitchUPP

func DisposeThreadSwitchUPP(userUPP unsafe.Pointer)

func DisposeThreadTerminationUPP

func DisposeThreadTerminationUPP(userUPP unsafe.Pointer)

func DisposeTimerUPP

func DisposeTimerUPP(userUPP unsafe.Pointer)

func DisposeUnicodeToTextFallbackUPP

func DisposeUnicodeToTextFallbackUPP(userUPP unsafe.Pointer)

func DisposeUnicodeToTextInfo

func DisposeUnicodeToTextInfo(ioUnicodeToTextInfo unsafe.Pointer) int

func DisposeUnicodeToTextRunInfo

func DisposeUnicodeToTextRunInfo(ioUnicodeToTextRunInfo unsafe.Pointer) int

func Dtox80

func Dtox80(x *float64, x80 unsafe.Pointer)

C function: dtox80

func DurationToAbsolute

func DurationToAbsolute(duration int) unsafe.Pointer

func DurationToNanoseconds

func DurationToNanoseconds(theDuration int) unsafe.Pointer

func EmptyCollection

func EmptyCollection(c unsafe.Pointer)

func EmptyHandle

func EmptyHandle(h *string)

func Enqueue

func Enqueue(qElement *QElem, qHeader *QHdr)

func FNGetDirectoryForSubscription

func FNGetDirectoryForSubscription(subscription unsafe.Pointer, ref *FSRef) int

func FNNotify

func FNNotify(ref *FSRef, message uint, flags uint) int

func FNNotifyAll

func FNNotifyAll(message uint, flags uint) int

func FNNotifyByPath

func FNNotifyByPath(path *uint8, message uint, flags uint) int

func FNSubscribe

func FNSubscribe(directoryRef *FSRef, callback unsafe.Pointer, refcon unsafe.Pointer, flags uint, subscription unsafe.Pointer) int

func FNSubscribeByPath

func FNSubscribeByPath(directoryPath *uint8, callback unsafe.Pointer, refcon unsafe.Pointer, flags uint, subscription unsafe.Pointer) int

func FNUnsubscribe

func FNUnsubscribe(subscription unsafe.Pointer) int

func FSAllocateFork

func FSAllocateFork(forkRefNum int, flags uint16, positionMode uint16, positionOffset int64, requestCount uint64, actualCount *uint64) int16

func FSCancelVolumeOperation

func FSCancelVolumeOperation(volumeOp unsafe.Pointer) int

func FSCatalogSearch

func FSCatalogSearch(iterator unsafe.Pointer, searchCriteria *FSSearchParams, maximumObjects uint, actualObjects *uint, containerChanged *uint8, whichInfo uint, catalogInfos *FSCatalogInfo, refs *FSRef, specs *FSSpec, names unsafe.Pointer) int16

func FSCloseFork

func FSCloseFork(forkRefNum int) int16

func FSCloseIterator

func FSCloseIterator(iterator unsafe.Pointer) int16

func FSCompareFSRefs

func FSCompareFSRefs(ref1 *FSRef, ref2 *FSRef) int16

func FSCopyAliasInfo

func FSCopyAliasInfo(inAlias **AliasRecord, targetName unsafe.Pointer, volumeName unsafe.Pointer, pathString unsafe.Pointer, whichInfo *uint, info *FSAliasInfo) int

func FSCopyDADiskForVolume

func FSCopyDADiskForVolume(vRefNum int16, disk unsafe.Pointer) int

func FSCopyDiskIDForVolume

func FSCopyDiskIDForVolume(vRefNum int16, diskID unsafe.Pointer) int

func FSCopyObjectAsync

func FSCopyObjectAsync(fileOp unsafe.Pointer, source *FSRef, destDir *FSRef, destName unsafe.Pointer, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSCopyObjectSync

func FSCopyObjectSync(source *FSRef, destDir *FSRef, destName unsafe.Pointer, target *FSRef, options uint) int

func FSCopyURLForVolume deprecated

func FSCopyURLForVolume(vRefNum int16, url unsafe.Pointer) int

Deprecated: since macOS 10.8.

func FSCreateDirectoryUnicode

func FSCreateDirectoryUnicode(parentRef *FSRef, nameLength uint, name *uint16, whichInfo uint, catalogInfo *FSCatalogInfo, newRef *FSRef, newSpec *FSSpec, newDirID *uint) int16

func FSCreateFileAndOpenForkUnicode

func FSCreateFileAndOpenForkUnicode(parentRef *FSRef, nameLength uint, name *uint16, whichInfo uint, catalogInfo *FSCatalogInfo, forkNameLength uint, forkName *uint16, permissions int8, forkRefNum *int, newRef *FSRef) int

func FSCreateFileUnicode

func FSCreateFileUnicode(parentRef *FSRef, nameLength uint, name *uint16, whichInfo uint, catalogInfo *FSCatalogInfo, newRef *FSRef, newSpec *FSSpec) int16

func FSCreateFork

func FSCreateFork(ref *FSRef, forkNameLength uint, forkName *uint16) int16

func FSCreateResFile

func FSCreateResFile(parentRef *FSRef, nameLength uint, name *uint16, whichInfo uint, catalogInfo *FSCatalogInfo, newRef *FSRef, newSpec *FSSpec)

func FSCreateResourceFile

func FSCreateResourceFile(parentRef *FSRef, nameLength uint, name *uint16, whichInfo uint, catalogInfo *FSCatalogInfo, forkNameLength uint, forkName *uint16, newRef *FSRef, newSpec *FSSpec) int16

func FSCreateResourceFork

func FSCreateResourceFork(ref *FSRef, forkNameLength uint, forkName *uint16, flags uint) int16

func FSCreateStringFromHFSUniStr

func FSCreateStringFromHFSUniStr(alloc unsafe.Pointer, uniStr unsafe.Pointer) unsafe.Pointer

func FSCreateVolumeOperation

func FSCreateVolumeOperation(volumeOp unsafe.Pointer) int

func FSDeleteFork

func FSDeleteFork(ref *FSRef, forkNameLength uint, forkName *uint16) int16

func FSDeleteObject

func FSDeleteObject(ref *FSRef) int16

func FSDetermineIfRefIsEnclosedByFolder

func FSDetermineIfRefIsEnclosedByFolder(domainOrVRefNum int16, folderType uint, inRef *FSRef, outResult *uint8) int16

func FSDisposeVolumeOperation

func FSDisposeVolumeOperation(volumeOp unsafe.Pointer) int

func FSEjectVolumeAsync

func FSEjectVolumeAsync(vRefNum int16, flags uint, volumeOp unsafe.Pointer, clientData unsafe.Pointer, callback unsafe.Pointer, runloop unsafe.Pointer, runloopMode unsafe.Pointer) int

func FSEjectVolumeSync

func FSEjectVolumeSync(vRefNum int16, flags uint, dissenter *int) int

func FSExchangeObjects

func FSExchangeObjects(ref *FSRef, destRef *FSRef) int16

func FSFileOperationCancel

func FSFileOperationCancel(fileOp unsafe.Pointer) int

func FSFileOperationCopyStatus

func FSFileOperationCopyStatus(fileOp unsafe.Pointer, currentItem *FSRef, stage *uint, error_ *int, statusDictionary unsafe.Pointer, info unsafe.Pointer) int

func FSFileOperationCreate

func FSFileOperationCreate(alloc unsafe.Pointer) unsafe.Pointer

func FSFileOperationGetTypeID

func FSFileOperationGetTypeID() uint

func FSFileOperationScheduleWithRunLoop

func FSFileOperationScheduleWithRunLoop(fileOp unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer) int

func FSFileOperationUnscheduleFromRunLoop

func FSFileOperationUnscheduleFromRunLoop(fileOp unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer) int

func FSFileSecurityCopyAccessControlList

func FSFileSecurityCopyAccessControlList(fileSec unsafe.Pointer, accessControlList unsafe.Pointer) int

func FSFileSecurityCreate

func FSFileSecurityCreate(alloc unsafe.Pointer) unsafe.Pointer

func FSFileSecurityCreateWithFSPermissionInfo

func FSFileSecurityCreateWithFSPermissionInfo(alloc unsafe.Pointer, permissions *FSPermissionInfo) unsafe.Pointer

func FSFileSecurityGetGroup

func FSFileSecurityGetGroup(fileSec unsafe.Pointer, group *uint) int

func FSFileSecurityGetGroupUUID

func FSFileSecurityGetGroupUUID(fileSec unsafe.Pointer, group *corefoundation.CFUUIDBytes) int

func FSFileSecurityGetMode

func FSFileSecurityGetMode(fileSec unsafe.Pointer, mode *uint16) int

func FSFileSecurityGetOwner

func FSFileSecurityGetOwner(fileSec unsafe.Pointer, owner *uint) int

func FSFileSecurityGetOwnerUUID

func FSFileSecurityGetOwnerUUID(fileSec unsafe.Pointer, owner *corefoundation.CFUUIDBytes) int

func FSFileSecurityGetTypeID

func FSFileSecurityGetTypeID() uint

func FSFileSecurityRefCreateCopy

func FSFileSecurityRefCreateCopy(alloc unsafe.Pointer, fileSec unsafe.Pointer) unsafe.Pointer

func FSFileSecuritySetAccessControlList

func FSFileSecuritySetAccessControlList(fileSec unsafe.Pointer, accessControlList unsafe.Pointer) int

func FSFileSecuritySetGroup

func FSFileSecuritySetGroup(fileSec unsafe.Pointer, group uint) int

func FSFileSecuritySetGroupUUID

func FSFileSecuritySetGroupUUID(fileSec unsafe.Pointer, group *corefoundation.CFUUIDBytes) int

func FSFileSecuritySetMode

func FSFileSecuritySetMode(fileSec unsafe.Pointer, mode uint16) int

func FSFileSecuritySetOwner

func FSFileSecuritySetOwner(fileSec unsafe.Pointer, owner uint) int

func FSFileSecuritySetOwnerUUID

func FSFileSecuritySetOwnerUUID(fileSec unsafe.Pointer, owner *corefoundation.CFUUIDBytes) int

func FSFindFolder

func FSFindFolder(vRefNum int16, folderType uint, createFolder uint8, foundRef *FSRef) int16

func FSFlushFork

func FSFlushFork(forkRefNum int) int16

func FSFlushVolume

func FSFlushVolume(vRefNum int16) int

func FSFollowFinderAlias

func FSFollowFinderAlias(fromFile *FSRef, alias **AliasRecord, logon uint8, target *FSRef, wasChanged *uint8) int16

func FSGetAsyncEjectStatus

func FSGetAsyncEjectStatus(volumeOp unsafe.Pointer, status *uint, volumeOpStatus *int, volumeRefNum *int16, dissenter *int, clientData unsafe.Pointer) int

func FSGetAsyncMountStatus

func FSGetAsyncMountStatus(volumeOp unsafe.Pointer, status *uint, volumeOpStatus *int, mountedVolumeRefNum *int16, clientData unsafe.Pointer) int

func FSGetAsyncUnmountStatus

func FSGetAsyncUnmountStatus(volumeOp unsafe.Pointer, status *uint, volumeOpStatus *int, volumeRefNum *int16, dissenter *int, clientData unsafe.Pointer) int

func FSGetCatalogInfo

func FSGetCatalogInfo(ref *FSRef, whichInfo uint, catalogInfo *FSCatalogInfo, outName unsafe.Pointer, fsSpec *FSSpec, parentRef *FSRef) int16

func FSGetCatalogInfoBulk

func FSGetCatalogInfoBulk(iterator unsafe.Pointer, maximumObjects uint, actualObjects *uint, containerChanged *uint8, whichInfo uint, catalogInfos *FSCatalogInfo, refs *FSRef, specs *FSSpec, names unsafe.Pointer) int16

func FSGetDataForkName

func FSGetDataForkName(dataForkName unsafe.Pointer) int16

func FSGetForkCBInfo

func FSGetForkCBInfo(desiredRefNum int, volume int16, iterator *int16, actualRefNum *int, forkInfo *FSForkInfo, ref *FSRef, outForkName unsafe.Pointer) int16

func FSGetForkPosition

func FSGetForkPosition(forkRefNum int, position *int64) int16

func FSGetForkSize

func FSGetForkSize(forkRefNum int, forkSize *int64) int16

func FSGetHFSUniStrFromString

func FSGetHFSUniStrFromString(theString unsafe.Pointer, uniStr unsafe.Pointer) int

func FSGetResourceForkName

func FSGetResourceForkName(resourceForkName unsafe.Pointer) int16

func FSGetTemporaryDirectoryForReplaceObject

func FSGetTemporaryDirectoryForReplaceObject(originalObject *FSRef, temporaryDirectory *FSRef, flags uint) int

func FSGetVolumeForDADisk

func FSGetVolumeForDADisk(disk unsafe.Pointer, vRefNum *int16) int

func FSGetVolumeForDiskID

func FSGetVolumeForDiskID(diskID unsafe.Pointer, vRefNum *int16) int

func FSGetVolumeInfo

func FSGetVolumeInfo(volume int16, volumeIndex uint, actualVolume *int16, whichInfo uint, info *FSVolumeInfo, volumeName unsafe.Pointer, rootDirectory *FSRef) int16

func FSGetVolumeMountInfo

func FSGetVolumeMountInfo(volume int16, buffer *uint8, bufferSize uint, actualSize *uint) int

func FSGetVolumeMountInfoSize

func FSGetVolumeMountInfoSize(volume int16, size *uint) int

func FSGetVolumeParms

func FSGetVolumeParms(volume int16, buffer *GetVolParmsInfoBuffer, bufferSize uint) int

func FSIsAliasFile

func FSIsAliasFile(fileRef *FSRef, aliasFileFlag *uint8, folderFlag *uint8) int16

func FSIsFSRefValid

func FSIsFSRefValid(ref *FSRef) uint8

func FSIterateForks

func FSIterateForks(ref *FSRef, forkIterator *CatPositionRec, forkName unsafe.Pointer, forkSize *int64, forkPhysicalSize *uint64) int16

func FSLockRange

func FSLockRange(forkRefNum int, positionMode uint16, positionOffset int64, requestCount uint64, rangeStart *uint64) int

func FSMakeFSRefUnicode

func FSMakeFSRefUnicode(parentRef *FSRef, nameLength uint, name *uint16, textEncodingHint uint, newRef *FSRef) int16

func FSMatchAliasBulk

func FSMatchAliasBulk(fromFile *FSRef, rulesMask uint, inAlias **AliasRecord, aliasCount *int16, aliasList *FSRef, needsUpdate *uint8, aliasFilter unsafe.Pointer, yourDataPtr unsafe.Pointer) int

func FSMountLocalVolumeAsync

func FSMountLocalVolumeAsync(diskID unsafe.Pointer, mountDir unsafe.Pointer, volumeOp unsafe.Pointer, clientData unsafe.Pointer, flags uint, callback unsafe.Pointer, runloop unsafe.Pointer, runloopMode unsafe.Pointer) int

func FSMountLocalVolumeSync

func FSMountLocalVolumeSync(diskID unsafe.Pointer, mountDir unsafe.Pointer, mountedVolumeRefNum *int16, flags uint) int

func FSMountServerVolumeAsync

func FSMountServerVolumeAsync(url unsafe.Pointer, mountDir unsafe.Pointer, user unsafe.Pointer, password unsafe.Pointer, volumeOp unsafe.Pointer, clientData unsafe.Pointer, flags uint, callback unsafe.Pointer, runloop unsafe.Pointer, runloopMode unsafe.Pointer) int

func FSMountServerVolumeSync

func FSMountServerVolumeSync(url unsafe.Pointer, mountDir unsafe.Pointer, user unsafe.Pointer, password unsafe.Pointer, mountedVolumeRefNum *int16, flags uint) int

func FSMoveObject

func FSMoveObject(ref *FSRef, destDirectory *FSRef, newRef *FSRef) int16

func FSMoveObjectAsync

func FSMoveObjectAsync(fileOp unsafe.Pointer, source *FSRef, destDir *FSRef, destName unsafe.Pointer, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSMoveObjectSync

func FSMoveObjectSync(source *FSRef, destDir *FSRef, destName unsafe.Pointer, target *FSRef, options uint) int

func FSMoveObjectToTrashAsync

func FSMoveObjectToTrashAsync(fileOp unsafe.Pointer, source *FSRef, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSMoveObjectToTrashSync

func FSMoveObjectToTrashSync(source *FSRef, target *FSRef, options uint) int

func FSNewAlias

func FSNewAlias(fromFile *FSRef, target *FSRef, inAlias ***AliasRecord) int16

func FSNewAliasFromPath

func FSNewAliasFromPath(fromFilePath string, targetPath string, flags uint, inAlias ***AliasRecord, isDirectory *uint8) int

func FSNewAliasMinimal

func FSNewAliasMinimal(target *FSRef, inAlias ***AliasRecord) int16

func FSNewAliasMinimalUnicode

func FSNewAliasMinimalUnicode(targetParentRef *FSRef, targetNameLength uint, targetName *uint16, inAlias ***AliasRecord, isDirectory *uint8) int16

func FSNewAliasUnicode

func FSNewAliasUnicode(fromFile *FSRef, targetParentRef *FSRef, targetNameLength uint, targetName *uint16, inAlias ***AliasRecord, isDirectory *uint8) int16

func FSOpenFork

func FSOpenFork(ref *FSRef, forkNameLength uint, forkName *uint16, permissions int8, forkRefNum *int) int16

func FSOpenIterator

func FSOpenIterator(container *FSRef, iteratorFlags uint, iterator unsafe.Pointer) int16

func FSOpenOrphanResFile

func FSOpenOrphanResFile(ref *FSRef, permission int8, refNum *int) int16

func FSOpenResFile

func FSOpenResFile(ref *FSRef, permission int8) int

func FSOpenResourceFile

func FSOpenResourceFile(ref *FSRef, forkNameLength uint, forkName *uint16, permissions int8, refNum *int) int16

func FSPathCopyObjectAsync

func FSPathCopyObjectAsync(fileOp unsafe.Pointer, sourcePath string, destDirPath string, destName unsafe.Pointer, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSPathCopyObjectSync

func FSPathCopyObjectSync(sourcePath string, destDirPath string, destName unsafe.Pointer, targetPath string, options uint) int

func FSPathFileOperationCopyStatus

func FSPathFileOperationCopyStatus(fileOp unsafe.Pointer, currentItem string, stage *uint, error_ *int, statusDictionary unsafe.Pointer, info unsafe.Pointer) int

func FSPathGetTemporaryDirectoryForReplaceObject

func FSPathGetTemporaryDirectoryForReplaceObject(originalObjectPath string, temporaryDirectoryPath string, maxPathSize uint, flags uint) int

func FSPathMakeRef

func FSPathMakeRef(path *uint8, ref *FSRef, isDirectory *uint8) int

func FSPathMakeRefWithOptions

func FSPathMakeRefWithOptions(path *uint8, options uint, ref *FSRef, isDirectory *uint8) int

func FSPathMoveObjectAsync

func FSPathMoveObjectAsync(fileOp unsafe.Pointer, sourcePath string, destDirPath string, destName unsafe.Pointer, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSPathMoveObjectSync

func FSPathMoveObjectSync(sourcePath string, destDirPath string, destName unsafe.Pointer, targetPath string, options uint) int

func FSPathMoveObjectToTrashAsync

func FSPathMoveObjectToTrashAsync(fileOp unsafe.Pointer, sourcePath string, flags uint, callback unsafe.Pointer, statusChangeInterval float64, clientContext *FSFileOperationClientContext) int

func FSPathMoveObjectToTrashSync

func FSPathMoveObjectToTrashSync(sourcePath string, targetPath string, options uint) int

func FSPathReplaceObject

func FSPathReplaceObject(originalObjectPath string, replacementObjectPath string, newName unsafe.Pointer, temporaryName unsafe.Pointer, temporaryDirectoryPath string, flags uint) int

func FSReadFork

func FSReadFork(forkRefNum int, positionMode uint16, positionOffset int64, requestCount uint, buffer unsafe.Pointer, actualCount *uint) int16

func FSRefMakePath

func FSRefMakePath(ref *FSRef, path *uint8, pathBufferSize uint) int

func FSRenameUnicode

func FSRenameUnicode(ref *FSRef, nameLength uint, name *uint16, textEncodingHint uint, newRef *FSRef) int16

func FSReplaceObject

func FSReplaceObject(originalObject *FSRef, replacementObject *FSRef, newName unsafe.Pointer, temporaryName unsafe.Pointer, temporaryDirectory *FSRef, flags uint, resultObject *FSRef) int

func FSResolveAlias

func FSResolveAlias(fromFile *FSRef, alias **AliasRecord, target *FSRef, wasChanged *uint8) int16

func FSResolveAliasFile

func FSResolveAliasFile(theRef *FSRef, resolveAliasChains uint8, targetIsFolder *uint8, wasAliased *uint8) int16

func FSResolveAliasFileWithMountFlags

func FSResolveAliasFileWithMountFlags(theRef *FSRef, resolveAliasChains uint8, targetIsFolder *uint8, wasAliased *uint8, mountFlags uint) int16

func FSResolveAliasWithMountFlags

func FSResolveAliasWithMountFlags(fromFile *FSRef, inAlias **AliasRecord, target *FSRef, wasChanged *uint8, mountFlags uint) int16

func FSResolveNodeID

func FSResolveNodeID(volume int16, nodeID uint, newRef *FSRef) int

func FSResourceFileAlreadyOpen

func FSResourceFileAlreadyOpen(resourceFileRef *FSRef, inChain *uint8, refNum *int) uint8

func FSSetCatalogInfo

func FSSetCatalogInfo(ref *FSRef, whichInfo uint, catalogInfo *FSCatalogInfo) int16

func FSSetForkPosition

func FSSetForkPosition(forkRefNum int, positionMode uint16, positionOffset int64) int16

func FSSetForkSize

func FSSetForkSize(forkRefNum int, positionMode uint16, positionOffset int64) int16

func FSSetVolumeInfo

func FSSetVolumeInfo(volume int16, whichInfo uint, info *FSVolumeInfo) int16

func FSUnlinkObject

func FSUnlinkObject(ref *FSRef) int16

func FSUnlockRange

func FSUnlockRange(forkRefNum int, positionMode uint16, positionOffset int64, requestCount uint64, rangeStart *uint64) int

func FSUnmountVolumeAsync

func FSUnmountVolumeAsync(vRefNum int16, flags uint, volumeOp unsafe.Pointer, clientData unsafe.Pointer, callback unsafe.Pointer, runloop unsafe.Pointer, runloopMode unsafe.Pointer) int

func FSUnmountVolumeSync

func FSUnmountVolumeSync(vRefNum int16, flags uint, dissenter *int) int

func FSUpdateAlias

func FSUpdateAlias(fromFile *FSRef, target *FSRef, alias **AliasRecord, wasChanged *uint8) int16

func FSVolumeMount

func FSVolumeMount(buffer *uint8, mountedVolume *int16) int

func FSWriteFork

func FSWriteFork(forkRefNum int, positionMode uint16, positionOffset int64, requestCount uint, buffer unsafe.Pointer, actualCount *uint) int16

func FindFolder

func FindFolder(vRefNum int16, folderType uint, createFolder uint8, foundVRefNum *int16, foundDirID *int) int16

func Fix2Frac

func Fix2Frac(x int) int

func Fix2Long

func Fix2Long(x int) int

func Fix2X

func Fix2X(x int) float64

func FixATan2

func FixATan2(x int, y int) int

func FixDiv

func FixDiv(x int, y int) int

func FixMul

func FixMul(a int, b int) int

func FixRatio

func FixRatio(numer int16, denom int16) int

func FixRound

func FixRound(x int) int16

func FlattenCollection

func FlattenCollection(c unsafe.Pointer, flattenProc unsafe.Pointer, refCon unsafe.Pointer) int16

func FlattenCollectionToHdl

func FlattenCollectionToHdl(aCollection unsafe.Pointer, flattened *string) int16

func FlattenPartialCollection

func FlattenPartialCollection(c unsafe.Pointer, flattenProc unsafe.Pointer, refCon unsafe.Pointer, whichAttributes int, matchingAttributes int) int16

func Frac2Fix

func Frac2Fix(x int) int

func Frac2X

func Frac2X(x int) float64

func FracCos

func FracCos(x int) int

func FracDiv

func FracDiv(x int, y int) int

func FracMul

func FracMul(x int, y int) int

func FracSin

func FracSin(x int) int

func FracSqrt

func FracSqrt(x int) int

func Gestalt

func Gestalt(selector uint, response *int) int16

func Get1IndResource

func Get1IndResource(theType uint, itemIndex int16) *string

func Get1IndType

func Get1IndType(theType *uint, itemIndex int16)

func Get1NamedResource

func Get1NamedResource(theType uint, name *uint8) *string

func Get1Resource

func Get1Resource(theType uint, theID int16) *string

func GetAliasSize

func GetAliasSize(alias **AliasRecord) int

func GetAliasSizeFromPtr

func GetAliasSizeFromPtr(alias *AliasRecord) int

func GetAliasUserType

func GetAliasUserType(alias **AliasRecord) uint

func GetAliasUserTypeFromPtr

func GetAliasUserTypeFromPtr(alias *AliasRecord) uint

func GetCollectionDefaultAttributes

func GetCollectionDefaultAttributes(c unsafe.Pointer) int

func GetCollectionExceptionProc

func GetCollectionExceptionProc(c unsafe.Pointer) unsafe.Pointer

func GetCollectionItem

func GetCollectionItem(c unsafe.Pointer, tag uint, id_ int, itemSize *int, itemData unsafe.Pointer) int16

func GetCollectionItemHdl

func GetCollectionItemHdl(aCollection unsafe.Pointer, tag uint, id_ int, itemData *string) int16

func GetCollectionItemInfo

func GetCollectionItemInfo(c unsafe.Pointer, tag uint, id_ int, itemIndex *int, itemSize *int, attributes *int) int16

func GetCollectionRetainCount

func GetCollectionRetainCount(c unsafe.Pointer) uint

func GetComponentIndString

func GetComponentIndString(aComponent *ComponentRecord, theString *uint8, strListID int16, index int16) int16

func GetComponentInfo

func GetComponentInfo(aComponent *ComponentRecord, cd *ComponentDescription, componentName *string, componentInfo *string, componentIcon *string) int16

func GetComponentInstanceError

func GetComponentInstanceError(aComponentInstance *ComponentInstanceRecord) int16

func GetComponentInstanceStorage

func GetComponentInstanceStorage(aComponentInstance *ComponentInstanceRecord) *string

func GetComponentListModSeed

func GetComponentListModSeed() int

func GetComponentPublicIndString

func GetComponentPublicIndString(aComponent *ComponentRecord, theString *uint8, strListID int16, index int16) int16

func GetComponentPublicResource

func GetComponentPublicResource(aComponent *ComponentRecord, resourceType uint, resourceID int16, theResource **string) int16

func GetComponentPublicResourceList

func GetComponentPublicResourceList(resourceType uint, resourceID int16, flags int, cd *ComponentDescription, missingProc unsafe.Pointer, refCon unsafe.Pointer, atomContainerPtr unsafe.Pointer) int16

func GetComponentRefcon

func GetComponentRefcon(aComponent *ComponentRecord) int

func GetComponentResource

func GetComponentResource(aComponent *ComponentRecord, resType uint, resID int16, theResource **string) int16

func GetComponentTypeModSeed

func GetComponentTypeModSeed(componentType uint) int

func GetCurrentThread

func GetCurrentThread(currentThreadID *uint) int16

func GetDebugComponentInfo

func GetDebugComponentInfo(itemIndex uint, componentSignature *uint, componentName *uint8) int

func GetDebugOptionInfo

func GetDebugOptionInfo(itemIndex uint, componentSignature uint, optionSelectorNum *int, optionName *uint8, optionSetting *uint8) int

func GetDefaultThreadStackSize

func GetDefaultThreadStackSize(threadStyle uint, stackSize *int) int16

func GetFolderNameUnicode

func GetFolderNameUnicode(vRefNum int16, foldType uint, foundVRefNum *int16, name unsafe.Pointer) int

func GetFolderTypes

func GetFolderTypes(requestedTypeCount uint, totalTypeCount *uint, theTypes *uint) int16

func GetHandleSize

func GetHandleSize(h *string) int

func GetIndResource

func GetIndResource(theType uint, itemIndex int16) *string

func GetIndType

func GetIndType(theType *uint, itemIndex int16)

func GetIndexedCollectionItem

func GetIndexedCollectionItem(c unsafe.Pointer, itemIndex int, itemSize *int, itemData unsafe.Pointer) int16

func GetIndexedCollectionItemHdl

func GetIndexedCollectionItemHdl(aCollection unsafe.Pointer, itemIndex int, itemData *string) int16

func GetIndexedCollectionItemInfo

func GetIndexedCollectionItemInfo(c unsafe.Pointer, itemIndex int, tag *uint, id_ *int, itemSize *int, attributes *int) int16

func GetIndexedCollectionTag

func GetIndexedCollectionTag(c unsafe.Pointer, tagIndex int, tag *uint) int16

func GetMacOSStatusCommentString

func GetMacOSStatusCommentString(err int) string

func GetMacOSStatusErrorString

func GetMacOSStatusErrorString(err int) string

func GetMaxResourceSize

func GetMaxResourceSize(theResource *string) int

func GetNamedResource

func GetNamedResource(theType uint, name *uint8) *string

func GetNewCollection

func GetNewCollection(collectionID int16) unsafe.Pointer

func GetNextFOND

func GetNextFOND(fondHandle *string) *string

func GetNextResourceFile

func GetNextResourceFile(curRefNum int, nextRefNum *int) int16

func GetPtrSize

func GetPtrSize(p string) int

func GetResAttrs

func GetResAttrs(theResource *string) int16

func GetResFileAttrs

func GetResFileAttrs(refNum int) int16

func GetResInfo

func GetResInfo(theResource *string, theID *int16, theType *uint, name *uint8)

func GetResource

func GetResource(theType uint, theID int16) *string

func GetResourceSizeOnDisk

func GetResourceSizeOnDisk(theResource *string) int

func GetScriptInfoFromTextEncoding

func GetScriptInfoFromTextEncoding(iEncoding uint, oTextScriptID *int16, oTextLanguageID *int16) int

func GetScriptManagerVariable deprecated

func GetScriptManagerVariable(selector int16) int

Deprecated: Deprecated

func GetTaggedCollectionItem

func GetTaggedCollectionItem(c unsafe.Pointer, tag uint, whichItem int, itemSize *int, itemData unsafe.Pointer) int16

func GetTaggedCollectionItemInfo

func GetTaggedCollectionItemInfo(c unsafe.Pointer, tag uint, whichItem int, id_ *int, itemIndex *int, itemSize *int, attributes *int) int16

func GetTextEncodingBase

func GetTextEncodingBase(encoding uint) uint

func GetTextEncodingFormat

func GetTextEncodingFormat(encoding uint) uint

func GetTextEncodingFromScriptInfo

func GetTextEncodingFromScriptInfo(iTextScriptID int16, iTextLanguageID int16, iTextRegionID int16, oEncoding *uint) int

func GetTextEncodingName

func GetTextEncodingName(iEncoding uint, iNamePartSelector uint, iPreferredRegion int16, iPreferredEncoding uint, iOutputBufLen uint, oNameLength *uint, oActualRegion *int16, oActualEncoding *uint, oEncodingName *uint8) int

func GetTextEncodingVariant

func GetTextEncodingVariant(encoding uint) uint

func GetThreadCurrentTaskRef

func GetThreadCurrentTaskRef(threadTRef unsafe.Pointer) int16

func GetThreadState

func GetThreadState(threadToGet uint, threadState *uint16) int16

func GetThreadStateGivenTaskRef

func GetThreadStateGivenTaskRef(threadTRef unsafe.Pointer, threadToGet uint, threadState *uint16) int16

func GetTopResourceFile

func GetTopResourceFile(refNum *int) int16

func HClrRBit

func HClrRBit(h *string)

func HGetState

func HGetState(h *string) int8

func HLock

func HLock(h *string)

func HLockHi

func HLockHi(h *string)

func HSetRBit

func HSetRBit(h *string)

func HSetState

func HSetState(h *string, flags int8)

func HUnlock

func HUnlock(h *string)

func HandAndHand

func HandAndHand(hand1 *string, hand2 *string) int16

func HandToHand

func HandToHand(theHndl **string) int16

func HomeResFile

func HomeResFile(theResource *string) int

func IdentifyFolder

func IdentifyFolder(vRefNum int16, dirID int, foldType *uint) int16

func IncrementAtomic

func IncrementAtomic(address *int) int

func IncrementAtomic8

func IncrementAtomic8(address *int8) int8

func IncrementAtomic16

func IncrementAtomic16(address *int16) int16

func InsTime

func InsTime(tmTaskPtr *QElem)

func InsXTime

func InsXTime(tmTaskPtr *QElem)

func InsertResourceFile

func InsertResourceFile(refNum int, where int16) int16

func InstallDebugAssertOutputHandler

func InstallDebugAssertOutputHandler(handler unsafe.Pointer)

func InstallExceptionHandler

func InstallExceptionHandler(theHandler unsafe.Pointer) unsafe.Pointer

InstallExceptionHandler() As of macOS 10.16, this call always returns kMPInvalidIDErr and otherwise does nothing. It has been deprecated since macOS 10.8 and non-functional since macOS10.13. Availability: Mac OS X: in version 10.0 and later in CoreServices.framework CarbonLib: in CarbonLib 1.1 and later Non-Carbon CFM: in InterfaceLib 7.1 and later Deprecated: No longer support

func InstallTimeTask

func InstallTimeTask(tmTaskPtr *QElem) int16

func InstallXTimeTask

func InstallXTimeTask(tmTaskPtr *QElem) int16

func InvalidateFolderDescriptorCache

func InvalidateFolderDescriptorCache(vRefNum int16, dirID int) int16

func InvokeCollectionExceptionUPP

func InvokeCollectionExceptionUPP(c unsafe.Pointer, status int16, userUPP unsafe.Pointer) int16

func InvokeCollectionFlattenUPP

func InvokeCollectionFlattenUPP(size int, data unsafe.Pointer, refCon unsafe.Pointer, userUPP unsafe.Pointer) int16

func InvokeComponentMPWorkFunctionUPP

func InvokeComponentMPWorkFunctionUPP(globalRefCon unsafe.Pointer, header *ComponentMPWorkFunctionHeaderRecord, userUPP unsafe.Pointer) int

func InvokeComponentRoutineUPP

func InvokeComponentRoutineUPP(cp *ComponentParameters, componentStorage *string, userUPP unsafe.Pointer) int

func InvokeDebugAssertOutputHandlerUPP

func InvokeDebugAssertOutputHandlerUPP(componentSignature uint, options uint, assertionString string, exceptionLabelString string, errorString string, fileName string, lineNumber int, value unsafe.Pointer, outputMsg *uint8, userUPP unsafe.Pointer)

func InvokeDebugComponentCallbackUPP

func InvokeDebugComponentCallbackUPP(optionSelectorNum int, command uint, optionSetting *uint8, userUPP unsafe.Pointer)

func InvokeDebuggerDisposeThreadUPP

func InvokeDebuggerDisposeThreadUPP(threadDeleted uint, userUPP unsafe.Pointer)

func InvokeDebuggerNewThreadUPP

func InvokeDebuggerNewThreadUPP(threadCreated uint, userUPP unsafe.Pointer)

func InvokeDebuggerThreadSchedulerUPP

func InvokeDebuggerThreadSchedulerUPP(schedulerInfo *SchedulerInfoRec, userUPP unsafe.Pointer) uint

func InvokeDeferredTaskUPP

func InvokeDeferredTaskUPP(dtParam int, userUPP unsafe.Pointer)

func InvokeExceptionHandlerUPP deprecated

func InvokeExceptionHandlerUPP(theException *ExceptionInformation, userUPP unsafe.Pointer) int

Deprecated: No longer supported

func InvokeFNSubscriptionUPP

func InvokeFNSubscriptionUPP(message uint, flags uint, refcon unsafe.Pointer, subscription unsafe.Pointer, userUPP unsafe.Pointer)

func InvokeFSVolumeEjectUPP

func InvokeFSVolumeEjectUPP(volumeOp unsafe.Pointer, clientData unsafe.Pointer, err int, volumeRefNum int16, dissenter int, userUPP unsafe.Pointer)

func InvokeFSVolumeMountUPP

func InvokeFSVolumeMountUPP(volumeOp unsafe.Pointer, clientData unsafe.Pointer, err int, mountedVolumeRefNum int16, userUPP unsafe.Pointer)

func InvokeFSVolumeUnmountUPP

func InvokeFSVolumeUnmountUPP(volumeOp unsafe.Pointer, clientData unsafe.Pointer, err int, volumeRefNum int16, dissenter int, userUPP unsafe.Pointer)

func InvokeFolderManagerNotificationUPP

func InvokeFolderManagerNotificationUPP(message uint, arg unsafe.Pointer, userRefCon unsafe.Pointer, userUPP unsafe.Pointer) int

func InvokeGetMissingComponentResourceUPP

func InvokeGetMissingComponentResourceUPP(c *ComponentRecord, resType uint, resID int16, refCon unsafe.Pointer, resource **string, userUPP unsafe.Pointer) int16

func InvokeIOCompletionUPP

func InvokeIOCompletionUPP(paramBlock unsafe.Pointer, userUPP unsafe.Pointer)

func InvokeIndexToUCStringUPP

func InvokeIndexToUCStringUPP(index uint, listDataPtr unsafe.Pointer, refcon unsafe.Pointer, outString unsafe.Pointer, tsOptions *uint16, userUPP unsafe.Pointer) uint8

func InvokeResErrUPP

func InvokeResErrUPP(thErr int16, userUPP unsafe.Pointer)

func InvokeSelectorFunctionUPP

func InvokeSelectorFunctionUPP(selector uint, response *int, userUPP unsafe.Pointer) int16

func InvokeThreadEntryUPP

func InvokeThreadEntryUPP(threadParam unsafe.Pointer, userUPP unsafe.Pointer) unsafe.Pointer

func InvokeThreadSchedulerUPP

func InvokeThreadSchedulerUPP(schedulerInfo *SchedulerInfoRec, userUPP unsafe.Pointer) uint

func InvokeThreadSwitchUPP

func InvokeThreadSwitchUPP(threadBeingSwitched uint, switchProcParam unsafe.Pointer, userUPP unsafe.Pointer)

func InvokeThreadTerminationUPP

func InvokeThreadTerminationUPP(threadTerminated uint, terminationProcParam unsafe.Pointer, userUPP unsafe.Pointer)

func InvokeTimerUPP

func InvokeTimerUPP(tmTaskPtr *TMTask, userUPP unsafe.Pointer)

func InvokeUnicodeToTextFallbackUPP

func InvokeUnicodeToTextFallbackUPP(iSrcUniStr *uint16, iSrcUniStrLen uint, oSrcConvLen *uint, oDestStr *uint8, iDestStrLen uint, oDestConvLen *uint, iInfoPtr unsafe.Pointer, iUnicodeMappingPtr *UnicodeMapping, userUPP unsafe.Pointer) int

func IsHandleValid

func IsHandleValid(h *string) uint8

func IsHeapValid

func IsHeapValid() uint8

func IsMetric

func IsMetric() uint8

func IsPointerValid

func IsPointerValid(p string) uint8

func KFSOperationBytesCompleteKey

func KFSOperationBytesCompleteKey() uintptr

func KFSOperationBytesRemainingKey

func KFSOperationBytesRemainingKey() uintptr

func KFSOperationObjectsCompleteKey

func KFSOperationObjectsCompleteKey() uintptr

func KFSOperationObjectsRemainingKey

func KFSOperationObjectsRemainingKey() uintptr

func KFSOperationThroughputKey

func KFSOperationThroughputKey() uintptr

func KFSOperationTotalBytesKey

func KFSOperationTotalBytesKey() uintptr

func KFSOperationTotalObjectsKey

func KFSOperationTotalObjectsKey() uintptr

func KFSOperationTotalUserVisibleObjectsKey

func KFSOperationTotalUserVisibleObjectsKey() uintptr

func KFSOperationUserVisibleObjectsCompleteKey

func KFSOperationUserVisibleObjectsCompleteKey() uintptr

func KFSOperationUserVisibleObjectsRemainingKey

func KFSOperationUserVisibleObjectsRemainingKey() uintptr

func LMGetApFontID

func LMGetApFontID() int16

func LMGetBootDrive

func LMGetBootDrive() int16

func LMGetIntlSpec

func LMGetIntlSpec() string

func LMGetMemErr

func LMGetMemErr() int16

func LMGetResErr

func LMGetResErr() int16

func LMGetResLoad

func LMGetResLoad() uint8

func LMGetSysFontSize

func LMGetSysFontSize() int16

func LMGetSysMap

func LMGetSysMap() int16

func LMGetTmpResLoad

func LMGetTmpResLoad() uint8

func LMSetApFontID

func LMSetApFontID(value int16)

func LMSetBootDrive

func LMSetBootDrive(value int16)

func LMSetIntlSpec

func LMSetIntlSpec(value string)

func LMSetMemErr

func LMSetMemErr(value int16)

func LMSetResErr

func LMSetResErr(value int16)

func LMSetResLoad

func LMSetResLoad(value uint8)

func LMSetSysFontFam

func LMSetSysFontFam(value int16)

func LMSetSysFontSize

func LMSetSysFontSize(value int16)

func LMSetSysMap

func LMSetSysMap(value int16)

func LMSetTmpResLoad

func LMSetTmpResLoad(value uint8)

func Ldtox80

func Ldtox80(x unsafe.Pointer, x80 unsafe.Pointer)

C function: ldtox80

func LoadResource

func LoadResource(theResource *string)

func LocaleCountNames

func LocaleCountNames(locale unsafe.Pointer, opVariant uint, nameMask uint, nameCount *uint) int

func LocaleGetIndName

func LocaleGetIndName(locale unsafe.Pointer, opVariant uint, nameMask uint, nameIndex uint, maxNameLen uint, actualNameLen *uint, displayName *uint16, displayLocale unsafe.Pointer) int

func LocaleGetName

func LocaleGetName(locale unsafe.Pointer, opVariant uint, nameMask uint, displayLocale unsafe.Pointer, maxNameLen uint, actualNameLen *uint, displayName *uint16) int

func LocaleOperationCountLocales

func LocaleOperationCountLocales(opClass uint, localeCount *uint) int

func LocaleOperationCountNames

func LocaleOperationCountNames(opClass uint, nameCount *uint) int

func LocaleOperationGetIndName

func LocaleOperationGetIndName(opClass uint, nameIndex uint, maxNameLen uint, actualNameLen *uint, displayName *uint16, displayLocale unsafe.Pointer) int

func LocaleOperationGetLocales

func LocaleOperationGetLocales(opClass uint, maxLocaleCount uint, actualLocaleCount *uint, localeVariantList *LocaleAndVariant) int

func LocaleOperationGetName

func LocaleOperationGetName(opClass uint, displayLocale unsafe.Pointer, maxNameLen uint, actualNameLen *uint, displayName *uint16) int

func LocaleRefFromLangOrRegionCode

func LocaleRefFromLangOrRegionCode(lang int16, region int16, locale unsafe.Pointer) int

func LocaleRefFromLocaleString

func LocaleRefFromLocaleString(localeString string, locale unsafe.Pointer) int

func LocaleRefGetPartString

func LocaleRefGetPartString(locale unsafe.Pointer, partMask uint, maxStringLen uint, partString string) int

func LocaleStringToLangAndRegionCodes

func LocaleStringToLangAndRegionCodes(localeString string, lang *int16, region *int16) int

func Long2Fix

func Long2Fix(x int) int

func LongDoubleToSInt64

func LongDoubleToSInt64(value float64) int64

@brief Converts a long double to a SInt64. Any decimal string that fits into a SInt64 can be converted exactly into a long double, using the conversion routines found in fp.h. Then this routine can be used to complete the conversion to SInt64. @param value a long double value @result the closest SInt64 value to value

func LongDoubleToUInt64

func LongDoubleToUInt64(value float64) uint64

@brief Convert long double (128-bit on PowerPC floating point) to a signed 64-bit integer @param value a \c long \c double value @result a \c UInt64 value created by truncating value to a UInt64

func MPAllocate deprecated

func MPAllocate(size uint) unsafe.Pointer

Deprecated: Use malloc()

func MPAllocateAligned deprecated

func MPAllocateAligned(size uint, alignment uint8, options uint) unsafe.Pointer

Deprecated: Use aligned_alloc()

func MPAllocateTaskStorageIndex deprecated

func MPAllocateTaskStorageIndex(taskIndex *uint) int

Deprecated: Use libDispatch

func MPArmTimer deprecated

func MPArmTimer(timerID unsafe.Pointer, expirationTime unsafe.Pointer, options uint) int

Deprecated: Use libDispatch

func MPBlockClear deprecated

func MPBlockClear(address unsafe.Pointer, size uint)

Deprecated: Use bzero()

func MPBlockCopy deprecated

func MPBlockCopy(source unsafe.Pointer, destination unsafe.Pointer, size uint)

Deprecated: Use memcpy()

func MPCancelTimer deprecated

func MPCancelTimer(timerID unsafe.Pointer, timeRemaining unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCauseNotification deprecated

func MPCauseNotification(notificationID unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateCriticalRegion deprecated

func MPCreateCriticalRegion(criticalRegion unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateEvent deprecated

func MPCreateEvent(event unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateNotification deprecated

func MPCreateNotification(notificationID unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateQueue deprecated

func MPCreateQueue(queue unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateSemaphore deprecated

func MPCreateSemaphore(maximumValue uint, initialValue uint, semaphore unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateTask deprecated

func MPCreateTask(entryPoint unsafe.Pointer, parameter unsafe.Pointer, stackSize uint, notifyQueue unsafe.Pointer, terminationParameter1 unsafe.Pointer, terminationParameter2 unsafe.Pointer, options uint, task unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCreateTimer deprecated

func MPCreateTimer(timerID unsafe.Pointer) int

Deprecated: Use libDispatch

func MPCurrentTaskID deprecated

func MPCurrentTaskID() unsafe.Pointer

Deprecated: Use libDispatch

func MPDeallocateTaskStorageIndex deprecated

func MPDeallocateTaskStorageIndex(taskIndex uint) int

Deprecated: Use libDispatch

func MPDelayUntil deprecated

func MPDelayUntil(expirationTime unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteCriticalRegion deprecated

func MPDeleteCriticalRegion(criticalRegion unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteEvent deprecated

func MPDeleteEvent(event unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteNotification deprecated

func MPDeleteNotification(notificationID unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteQueue deprecated

func MPDeleteQueue(queue unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteSemaphore deprecated

func MPDeleteSemaphore(semaphore unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDeleteTimer deprecated

func MPDeleteTimer(timerID unsafe.Pointer) int

Deprecated: Use libDispatch

func MPDisposeTaskException deprecated

func MPDisposeTaskException(task unsafe.Pointer, action uint) int

Deprecated: No longer supported.

func MPEnterCriticalRegion deprecated

func MPEnterCriticalRegion(criticalRegion unsafe.Pointer, timeout int) int

Deprecated: Use libDispatch

func MPExit deprecated

func MPExit(status int)

Deprecated: Use libDispatch

func MPExitCriticalRegion deprecated

func MPExitCriticalRegion(criticalRegion unsafe.Pointer) int

Deprecated: Use libDispatch

func MPExtractTaskState deprecated

func MPExtractTaskState(task unsafe.Pointer, kind uint, info unsafe.Pointer) int

Deprecated: No longer supported.

func MPFree deprecated

func MPFree(object unsafe.Pointer)

Deprecated: Use free()

func MPGetAllocatedBlockSize deprecated

func MPGetAllocatedBlockSize(object unsafe.Pointer) uint

Deprecated: Use malloc_size()

func MPGetNextCpuID

func MPGetNextCpuID(owningCoherenceID unsafe.Pointer, cpuID unsafe.Pointer) int

func MPGetNextTaskID

func MPGetNextTaskID(owningProcessID unsafe.Pointer, taskID unsafe.Pointer) int

func MPGetTaskStorageValue deprecated

func MPGetTaskStorageValue(taskIndex uint) unsafe.Pointer

Deprecated: Use libDispatch

func MPIsFullyInitialized

func MPIsFullyInitialized() uint8

C function: _MPIsFullyInitialized Deprecated: No longer useful (always true)

func MPLibraryIsCompatible

func MPLibraryIsCompatible(versionCString string, major uint, minor uint, release uint, revision uint) uint8

C function: _MPLibraryIsCompatible Deprecated: Use libDispatch

func MPLibraryVersion

func MPLibraryVersion(versionCString string, major *uint, minor *uint, release *uint, revision *uint)

C function: _MPLibraryVersion Deprecated: No longer useful

func MPModifyNotification deprecated

func MPModifyNotification(notificationID unsafe.Pointer, anID unsafe.Pointer, notifyParam1 unsafe.Pointer, notifyParam2 unsafe.Pointer, notifyParam3 unsafe.Pointer) int

Deprecated: Use libDispatch

func MPModifyNotificationParameters

func MPModifyNotificationParameters(notificationID unsafe.Pointer, kind uint, notifyParam1 unsafe.Pointer, notifyParam2 unsafe.Pointer, notifyParam3 unsafe.Pointer) int

func MPNotifyQueue deprecated

func MPNotifyQueue(queue unsafe.Pointer, param1 unsafe.Pointer, param2 unsafe.Pointer, param3 unsafe.Pointer) int

Deprecated: Use libDispatch

func MPProcessors deprecated

func MPProcessors() uint

Deprecated: Use sysctl(hw.ncpu)

func MPProcessorsScheduled deprecated

func MPProcessorsScheduled() uint

Deprecated: Use sysctl(hw.activecpu)

func MPRegisterDebugger deprecated

func MPRegisterDebugger(queue unsafe.Pointer, level uint) int

Deprecated: No longer supported.

func MPRemoteCall deprecated

func MPRemoteCall(remoteProc unsafe.Pointer, parameter unsafe.Pointer, context_ uint8) unsafe.Pointer

Deprecated: Use libDispatch

func MPRemoteCallCFM deprecated

func MPRemoteCallCFM(remoteProc unsafe.Pointer, parameter unsafe.Pointer, context_ uint8) unsafe.Pointer

Deprecated: No longer supported.

func MPSetEvent deprecated

func MPSetEvent(event unsafe.Pointer, flags uint) int

Deprecated: Use libDispatch

func MPSetExceptionHandler deprecated

func MPSetExceptionHandler(task unsafe.Pointer, exceptionQ unsafe.Pointer) int

Deprecated: No longer supported.

func MPSetQueueReserve deprecated

func MPSetQueueReserve(queue unsafe.Pointer, count uint) int

Deprecated: Use libDispatch

func MPSetTaskState deprecated

func MPSetTaskState(task unsafe.Pointer, kind uint, info unsafe.Pointer) int

Deprecated: No longer supported.

func MPSetTaskStorageValue deprecated

func MPSetTaskStorageValue(taskIndex uint, value unsafe.Pointer) int

Deprecated: Use libDispatch

func MPSetTaskType deprecated

func MPSetTaskType(task unsafe.Pointer, taskType uint) int

Deprecated: Use libDispatch

func MPSetTaskWeight deprecated

func MPSetTaskWeight(task unsafe.Pointer, weight uint) int

Deprecated: Use libDispatch

func MPSetTimerNotify deprecated

func MPSetTimerNotify(timerID unsafe.Pointer, anID unsafe.Pointer, notifyParam1 unsafe.Pointer, notifyParam2 unsafe.Pointer, notifyParam3 unsafe.Pointer) int

Deprecated: Use libDispatch

func MPSignalSemaphore deprecated

func MPSignalSemaphore(semaphore unsafe.Pointer) int

Deprecated: Use libDispatch

func MPTaskIsPreemptive deprecated

func MPTaskIsPreemptive(taskID unsafe.Pointer) uint8

Deprecated: Use libDispatch

func MPTerminateTask deprecated

func MPTerminateTask(task unsafe.Pointer, terminationStatus int) int

Deprecated: Use libDispatch

func MPThrowException deprecated

func MPThrowException(task unsafe.Pointer, kind uint) int

Deprecated: No longer supported.

func MPUnregisterDebugger deprecated

func MPUnregisterDebugger(queue unsafe.Pointer) int

Deprecated: No longer supported.

func MPWaitForEvent deprecated

func MPWaitForEvent(event unsafe.Pointer, flags *uint, timeout int) int

Deprecated: Use libDispatch

func MPWaitOnQueue deprecated

func MPWaitOnQueue(queue unsafe.Pointer, param1 unsafe.Pointer, param2 unsafe.Pointer, param3 unsafe.Pointer, timeout int) int

Deprecated: Use libDispatch

func MPWaitOnSemaphore deprecated

func MPWaitOnSemaphore(semaphore unsafe.Pointer, timeout int) int

Deprecated: Use libDispatch

func MPYield deprecated

func MPYield()

Deprecated: Use libDispatch

func MemError

func MemError() int16

func Microseconds

func Microseconds(microTickCount unsafe.Pointer)

func Munger

func Munger(h *string, offset int, ptr1 unsafe.Pointer, len1 int, ptr2 unsafe.Pointer, len2 int) int

func NanosecondsToAbsolute

func NanosecondsToAbsolute(nanoseconds unsafe.Pointer) unsafe.Pointer

func NanosecondsToDuration

func NanosecondsToDuration(theNanoseconds unsafe.Pointer) int

func NearestMacTextEncodings

func NearestMacTextEncodings(generalEncoding uint, bestMacEncoding *uint, alternateMacEncoding *uint) int

func NewCollection

func NewCollection() unsafe.Pointer

func NewCollectionExceptionUPP

func NewCollectionExceptionUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewCollectionFlattenUPP

func NewCollectionFlattenUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewComponentFunctionUPP

func NewComponentFunctionUPP(userRoutine unsafe.Pointer, procInfo uint) unsafe.Pointer

func NewComponentMPWorkFunctionUPP

func NewComponentMPWorkFunctionUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewComponentRoutineUPP

func NewComponentRoutineUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDebugAssertOutputHandlerUPP

func NewDebugAssertOutputHandlerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDebugComponent

func NewDebugComponent(componentSignature uint, componentName *uint8, componentCallback unsafe.Pointer) int

func NewDebugComponentCallbackUPP

func NewDebugComponentCallbackUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDebugOption

func NewDebugOption(componentSignature uint, optionSelectorNum int, optionName *uint8) int

func NewDebuggerDisposeThreadUPP

func NewDebuggerDisposeThreadUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDebuggerNewThreadUPP

func NewDebuggerNewThreadUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDebuggerThreadSchedulerUPP

func NewDebuggerThreadSchedulerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewDeferredTaskUPP

func NewDeferredTaskUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewEmptyHandle

func NewEmptyHandle() *string

func NewExceptionHandlerUPP deprecated

func NewExceptionHandlerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

Deprecated: No longer supported

func NewFNSubscriptionUPP

func NewFNSubscriptionUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewFSVolumeEjectUPP

func NewFSVolumeEjectUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewFSVolumeMountUPP

func NewFSVolumeMountUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewFSVolumeUnmountUPP

func NewFSVolumeUnmountUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewFolderManagerNotificationUPP

func NewFolderManagerNotificationUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewGestaltValue

func NewGestaltValue(selector uint, newValue int) int16

func NewGetMissingComponentResourceUPP

func NewGetMissingComponentResourceUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewHandle

func NewHandle(byteCount int) *string

func NewHandleClear

func NewHandleClear(byteCount int) *string

func NewIOCompletionUPP

func NewIOCompletionUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewIndexToUCStringUPP

func NewIndexToUCStringUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewPtr

func NewPtr(byteCount int) string

func NewPtrClear

func NewPtrClear(byteCount int) string

func NewResErrUPP

func NewResErrUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewSelectorFunctionUPP

func NewSelectorFunctionUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewThread

func NewThread(threadStyle uint, threadEntry unsafe.Pointer, threadParam unsafe.Pointer, stackSize int, options uint, threadResult unsafe.Pointer, threadMade *uint) int16

func NewThreadEntryUPP

func NewThreadEntryUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewThreadSchedulerUPP

func NewThreadSchedulerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewThreadSwitchUPP

func NewThreadSwitchUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewThreadTerminationUPP

func NewThreadTerminationUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewTimerUPP

func NewTimerUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func NewUnicodeToTextFallbackUPP

func NewUnicodeToTextFallbackUPP(userRoutine unsafe.Pointer) unsafe.Pointer

func Num2dec

func Num2dec(f *Decform, x float64, d *Decimal)

C function: num2dec

func Num2decl

func Num2decl(f *Decform, x float64, d *Decimal)

C function: num2decl

func Numtostring

func Numtostring(theNum int, theString string)

C function: numtostring

func OpenAComponent

func OpenAComponent(aComponent *ComponentRecord, ci **ComponentInstanceRecord) int16

func OpenAComponentResFile

func OpenAComponentResFile(aComponent *ComponentRecord, resRef *int) int16

func OpenADefaultComponent

func OpenADefaultComponent(componentType uint, componentSubType uint, ci **ComponentInstanceRecord) int16

func OpenComponentResFile

func OpenComponentResFile(aComponent *ComponentRecord) int

func PBAllocateForkAsync

func PBAllocateForkAsync(paramBlock *FSForkIOParam)

func PBAllocateForkSync

func PBAllocateForkSync(paramBlock *FSForkIOParam) int16

func PBCatalogSearchAsync

func PBCatalogSearchAsync(paramBlock *FSCatalogBulkParam)

func PBCatalogSearchSync

func PBCatalogSearchSync(paramBlock *FSCatalogBulkParam) int16

func PBCloseForkAsync

func PBCloseForkAsync(paramBlock *FSForkIOParam)

func PBCloseForkSync

func PBCloseForkSync(paramBlock *FSForkIOParam) int16

func PBCloseIteratorAsync

func PBCloseIteratorAsync(paramBlock *FSCatalogBulkParam)

func PBCloseIteratorSync

func PBCloseIteratorSync(paramBlock *FSCatalogBulkParam) int16

func PBCompareFSRefsAsync

func PBCompareFSRefsAsync(paramBlock *FSRefParam)

func PBCompareFSRefsSync

func PBCompareFSRefsSync(paramBlock *FSRefParam) int16

func PBCreateDirectoryUnicodeAsync

func PBCreateDirectoryUnicodeAsync(paramBlock *FSRefParam)

func PBCreateDirectoryUnicodeSync

func PBCreateDirectoryUnicodeSync(paramBlock *FSRefParam) int16

func PBCreateFileAndOpenForkUnicodeAsync

func PBCreateFileAndOpenForkUnicodeAsync(paramBlock *FSRefForkIOParam)

func PBCreateFileAndOpenForkUnicodeSync

func PBCreateFileAndOpenForkUnicodeSync(paramBlock *FSRefForkIOParam) int

func PBCreateFileUnicodeAsync

func PBCreateFileUnicodeAsync(paramBlock *FSRefParam)

func PBCreateFileUnicodeSync

func PBCreateFileUnicodeSync(paramBlock *FSRefParam) int16

func PBCreateForkAsync

func PBCreateForkAsync(paramBlock *FSForkIOParam)

func PBCreateForkSync

func PBCreateForkSync(paramBlock *FSForkIOParam) int16

func PBDeleteForkAsync

func PBDeleteForkAsync(paramBlock *FSForkIOParam)

func PBDeleteForkSync

func PBDeleteForkSync(paramBlock *FSForkIOParam) int16

func PBDeleteObjectAsync

func PBDeleteObjectAsync(paramBlock *FSRefParam)

func PBDeleteObjectSync

func PBDeleteObjectSync(paramBlock *FSRefParam) int16

func PBExchangeObjectsAsync

func PBExchangeObjectsAsync(paramBlock *FSRefParam)

func PBExchangeObjectsSync

func PBExchangeObjectsSync(paramBlock *FSRefParam) int16

func PBFSCopyFileAsync

func PBFSCopyFileAsync(paramBlock *FSRefParam) int

func PBFSCopyFileSync

func PBFSCopyFileSync(paramBlock *FSRefParam) int

func PBFSResolveNodeIDAsync

func PBFSResolveNodeIDAsync(paramBlock *FSRefParam) int

func PBFSResolveNodeIDSync

func PBFSResolveNodeIDSync(paramBlock *FSRefParam) int

func PBFlushForkAsync

func PBFlushForkAsync(paramBlock *FSForkIOParam)

func PBFlushForkSync

func PBFlushForkSync(paramBlock *FSForkIOParam) int16

func PBFlushVolumeAsync

func PBFlushVolumeAsync(paramBlock *FSRefParam) int

func PBFlushVolumeSync

func PBFlushVolumeSync(paramBlock *FSRefParam) int

func PBGetCatalogInfoAsync

func PBGetCatalogInfoAsync(paramBlock *FSRefParam)

func PBGetCatalogInfoBulkAsync

func PBGetCatalogInfoBulkAsync(paramBlock *FSCatalogBulkParam)

func PBGetCatalogInfoBulkSync

func PBGetCatalogInfoBulkSync(paramBlock *FSCatalogBulkParam) int16

func PBGetCatalogInfoSync

func PBGetCatalogInfoSync(paramBlock *FSRefParam) int16

func PBGetForkCBInfoAsync

func PBGetForkCBInfoAsync(paramBlock *FSForkCBInfoParam)

func PBGetForkCBInfoSync

func PBGetForkCBInfoSync(paramBlock *FSForkCBInfoParam) int16

func PBGetForkPositionAsync

func PBGetForkPositionAsync(paramBlock *FSForkIOParam)

func PBGetForkPositionSync

func PBGetForkPositionSync(paramBlock *FSForkIOParam) int16

func PBGetForkSizeAsync

func PBGetForkSizeAsync(paramBlock *FSForkIOParam)

func PBGetForkSizeSync

func PBGetForkSizeSync(paramBlock *FSForkIOParam) int16

func PBGetVolumeInfoAsync

func PBGetVolumeInfoAsync(paramBlock *FSVolumeInfoParam)

func PBGetVolumeInfoSync

func PBGetVolumeInfoSync(paramBlock *FSVolumeInfoParam) int16

func PBIterateForksAsync

func PBIterateForksAsync(paramBlock *FSForkIOParam)

func PBIterateForksSync

func PBIterateForksSync(paramBlock *FSForkIOParam) int16

func PBMakeFSRefUnicodeAsync

func PBMakeFSRefUnicodeAsync(paramBlock *FSRefParam)

func PBMakeFSRefUnicodeSync

func PBMakeFSRefUnicodeSync(paramBlock *FSRefParam) int16

func PBMoveObjectAsync

func PBMoveObjectAsync(paramBlock *FSRefParam)

func PBMoveObjectSync

func PBMoveObjectSync(paramBlock *FSRefParam) int16

func PBOpenForkAsync

func PBOpenForkAsync(paramBlock *FSForkIOParam)

func PBOpenForkSync

func PBOpenForkSync(paramBlock *FSForkIOParam) int16

func PBOpenIteratorAsync

func PBOpenIteratorAsync(paramBlock *FSCatalogBulkParam)

func PBOpenIteratorSync

func PBOpenIteratorSync(paramBlock *FSCatalogBulkParam) int16

func PBReadForkAsync

func PBReadForkAsync(paramBlock *FSForkIOParam)

func PBReadForkSync

func PBReadForkSync(paramBlock *FSForkIOParam) int16

func PBRenameUnicodeAsync

func PBRenameUnicodeAsync(paramBlock *FSRefParam)

func PBRenameUnicodeSync

func PBRenameUnicodeSync(paramBlock *FSRefParam) int16

func PBSetCatalogInfoAsync

func PBSetCatalogInfoAsync(paramBlock *FSRefParam)

func PBSetCatalogInfoSync

func PBSetCatalogInfoSync(paramBlock *FSRefParam) int16

func PBSetForkPositionAsync

func PBSetForkPositionAsync(paramBlock *FSForkIOParam)

func PBSetForkPositionSync

func PBSetForkPositionSync(paramBlock *FSForkIOParam) int16

func PBSetForkSizeAsync

func PBSetForkSizeAsync(paramBlock *FSForkIOParam)

func PBSetForkSizeSync

func PBSetForkSizeSync(paramBlock *FSForkIOParam) int16

func PBSetVolumeInfoAsync

func PBSetVolumeInfoAsync(paramBlock *FSVolumeInfoParam)

func PBSetVolumeInfoSync

func PBSetVolumeInfoSync(paramBlock *FSVolumeInfoParam) int16

func PBUnlinkObjectAsync

func PBUnlinkObjectAsync(paramBlock *FSRefParam)

func PBUnlinkObjectSync

func PBUnlinkObjectSync(paramBlock *FSRefParam) int16

func PBWriteForkAsync

func PBWriteForkAsync(paramBlock *FSForkIOParam)

func PBWriteForkSync

func PBWriteForkSync(paramBlock *FSForkIOParam) int16

func PBXLockRangeAsync

func PBXLockRangeAsync(paramBlock *FSRangeLockParam) int

func PBXLockRangeSync

func PBXLockRangeSync(paramBlock *FSRangeLockParam) int

func PBXUnlockRangeAsync

func PBXUnlockRangeAsync(paramBlock *FSRangeLockParam) int

func PBXUnlockRangeSync

func PBXUnlockRangeSync(paramBlock *FSRangeLockParam) int

func PLpos

func PLpos(str1 *uint8, searchStr *uint8) int16

func PLstrcat

func PLstrcat(str *uint8, append_ *uint8) unsafe.Pointer

func PLstrchr

func PLstrchr(str1 *uint8, ch1 int16) string

func PLstrcmp

func PLstrcmp(str1 *uint8, str2 *uint8) int16

func PLstrcpy

func PLstrcpy(dest *uint8, source *uint8) unsafe.Pointer

func PLstrlen

func PLstrlen(str *uint8) int16

func PLstrncat

func PLstrncat(str1 *uint8, append_ *uint8, num int16) unsafe.Pointer

func PLstrncmp

func PLstrncmp(str1 *uint8, str2 *uint8, num int16) int16

func PLstrncpy

func PLstrncpy(dest *uint8, source *uint8, num int16) unsafe.Pointer

func PLstrpbrk

func PLstrpbrk(str1 *uint8, charSet *uint8) string

func PLstrrchr

func PLstrrchr(str1 *uint8, ch1 int16) string

func PLstrspn

func PLstrspn(str1 *uint8, charSet *uint8) int16

func PLstrstr

func PLstrstr(str1 *uint8, searchStr *uint8) string

func Pi

func Pi() float64

func PrimeTime

func PrimeTime(tmTaskPtr *QElem, count int)

func PrimeTimeTask

func PrimeTimeTask(tmTaskPtr *QElem, count int) int16

func PtrAndHand

func PtrAndHand(ptr1 unsafe.Pointer, hand2 *string, size int) int16

func PtrToHand

func PtrToHand(srcPtr unsafe.Pointer, dstHndl **string, size int) int16

func PtrToXHand

func PtrToXHand(srcPtr unsafe.Pointer, dstHndl *string, size int) int16

func PurgeCollection

func PurgeCollection(c unsafe.Pointer, whichAttributes int, matchingAttributes int)

func PurgeCollectionTag

func PurgeCollectionTag(c unsafe.Pointer, tag uint)

func QueryUnicodeMappings

func QueryUnicodeMappings(iFilter uint, iFindMapping *UnicodeMapping, iMaxCount uint, oActualCount *uint, oReturnedMappings *UnicodeMapping) int

func Randomx

func Randomx(x *float64) float64

C function: randomx

func ReadLocation

func ReadLocation(loc *MachineLocation)

func ReadPartialResource

func ReadPartialResource(theResource *string, offset int, buffer unsafe.Pointer, count int)

func ReallocateHandle

func ReallocateHandle(h *string, byteCount int)

func RecoverHandle

func RecoverHandle(p string) *string

func RegisterComponentFileRef

func RegisterComponentFileRef(ref *FSRef, global int16) int16

func RegisterComponentFileRefEntries

func RegisterComponentFileRefEntries(ref *FSRef, global int16, toRegister *ComponentDescription, registerCount uint) int16

func RegisterComponentResourceFile

func RegisterComponentResourceFile(resRefNum int16, global int16) int

func Relation

func Relation(x float64, y float64) int16

C function: relation

func Relationl

func Relationl(x float64, y float64) int16

C function: relationl

func ReleaseCollection

func ReleaseCollection(c unsafe.Pointer) int

func ReleaseFolder

func ReleaseFolder(vRefNum int16, folderType uint) int16

func ReleaseResource

func ReleaseResource(theResource *string)

func RemoveCollectionItem

func RemoveCollectionItem(c unsafe.Pointer, tag uint, id_ int) int16

func RemoveFolderDescriptor

func RemoveFolderDescriptor(foldType uint) int16

func RemoveIndexedCollectionItem

func RemoveIndexedCollectionItem(c unsafe.Pointer, itemIndex int) int16

func RemoveResource

func RemoveResource(theResource *string)

func RemoveTimeTask

func RemoveTimeTask(tmTaskPtr *QElem) int16

func ReplaceGestaltValue

func ReplaceGestaltValue(selector uint, replacementValue int) int16

func ReplaceIndexedCollectionItem

func ReplaceIndexedCollectionItem(c unsafe.Pointer, itemIndex int, itemSize int, itemData unsafe.Pointer) int16

func ReplaceIndexedCollectionItemHdl

func ReplaceIndexedCollectionItemHdl(aCollection unsafe.Pointer, itemIndex int, itemData *string) int16

func ResError

func ResError() int16

func ResetTextToUnicodeInfo

func ResetTextToUnicodeInfo(ioTextToUnicodeInfo unsafe.Pointer) int

func ResetUnicodeToTextInfo

func ResetUnicodeToTextInfo(ioUnicodeToTextInfo unsafe.Pointer) int

func ResetUnicodeToTextRunInfo

func ResetUnicodeToTextRunInfo(ioUnicodeToTextRunInfo unsafe.Pointer) int

func ResolveDefaultTextEncoding

func ResolveDefaultTextEncoding(encoding uint) uint

func RetainCollection

func RetainCollection(c unsafe.Pointer) int

func RevertTextEncodingToScriptInfo

func RevertTextEncodingToScriptInfo(iEncoding uint, oTextScriptID *int16, oTextLanguageID *int16, oTextFontname *uint8) int

func RmvTime

func RmvTime(tmTaskPtr *QElem)

func S32Set

func S32Set(value int64) int

@brief Given an SInt64, returns an SInt32 by discarding the high-order 32 bits. @param value A SInt64 value @result return the lowest 32 bits of value as a SInt32

func S64Absolute

func S64Absolute(value int64) int64

@brief Returns the absolute value of the number (i.e. the number if it is positive, or 0 - the number if it is negative). @param value a SInt64 value @result the absolute value of value

func S64Add

func S64Add(left int64, right int64) int64

@brief Adds two integers, producing an integer result. If an overflow occurs the result is congruent mod (2^64) as if the operands an result were unsigned. No overflow is signaled. @result the result, with truncation, of adding left and right as SInt64 values

func S64And

func S64And(left int64, right int64) uint8

@brief Returns one if left and right are non-zero, otherwise returns zero @param left a SInt64 value @param right a SInt64 value @result return the value 1 if both left and right are non-zero, and 0 if not

func S64BitwiseAnd

func S64BitwiseAnd(left int64, right int64) int64

@brief Given two signed numbers, return the bitwise AND of the two values @param left a SInt64 value @param right a SInt64 value @result the SInt64 result of a bitwise AND of left and right, treating both values as 64 bit unsigned values

func S64BitwiseEor

func S64BitwiseEor(left int64, right int64) int64

@brief Given two signed numbers, return the bitwise XOR of the two values @param left a SInt64 value @param right a SInt64 value @result the SInt64 result of a bitwise XOR of left and right, treating both values as 64 bit unsigned values

func S64BitwiseNot

func S64BitwiseNot(value int64) int64

@brief Given a SInt64 value, return the bitwise negation of value @param value a SInt64 value @result the bitwise negation of value

func S64BitwiseOr

func S64BitwiseOr(left int64, right int64) int64

@brief Given two signed numbers, return the bitwise OR of the two values @param left a SInt64 value @param right a SInt64 value @result the SInt64 result of a bitwise OR of left and right, treating both values as 64 bit unsigned values

func S64Compare

func S64Compare(left int64, right int64) int

@brief Given two signed numbers, left and right, returns an SInt32 that compares with zero the same way left compares with right. If you wanted to perform a comparison on 64-bit integers of the form: left OPERATION right then you could use an expression of the form: S64Compare( left,right ) OPERATION 0 to test for the same condition. CAUTION: DO NOT depend on the exact value returned by this routine. Only the sign (i.e. positive, zero, or negative) of the result is guaranteed. @param left a SInt64 value @param right a SInt64 value @result if left is less than right, a negative value; if left is equal to right, then 0, if left is greater than right, a positive value

func S64Div

func S64Div(dividend int64, divisor int64) int64

@brief Divides dividend by divisor, returning the quotient. @param dividend a SInt64 value @param divisor a SInt64 value @result the integer result of dividing dividend by divisor

func S64Divide

func S64Divide(dividend int64, divisor int64, remainderP *int64) int64

@brief Divides dividend by divisor, returning the quotient. The remainder is returned in remainder if remainder (the pointer) is non-NULL. The sign of the remainder is the same as the sign of the dividend (i.e. it takes the absolute values of the operands, does the division, then fixes the sign of the quotient and remainder). If the divisor is zero, then S64Max() will be returned (or S64Min() if the dividend is negative), and the remainder will be the dividend; no error is reported. @param dividend a SInt64 value @param divisor a SInt64 value @param remainderP on return, if non-NULL, the integer remainder after dividing dividend by divisor @result the integer result of dividing dividend by divisor

func S64Eor

func S64Eor(left int64, right int64) uint8

@brief Returns one if left xor right are non-zero, otherwise returns zero @param left a SInt64 value @param right a SInt64 value @result return the value 1 if left EOR right is non-zero, 0 otherwise

func S64Max

func S64Max() int64

@brief Returns largest possible SInt64 value @result the largest SInt64 value

func S64Min

func S64Min() int64

@brief Returns smallest possible SInt64 value @result the smallest SInt64 value

func S64Mod

func S64Mod(dividend int64, divisor int64) int64

@brief Returns the remainder of divide of dividend by divisor. The sign of the remainder is the same as the sign of the dividend (i.e., it takes the absolute values of the operands, does the division, then fixes the sign of the quotient and remainder). @param dividend a SInt64 value @param divisor a SInt64 value @result the integer remainder after dividing dividend by divisor

func S64Multiply

func S64Multiply(left int64, right int64) int64

@brief Multiplies two signed numbers, producing a signed result. Overflow is ignored and the low-order part of the product is returned. The sign of the result is not guaranteed to be correct if the magnitude of the product is not representable. @param left a SInt64 value @param right a SInt64 value @result The result of multiplying left by right, truncated to a SInt64 value

func S64Negate

func S64Negate(value int64) int64

@brief Returns the additive inverse of a signed number (i.e. it returns 0 - the number). S64Negate (S64Min) is not representable (in fact, it returns S64Min). @param value the value to negate @result the additive inverse of the given value

func S64Not

func S64Not(value int64) uint8

@brief Returns one if value is non-zero, otherwise returns zero. @param value a SInt64 value @result return 1 if value is non-zero, 0 if it is zero

func S64Or

func S64Or(left int64, right int64) uint8

@brief Returns one if left or right are non-zero, otherwise returns zero @param left a SInt64 value @param right a SInt64 value @result return the value 1 if either left is non-zero or right is non-zero and 0 if not

func S64Set

func S64Set(value int) int64

@brief Given an SInt32, returns an SInt64 with the same value. Use this routine instead of coding 64-bit constants (at least when the constant will fit in an SInt32). @param value a SInt32 value @result the SInt64 equivalent of value

func S64SetU

func S64SetU(value uint) int64

@brief Given a UInt32, returns a SInt64 with the same value. @param value A UInt32 value @result the SInt64 equivalent of value

func S64ShiftLeft

func S64ShiftLeft(value int64, shift uint) int64

@brief Given a SInt64 value, return the arithmetic shift left of value by the lower 7 bits of the shift. @param value a SInt64 value @param shift an unsigned amount to shift value by @result the result of shifting value left by shift bits

func S64ShiftRight

func S64ShiftRight(value int64, shift uint) int64

@brief Given a SInt64 value, return the arithmetic shift right of value by the lower 7 bits of the shift. @param value a SInt64 value @param shift an unsigned amount to shift value by @result the result of shifting value right by shift bits

func S64Subtract

func S64Subtract(left int64, right int64) int64

@brief Subtracts the second integer from the first integer, producing an integer result. If an overflow occurs the result is congruent mod (2^64) as if the operands and result were unsigned. No overflow is signaled. @param left a SInt64 value @param right a SInt64 value @result the result of subsracting the value right from the value left

func SInt64ToLongDouble

func SInt64ToLongDouble(value int64) float64

@brief Converts SInt64 to long double. Note all SInt64s fit exactly into long doubles, thus, the binary -> decimal conversion routines in fp.h can be used to achieve SInt64 -> long double -> decimal conversions. @param value a SInt64 value @result a double equivalent of value

func SInt64ToUInt64

func SInt64ToUInt64(value int64) uint64

@brief Coerce a \c SInt64 -> \c UInt64 @param value a \c SInt64 value @result a UInt64 value; if value is less than zero then a positive value greater than SIntMax()

func SInt64ToWide

func SInt64ToWide(s int64) unsafe.Pointer

func SetAliasUserType

func SetAliasUserType(alias **AliasRecord, userType uint)

func SetAliasUserTypeWithPtr

func SetAliasUserTypeWithPtr(alias *AliasRecord, userType uint)

func SetCollectionDefaultAttributes

func SetCollectionDefaultAttributes(c unsafe.Pointer, whichAttributes int, newAttributes int)

func SetCollectionExceptionProc

func SetCollectionExceptionProc(c unsafe.Pointer, exceptionProc unsafe.Pointer)

func SetCollectionItemInfo

func SetCollectionItemInfo(c unsafe.Pointer, tag uint, id_ int, whichAttributes int, newAttributes int) int16

func SetComponentInstanceError

func SetComponentInstanceError(aComponentInstance *ComponentInstanceRecord, theError int16)

func SetComponentInstanceStorage

func SetComponentInstanceStorage(aComponentInstance *ComponentInstanceRecord, theStorage *string)

func SetComponentRefcon

func SetComponentRefcon(aComponent *ComponentRecord, theRefcon int)

func SetDebugOptionValue

func SetDebugOptionValue(componentSignature uint, optionSelectorNum int, newOptionSetting uint8) int

func SetDebuggerNotificationProcs

func SetDebuggerNotificationProcs(notifyNewThread unsafe.Pointer, notifyDisposeThread unsafe.Pointer, notifyThreadScheduler unsafe.Pointer) int16

func SetDefaultComponent

func SetDefaultComponent(aComponent *ComponentRecord, flags int16) int16

func SetFallbackUnicodeToText

func SetFallbackUnicodeToText(iUnicodeToTextInfo unsafe.Pointer, iFallback unsafe.Pointer, iControlFlags uint, iInfoPtr unsafe.Pointer) int

func SetFallbackUnicodeToTextRun

func SetFallbackUnicodeToTextRun(iUnicodeToTextRunInfo unsafe.Pointer, iFallback unsafe.Pointer, iControlFlags uint, iInfoPtr unsafe.Pointer) int

func SetGestaltValue

func SetGestaltValue(selector uint, newValue int) int16

func SetHandleSize

func SetHandleSize(h *string, newSize int)

func SetIndexedCollectionItemInfo

func SetIndexedCollectionItemInfo(c unsafe.Pointer, itemIndex int, whichAttributes int, newAttributes int) int16

func SetPtrSize

func SetPtrSize(p string, newSize int)

func SetResAttrs

func SetResAttrs(theResource *string, attrs int16)

func SetResFileAttrs

func SetResFileAttrs(refNum int, attrs int16)

func SetResInfo

func SetResInfo(theResource *string, theID int16, name *uint8)

func SetResLoad

func SetResLoad(load uint8)

func SetResPurge

func SetResPurge(install uint8)

func SetResourceSize

func SetResourceSize(theResource *string, newSize int)

func SetScriptManagerVariable deprecated

func SetScriptManagerVariable(selector int16, param int) int16

Deprecated: Deprecated

func SetThreadReadyGivenTaskRef

func SetThreadReadyGivenTaskRef(threadTRef unsafe.Pointer, threadToSet uint) int16

func SetThreadScheduler

func SetThreadScheduler(threadScheduler unsafe.Pointer) int16

func SetThreadState

func SetThreadState(threadToSet uint, newState uint16, suggestedThread uint) int16

func SetThreadStateEndCritical

func SetThreadStateEndCritical(threadToSet uint, newState uint16, suggestedThread uint) int16

func SetThreadSwitcher

func SetThreadSwitcher(thread uint, threadSwitcher unsafe.Pointer, switchProcParam unsafe.Pointer, inOrOut uint8) int16

func SetThreadTerminator

func SetThreadTerminator(thread uint, threadTerminator unsafe.Pointer, terminationProcParam unsafe.Pointer) int16

func Str2dec

func Str2dec(s string, ix *int16, d *Decimal, vp *int16)

C function: str2dec

func SubAbsoluteFromAbsolute

func SubAbsoluteFromAbsolute(leftAbsoluteTime unsafe.Pointer, rightAbsoluteTime unsafe.Pointer) unsafe.Pointer

func SubDurationFromAbsolute

func SubDurationFromAbsolute(duration int, absoluteTime unsafe.Pointer) unsafe.Pointer

func SubNanosecondsFromAbsolute

func SubNanosecondsFromAbsolute(nanoseconds unsafe.Pointer, absoluteTime 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 SysError

func SysError(errorCode int16)

func TECClearConverterContextInfo

func TECClearConverterContextInfo(encodingConverter unsafe.Pointer) int

func TECClearSnifferContextInfo

func TECClearSnifferContextInfo(encodingSniffer unsafe.Pointer) int

func TECConvertText

func TECConvertText(encodingConverter unsafe.Pointer, inputBuffer *uint8, inputBufferLength uint, actualInputLength *uint, outputBuffer *uint8, outputBufferLength uint, actualOutputLength *uint) int

func TECConvertTextToMultipleEncodings

func TECConvertTextToMultipleEncodings(encodingConverter unsafe.Pointer, inputBuffer *uint8, inputBufferLength uint, actualInputLength *uint, outputBuffer *uint8, outputBufferLength uint, actualOutputLength *uint, outEncodingsBuffer *TextEncodingRun, maxOutEncodingRuns uint, actualOutEncodingRuns *uint) int

func TECCopyTextEncodingInternetNameAndMIB

func TECCopyTextEncodingInternetNameAndMIB(textEncoding uint, usage uint, encodingNamePtr unsafe.Pointer, mibEnumPtr *int) int

func TECCountAvailableSniffers

func TECCountAvailableSniffers(numberOfEncodings *uint) int

func TECCountAvailableTextEncodings

func TECCountAvailableTextEncodings(numberEncodings *uint) int

func TECCountDestinationTextEncodings

func TECCountDestinationTextEncodings(inputEncoding uint, numberOfEncodings *uint) int

func TECCountDirectTextEncodingConversions

func TECCountDirectTextEncodingConversions(numberOfEncodings *uint) int

func TECCountMailTextEncodings

func TECCountMailTextEncodings(locale int16, numberEncodings *uint) int

func TECCountSubTextEncodings

func TECCountSubTextEncodings(inputEncoding uint, numberOfEncodings *uint) int

func TECCountWebTextEncodings

func TECCountWebTextEncodings(locale int16, numberEncodings *uint) int

func TECCreateConverter

func TECCreateConverter(newEncodingConverter unsafe.Pointer, inputEncoding uint, outputEncoding uint) int

func TECCreateConverterFromPath

func TECCreateConverterFromPath(newEncodingConverter unsafe.Pointer, inPath *uint, inEncodings uint) int

func TECCreateOneToManyConverter

func TECCreateOneToManyConverter(newEncodingConverter unsafe.Pointer, inputEncoding uint, numOutputEncodings uint, outputEncodings *uint) int

func TECCreateSniffer

func TECCreateSniffer(encodingSniffer unsafe.Pointer, testEncodings *uint, numTextEncodings uint) int

func TECDisposeConverter

func TECDisposeConverter(newEncodingConverter unsafe.Pointer) int

func TECDisposeSniffer

func TECDisposeSniffer(encodingSniffer unsafe.Pointer) int

func TECFlushMultipleEncodings

func TECFlushMultipleEncodings(encodingConverter unsafe.Pointer, outputBuffer *uint8, outputBufferLength uint, actualOutputLength *uint, outEncodingsBuffer *TextEncodingRun, maxOutEncodingRuns uint, actualOutEncodingRuns *uint) int

func TECFlushText

func TECFlushText(encodingConverter unsafe.Pointer, outputBuffer *uint8, outputBufferLength uint, actualOutputLength *uint) int

func TECGetAvailableSniffers

func TECGetAvailableSniffers(availableSniffers *uint, maxAvailableSniffers uint, actualAvailableSniffers *uint) int

func TECGetAvailableTextEncodings

func TECGetAvailableTextEncodings(availableEncodings *uint, maxAvailableEncodings uint, actualAvailableEncodings *uint) int

func TECGetDestinationTextEncodings

func TECGetDestinationTextEncodings(inputEncoding uint, destinationEncodings *uint, maxDestinationEncodings uint, actualDestinationEncodings *uint) int

func TECGetDirectTextEncodingConversions

func TECGetDirectTextEncodingConversions(availableConversions *TECConversionInfo, maxAvailableConversions uint, actualAvailableConversions *uint) int

func TECGetEncodingList

func TECGetEncodingList(encodingConverter unsafe.Pointer, numEncodings *uint, encodingList **string) int

func TECGetInfo

func TECGetInfo(tecInfo ***TECInfo) int

func TECGetMailTextEncodings

func TECGetMailTextEncodings(locale int16, availableEncodings *uint, maxAvailableEncodings uint, actualAvailableEncodings *uint) int

func TECGetSubTextEncodings

func TECGetSubTextEncodings(inputEncoding uint, subEncodings *uint, maxSubEncodings uint, actualSubEncodings *uint) int

func TECGetTextEncodingFromInternetName

func TECGetTextEncodingFromInternetName(textEncoding *uint, encodingName *uint8) int

func TECGetTextEncodingFromInternetNameOrMIB

func TECGetTextEncodingFromInternetNameOrMIB(textEncodingPtr *uint, usage uint, encodingName unsafe.Pointer, mibEnum int) int

func TECGetTextEncodingInternetName

func TECGetTextEncodingInternetName(textEncoding uint, encodingName *uint8) int

func TECGetWebTextEncodings

func TECGetWebTextEncodings(locale int16, availableEncodings *uint, maxAvailableEncodings uint, actualAvailableEncodings *uint) int

func TECSetBasicOptions

func TECSetBasicOptions(encodingConverter unsafe.Pointer, controlFlags uint) int

func TECSniffTextEncoding

func TECSniffTextEncoding(encodingSniffer unsafe.Pointer, inputBuffer *uint8, inputBufferLength uint, testEncodings *uint, numTextEncodings uint, numErrsArray *uint, maxErrs uint, numFeaturesArray *uint, maxFeatures uint) int

func TaskLevel

func TaskLevel() uint

func TempNewHandle

func TempNewHandle(logicalSize int, resultCode *int16) *string

func TestAndClear

func TestAndClear(bit uint, address *uint8) uint8

func TestAndSet

func TestAndSet(bit uint, address *uint8) uint8

func ThreadBeginCritical

func ThreadBeginCritical() int16

func ThreadCurrentStackSpace

func ThreadCurrentStackSpace(thread uint, freeStack *uint) int16

func ThreadEndCritical

func ThreadEndCritical() int16

func TickCount

func TickCount() uint

func TruncateForTextToUnicode

func TruncateForTextToUnicode(iTextToUnicodeInfo unsafe.Pointer, iSourceLen uint, iSourceStr unsafe.Pointer, iMaxLen uint, oTruncatedLen *uint) int

func TruncateForUnicodeToText

func TruncateForUnicodeToText(iUnicodeToTextInfo unsafe.Pointer, iSourceLen uint, iSourceStr *uint16, iControlFlags uint, iMaxLen uint, oTruncatedLen *uint) int

func U32SetU

func U32SetU(value uint64) uint

@brief Given an UInt64, returns an UInt32 by discarding the high-order 32 bits. @param value A \c UInt64 value @result the \c SInt32 value created by discarding the high-order 32 bits of value

func U64Add

func U64Add(left uint64, right uint64) uint64

@brief Adds two unsigned integers, producing an integer result. If an overflow occurs the result is congruent mod (2^64) as if the operands and result were unsigned. No overflow is signaled. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of adding left to right, ignoring overflow and truncating to a UInt64

func U64And

func U64And(left uint64, right uint64) uint8

@brief Returns true if left and right are non-zero, otherwise returns false @param left a \c UInt64 value @param right a \c UInt64 value @result returns true if either left or right is non-zero, false otherwise

func U64BitwiseAnd

func U64BitwiseAnd(left uint64, right uint64) uint64

@brief Return the bitwise AND value of the two parameters. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of the bitwise AND of left and right

func U64BitwiseEor

func U64BitwiseEor(left uint64, right uint64) uint64

@brief Return the bitwise EOR value of the two parameters. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of the bitwise EOR of left and right

func U64BitwiseNot

func U64BitwiseNot(value uint64) uint64

@brief Return the bitwise NOT value of the given value @param value a \c UInt64 value @result the result of the bitwise NOT of value

func U64BitwiseOr

func U64BitwiseOr(left uint64, right uint64) uint64

@brief Return the bitwise OR value of the two parameters. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of the bitwise OR of left and right

func U64Compare

func U64Compare(left uint64, right uint64) int

@brief Given two unsigned numbers, left and right, returns an SInt32 that compares with zero the same way left compares with right. Do not depend on the actual value returned, only on its sign or whether it is zero. @param left a \c UInt64 value @param right a \c UInt64 value @result If left is less than right, then a negative value; if left is larger than right then a positive value, and if left == right then the value zero.

func U64Div

func U64Div(dividend uint64, divisor uint64) uint64

@brief Divides dividend by divisor, returning the quotient. The sign of the remainder is the same as the sign of the dividend (i.e. it takes the absolute values of the operands, does the division, then fixes the sign of the quotient and remainder). If the divisor is zero, then U64Max() will be returned (or U64Min() if the dividend is negative), and the remainder will be the dividend; no error is reported. @param dividend the value to be divided @param divisor the value to divide by @result the \c UInt64 value ( dividend / divisor )

func U64Divide

func U64Divide(dividend uint64, divisor uint64, remainder *uint64) uint64

@brief Divides dividend by divisor, returning the quotient. The remainder is returned in remainder if remainder (the pointer) is non-NULL. The sign of the remainder is the same as the sign of the dividend (i.e. it takes the absolute values of the operands, does the division, then fixes the sign of the quotient and remainder). If the divisor is zero, then U64Max() will be returned (or U64Min() if the dividend is negative), and the remainder will be the dividend; no error is reported. @param dividend the value to be divided @param divisor the value to divide by @param remainder if non-null, on exit the remainder of the operation @result the \c UInt64 value ( divident / divisor )

func U64Eor

func U64Eor(left uint64, right uint64) uint8

@brief Returns one if left xor right are non-zero, otherwise returns zero @param left a \c UInt64 value @param right a \c UInt64 value @result return true if both left and right are zero, or if both left and right are non-zero; false otherwise

func U64Max

func U64Max() uint64

@brief Returns largest possible UInt64 value @result the largest SInt64 value

func U64Mod

func U64Mod(dividend uint64, divisor uint64) uint64

@brief Returns the remainder of divide of dividend by divisor. The sign of the remainder is the same as the sign of the dividend (i.e., it takes the absolute values of the operands, does the division, then fixes the sign of the quotient and remainder). @param dividend a \c UInt64 value @param divisor a \c UInt64 value @result the remainder after dividing dividend by divisor

func U64Multiply

func U64Multiply(left uint64, right uint64) uint64

@brief Multiplies two unsigned numbers, producing a signed result. Overflow is ignored and the low-order part of the product is returned. The sign of the result is not guaranteed to be correct if the magnitude of the product is not representable. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of multiplying left by right, truncated to a \c UInt64 value.

func U64Not

func U64Not(value uint64) uint8

@brief Returns true if value is non-zero, otherwisze returns false. @param value a \c UInt64 value @result return true if value is non-zero, true otherwise

func U64Or

func U64Or(left uint64, right uint64) uint8

@brief Returns true if left or right are non-zero, otherwise returns false @param left a \c UInt64 value @param right a \c UInt64 value @result returns true if both left or right is non-zero, false otherwise

func U64Set

func U64Set(value int) uint64

@brief Given an\c SInt32, returns an UInt64 with the same value. Use this routine instead of coding 64-bit constants (at least when the constant will fit in an SInt32). @discussion If value is negative, this returns the equivalent bit 32 bit value as an unsigned value @param value the \c SInt32 value to coerce to a \c UInt64 @result the \c UInt64 equivalent of the SInt32 value

func U64SetU

func U64SetU(value uint) uint64

@brief Given a UInt32, returns a UInt64 with the same value. @param value A \c UInt32 value @result A UInt64 value equivalent to value

func U64ShiftLeft

func U64ShiftLeft(value uint64, shift uint) uint64

@brief Return a \c UInt64 value created by shifting a given value left by a given number of bit positions @param value a \c UInt64 value @param shift a \c UInt32 number of positions to shift, between 0 and 127 @result the result of shifting value to the left by shift bit positions

func U64ShiftRight

func U64ShiftRight(value uint64, shift uint) uint64

@brief Return a \c UInt64 value created by shifting a given value right by a given number of bit positions @param value a \c UInt64 value @param shift a \c UInt32 number of positions to shift, between 0 and 127 @result the result of shifting value to the right by shift bit positions

func U64Subtract

func U64Subtract(left uint64, right uint64) uint64

@brief Subtracts two unsigned integers, producing an integer result. If an overflow occurs the result is congruent mod (2^64) as if the operands and result were unsigned. No overflow is signaled. @param left a \c UInt64 value @param right a \c UInt64 value @result the result of subtracting the value right from left, ignoring underflow

func UCCompareCollationKeys

func UCCompareCollationKeys(key1Ptr *uint, key1Length uint, key2Ptr *uint, key2Length uint, equivalent *uint8, order *int) int

func UCCompareText

func UCCompareText(collatorRef unsafe.Pointer, text1Ptr *uint16, text1Length uint, text2Ptr *uint16, text2Length uint, equivalent *uint8, order *int) int

func UCCompareTextDefault

func UCCompareTextDefault(options uint, text1Ptr *uint16, text1Length uint, text2Ptr *uint16, text2Length uint, equivalent *uint8, order *int) int

func UCCompareTextNoLocale

func UCCompareTextNoLocale(options uint, text1Ptr *uint16, text1Length uint, text2Ptr *uint16, text2Length uint, equivalent *uint8, order *int) int

func UCConvertCFAbsoluteTimeToLongDateTime

func UCConvertCFAbsoluteTimeToLongDateTime(iCFTime float64, oLongDate *int64) int

func UCConvertCFAbsoluteTimeToSeconds

func UCConvertCFAbsoluteTimeToSeconds(iCFTime float64, oSeconds *uint) int

func UCConvertCFAbsoluteTimeToUTCDateTime

func UCConvertCFAbsoluteTimeToUTCDateTime(iCFTime float64, oUTCDate *UTCDateTime) int

func UCConvertLongDateTimeToCFAbsoluteTime

func UCConvertLongDateTimeToCFAbsoluteTime(iLongTime int64, oCFTime *float64) int

func UCConvertSecondsToCFAbsoluteTime

func UCConvertSecondsToCFAbsoluteTime(iSeconds uint, oCFTime *float64) int

func UCConvertUTCDateTimeToCFAbsoluteTime

func UCConvertUTCDateTimeToCFAbsoluteTime(iUTCDate *UTCDateTime, oCFTime *float64) int

func UCCreateCollator

func UCCreateCollator(locale unsafe.Pointer, opVariant uint, options uint, collatorRef unsafe.Pointer) int

func UCCreateTextBreakLocator

func UCCreateTextBreakLocator(locale unsafe.Pointer, opVariant uint, breakTypes uint, breakRef unsafe.Pointer) int

func UCDisposeCollator

func UCDisposeCollator(collatorRef unsafe.Pointer) int

func UCDisposeTextBreakLocator

func UCDisposeTextBreakLocator(breakRef unsafe.Pointer) int

func UCFindTextBreak

func UCFindTextBreak(breakRef unsafe.Pointer, breakType uint, options uint, textPtr *uint16, textLength uint, startOffset uint, breakOffset *uint) int

func UCGetCharProperty

func UCGetCharProperty(charPtr *uint16, textLength uint, propType int, propValue *uint) int

func UCGetCollationKey

func UCGetCollationKey(collatorRef unsafe.Pointer, textPtr *uint16, textLength uint, maxKeySize uint, actualKeySize *uint, collationKey *uint) int

func UCGetUnicodeScalarValueForSurrogatePair

func UCGetUnicodeScalarValueForSurrogatePair(surrogateHigh uint16, surrogateLow uint16) uint

@function UCGetUnicodeScalarValueForSurrogatePair Returns the UTF-32 value corresponding to the surrogate pair passed in. @param surrogateHigh The high surrogate character. If this parameter is not a valid high surrogate character, the behavior is undefined. @param surrogateLow The low surrogate character. If this parameter is not a valid low surrogate character, the behavior is undefined. @result The UTF-32 value for the surrogate pair.

func UCIsSurrogateHighCharacter

func UCIsSurrogateHighCharacter(character uint16) uint8

@function UCIsSurrogateHighCharacter Reports whether or not the character is a high surrogate. @param character The character to be checked. @result true, if character is a high surrogate, otherwise false.

func UCIsSurrogateLowCharacter

func UCIsSurrogateLowCharacter(character uint16) uint8

@function UCIsSurrogateLowCharacter Reports whether or not the character is a low surrogate. @param character The character to be checked. @result true, if character is a low surrogate, otherwise false.

func UCKeyTranslate

func UCKeyTranslate(keyLayoutPtr *UCKeyboardLayout, virtualKeyCode uint16, keyAction uint16, modifierKeyState uint, keyboardType uint, keyTranslateOptions uint, deadKeyState *uint, maxStringLength uint, actualStringLength *uint, unicodeString *uint16) int

func UCTypeSelectAddKeyToSelector

func UCTypeSelectAddKeyToSelector(inRef unsafe.Pointer, inText unsafe.Pointer, inEventTime float64, updateFlag *uint8) int

func UCTypeSelectCompare

func UCTypeSelectCompare(ref unsafe.Pointer, inText unsafe.Pointer, result *int) int

func UCTypeSelectCreateSelector

func UCTypeSelectCreateSelector(locale unsafe.Pointer, opVariant uint, options uint, newSelector unsafe.Pointer) int

func UCTypeSelectFindItem

func UCTypeSelectFindItem(ref unsafe.Pointer, listSize uint, listDataPtr unsafe.Pointer, refcon unsafe.Pointer, userUPP unsafe.Pointer, closestItem *uint) int

func UCTypeSelectFlushSelectorData

func UCTypeSelectFlushSelectorData(ref unsafe.Pointer) int

func UCTypeSelectReleaseSelector

func UCTypeSelectReleaseSelector(ref unsafe.Pointer) int

func UCTypeSelectWalkList

func UCTypeSelectWalkList(ref unsafe.Pointer, currSelect unsafe.Pointer, direction uint16, listSize uint, listDataPtr unsafe.Pointer, refcon unsafe.Pointer, userUPP unsafe.Pointer, closestItem *uint) int

func UCTypeSelectWouldResetBuffer

func UCTypeSelectWouldResetBuffer(inRef unsafe.Pointer, inText unsafe.Pointer, inEventTime float64) uint8

func UInt64ToLongDouble

func UInt64ToLongDouble(value uint64) float64

@brief Convert an signed 64 bit integer to a long double @param value a \c UInt64 value @result a long double equivalent to double

func UInt64ToSInt64

func UInt64ToSInt64(value uint64) int64

@brief Coerces a \c UInt64 -> \c SInt64 @param value a \c UInt64 value @result the result of coercing value into a \c SInt64; if value is > SIntMax() then a negavite value

func UInt64ToUnsignedWide

func UInt64ToUnsignedWide(u uint64) unsafe.Pointer

func UncaptureComponent

func UncaptureComponent(aComponent *ComponentRecord) int16

func UnflattenCollection

func UnflattenCollection(c unsafe.Pointer, flattenProc unsafe.Pointer, refCon unsafe.Pointer) int16

func UnflattenCollectionFromHdl

func UnflattenCollectionFromHdl(aCollection unsafe.Pointer, flattened *string) int16

func Unique1ID

func Unique1ID(theType uint) int16

func UniqueID

func UniqueID(theType uint) int16

func UnregisterComponent

func UnregisterComponent(aComponent *ComponentRecord) int16

func UnsignedFixedMulDiv

func UnsignedFixedMulDiv(value uint, multiplier uint, divisor uint) uint

func UnsignedWideToUInt64

func UnsignedWideToUInt64(uw unsafe.Pointer) uint64

func UpTime

func UpTime() unsafe.Pointer

func UpdateResFile

func UpdateResFile(refNum int)

func UpgradeScriptInfoToTextEncoding

func UpgradeScriptInfoToTextEncoding(iTextScriptID int16, iTextLanguageID int16, iRegionID int16, iTextFontname *uint8, oEncoding *uint) int

func UseResFile

func UseResFile(refNum int)

func WideAdd

func WideAdd(target unsafe.Pointer, source unsafe.Pointer) unsafe.Pointer

func WideBitShift

func WideBitShift(target unsafe.Pointer, shift int) unsafe.Pointer

func WideCompare

func WideCompare(target unsafe.Pointer, source unsafe.Pointer) int16

func WideDivide

func WideDivide(dividend unsafe.Pointer, divisor int, remainder *int) int

func WideMultiply

func WideMultiply(multiplicand int, multiplier int, target unsafe.Pointer) unsafe.Pointer

func WideNegate

func WideNegate(target unsafe.Pointer) unsafe.Pointer

func WideShift

func WideShift(target unsafe.Pointer, shift int) unsafe.Pointer

func WideSquareRoot

func WideSquareRoot(source unsafe.Pointer) uint

func WideSubtract

func WideSubtract(target unsafe.Pointer, source unsafe.Pointer) unsafe.Pointer

func WideToSInt64

func WideToSInt64(w unsafe.Pointer) int64

func WideWideDivide

func WideWideDivide(dividend unsafe.Pointer, divisor int, remainder *int) unsafe.Pointer

func WritePartialResource

func WritePartialResource(theResource *string, offset int, buffer unsafe.Pointer, count int)

func WriteResource

func WriteResource(theResource *string)

func X2Fix

func X2Fix(x float64) int

func X2Frac

func X2Frac(x float64) int

func X80tod

func X80tod(x80 unsafe.Pointer) float64

C function: x80tod

func X80told

func X80told(x80 unsafe.Pointer, x unsafe.Pointer)

C function: x80told

func YieldToAnyThread

func YieldToAnyThread() int16

func YieldToThread

func YieldToThread(suggestedThread uint) int16

Types

type AFPAlternateAddress

type AFPAlternateAddress struct {
	FVersion      uint8
	FAddressCount uint8
	FAddressList  [1]uint8
}

type AFPTagData

type AFPTagData struct {
	FLength uint8
	FType   uint8
	FData   [1]uint8
}

type AFPVolMountInfo

type AFPVolMountInfo struct {
	Length             int16
	Media              uint
	Flags              int16
	NbpInterval        int8
	NbpCount           int8
	UamType            int16
	ZoneNameOffset     int16
	ServerNameOffset   int16
	VolNameOffset      int16
	UserNameOffset     int16
	UserPasswordOffset int16
	VolPasswordOffset  int16
	AFPData            [144]int8
}

type AFPXVolMountInfo

type AFPXVolMountInfo struct {
	Length                 int16
	Media                  uint
	Flags                  int16
	NbpInterval            int8
	NbpCount               int8
	UamType                int16
	ZoneNameOffset         int16
	ServerNameOffset       int16
	VolNameOffset          int16
	UserNameOffset         int16
	UserPasswordOffset     int16
	VolPasswordOffset      int16
	ExtendedFlags          int16
	UamNameOffset          int16
	AlternateAddressOffset int16
	AFPData                [176]int8
}

type AIFFLoop

type AIFFLoop struct {
	PlayMode  int16
	BeginLoop int16
	EndLoop   int16
}

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 AliasRecord

type AliasRecord struct {
	Hidden [6]uint8
}

type ApplicationSpecificChunk

type ApplicationSpecificChunk struct {
	CkID                 uint
	CkSize               int
	ApplicationSignature uint
	Data                 [1]uint8
}

type AudioRecordingChunk

type AudioRecordingChunk struct {
	CkID             uint
	CkSize           int
	AESChannelStatus [24]uint8
}

type BigEndianFixed

type BigEndianFixed struct {
	BigEndianValue int
}

type BigEndianLong

type BigEndianLong struct {
	BigEndianValue int
}

type BigEndianOSType

type BigEndianOSType struct {
	BigEndianValue uint
}

type BigEndianShort

type BigEndianShort struct {
	BigEndianValue int16
}

type BigEndianUInt32

type BigEndianUInt32 struct {
	BigEndianValue uint
}

type BigEndianUnsignedFixed

type BigEndianUnsignedFixed struct {
	BigEndianValue uint
}

type BigEndianUnsignedLong

type BigEndianUnsignedLong struct {
	BigEndianValue uint
}

type BigEndianUnsignedShort

type BigEndianUnsignedShort struct {
	BigEndianValue uint16
}

type CatPositionRec

type CatPositionRec struct {
	Initialize int
	Priv       [6]int16
}

type ChunkHeader

type ChunkHeader struct {
	CkID   uint
	CkSize int
}

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Comment

type Comment struct {
	TimeStamp uint
	Marker    int16
	Count     uint16
	Text      [1]int8
}

type CommentsChunk

type CommentsChunk struct {
	CkID        uint
	CkSize      int
	NumComments uint16
	Comments    [1]Comment
}

type CommonChunk

type CommonChunk struct {
	CkID            uint
	CkSize          int
	NumChannels     int16
	NumSampleFrames uint
	SampleSize      int16
	SampleRate      unsafe.Pointer
}

type ComponentAliasResource

type ComponentAliasResource struct {
	Cr      ComponentResource
	AliasCD ComponentDescription
}

type ComponentDescription deprecated

type ComponentDescription struct {
	ComponentType         uint
	ComponentSubType      uint
	ComponentManufacturer uint
	ComponentFlags        uint
	ComponentFlagsMask    uint
}

Deprecated: Deprecated

type ComponentInstanceRecord

type ComponentInstanceRecord struct {
	Data [1]int
}

func OpenComponent

func OpenComponent(aComponent *ComponentRecord) *ComponentInstanceRecord

func OpenDefaultComponent

func OpenDefaultComponent(componentType uint, componentSubType uint) *ComponentInstanceRecord

type ComponentMPWorkFunctionHeaderRecord

type ComponentMPWorkFunctionHeaderRecord struct {
	HeaderSize     uint
	RecordSize     uint
	WorkFlags      uint
	ProcessorCount uint16
	Unused         uint8
	IsRunning      uint8
}

type ComponentParameters

type ComponentParameters struct {
	Flags     uint8
	ParamSize uint8
	What      int16
	Padding   uint
	Params    [1]int
}

type ComponentPlatformInfo

type ComponentPlatformInfo struct {
	ComponentFlags int
	Component      ResourceSpec
	PlatformType   int16
}

type ComponentPlatformInfoArray

type ComponentPlatformInfoArray struct {
	Count         int
	PlatformArray [1]ComponentPlatformInfo
}

type ComponentRecord

type ComponentRecord struct {
	Data [1]int
}

func CaptureComponent

func CaptureComponent(capturedComponent *ComponentRecord, capturingComponent *ComponentRecord) *ComponentRecord

func FindNextComponent

func FindNextComponent(aComponent *ComponentRecord, looking *ComponentDescription) *ComponentRecord

func RegisterComponent

func RegisterComponent(cd *ComponentDescription, componentEntryPoint unsafe.Pointer, global int16, componentName *string, componentInfo *string, componentIcon *string) *ComponentRecord

func RegisterComponentResource

func RegisterComponentResource(cr **ComponentResource, global int16) *ComponentRecord

func ResolveComponentAlias

func ResolveComponentAlias(aComponent *ComponentRecord) *ComponentRecord

type ComponentResource

type ComponentResource struct {
	Cd            ComponentDescription
	Component     ResourceSpec
	ComponentName ResourceSpec
	ComponentInfo ResourceSpec
	ComponentIcon ResourceSpec
}

type ComponentResourceExtension

type ComponentResourceExtension struct {
	ComponentVersion       int
	ComponentRegisterFlags int
	ComponentIconFamily    int16
}

type ContainerChunk

type ContainerChunk struct {
	CkID     uint
	CkSize   int
	FormType uint
}

type CustomBadgeResource

type CustomBadgeResource struct {
	Version               int16
	CustomBadgeResourceID int16
	CustomBadgeType       uint
	CustomBadgeCreator    uint
	WindowBadgeType       uint
	WindowBadgeCreator    uint
	OverrideType          uint
	OverrideCreator       uint
}

type DInfo

type DInfo struct {
	FrRect     unsafe.Pointer
	FrFlags    uint16
	FrLocation unsafe.Pointer
	FrView     int16
}

type DXInfo

type DXInfo struct {
	FrScroll    unsafe.Pointer
	FrOpenChain int
	FrScript    int8
	FrXFlags    int8
	FrComment   int16
	FrPutAway   int
}

type DateCacheRecord

type DateCacheRecord struct {
	Hidden [256]int16
}

type DateTimeRec

type DateTimeRec struct {
	Year      int16
	Month     int16
	Day       int16
	Hour      int16
	Minute    int16
	Second    int16
	DayOfWeek int16
}

type Decform

type Decform struct {
	Style  int8
	Unused int8
	Digits int16
}

C struct: decform

type Decimal

type Decimal struct {
	Sgn    int8
	Unused int8
	Exp    int16
	Sig    unsafe.Pointer
}

C struct: decimal

type DeferredTask

type DeferredTask struct {
	QLink      unsafe.Pointer
	QType      int16
	DtFlags    unsafe.Pointer
	DtAddr     unsafe.Pointer
	DtParam    int
	DtReserved int
}

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 ExceptionInformation

type ExceptionInformation struct {
	TheKind       uint
	MachineState  *MachineInformation
	RegisterImage *RegisterInformation
	FPUImage      *FPUInformation
	Info          unsafe.Pointer
	VectorImage   *VectorInformation
}

type ExceptionInformationPowerPC

type ExceptionInformationPowerPC struct {
	TheKind       uint
	MachineState  *MachineInformationPowerPC
	RegisterImage *RegisterInformationPowerPC
	FPUImage      *FPUInformationPowerPC
	Info          unsafe.Pointer
	VectorImage   *VectorInformationPowerPC
}

type ExtCommonChunk

type ExtCommonChunk struct {
	CkID            uint
	CkSize          int
	NumChannels     int16
	NumSampleFrames uint
	SampleSize      int16
	SampleRate      unsafe.Pointer
	CompressionType uint
	CompressionName [1]int8
}

type ExtComponentResource

type ExtComponentResource struct {
	Cd                     ComponentDescription
	Component              ResourceSpec
	ComponentName          ResourceSpec
	ComponentInfo          ResourceSpec
	ComponentIcon          ResourceSpec
	ComponentVersion       int
	ComponentRegisterFlags int
	ComponentIconFamily    int16
	Count                  int
	PlatformArray          [1]ComponentPlatformInfo
}

type ExtendedFileInfo

type ExtendedFileInfo struct {
	Reserved1           [4]int16
	ExtendedFinderFlags uint16
	Reserved2           int16
	PutAwayFolderID     int
}

type ExtendedFolderInfo

type ExtendedFolderInfo struct {
	ScrollPosition      unsafe.Pointer
	Reserved1           int
	ExtendedFinderFlags uint16
	Reserved2           int16
	PutAwayFolderID     int
}

type FInfo

type FInfo struct {
	FdType     uint
	FdCreator  uint
	FdFlags    uint16
	FdLocation unsafe.Pointer
	FdFldr     int16
}

type FPUInformation

type FPUInformation struct {
}

type FPUInformationPowerPC

type FPUInformationPowerPC struct {
	Registers [32]unsafe.Pointer
	FPSCR     uint
	Reserved  uint
}

type FSAliasInfo

type FSAliasInfo struct {
	VolumeCreateDate           UTCDateTime
	TargetCreateDate           UTCDateTime
	FileType                   uint
	FileCreator                uint
	ParentDirID                uint
	NodeID                     uint
	FilesystemID               uint16
	Signature                  uint16
	VolumeIsBootVolume         uint8
	VolumeIsAutomounted        uint8
	VolumeIsEjectable          uint8
	VolumeHasPersistentFileIDs uint8
	IsDirectory                uint8
}

type FSCatalogBulkParam

type FSCatalogBulkParam struct {
	QLink            *QElem
	QType            int16
	IoTrap           int16
	IoCmdAddr        string
	IoCompletion     unsafe.Pointer
	IoResult         unsafe.Pointer
	ContainerChanged uint8
	Reserved         uint8
	IteratorFlags    uint
	Iterator         unsafe.Pointer
	Container        *FSRef
	MaximumItems     uint
	ActualItems      uint
	WhichInfo        uint
	CatalogInfo      *FSCatalogInfo
	Refs             *FSRef
	Specs            *FSSpec
	Names            unsafe.Pointer
	SearchParams     *FSSearchParams
}

type FSCatalogInfo

type FSCatalogInfo struct {
	NodeFlags        uint16
	Volume           int16
	ParentDirID      uint
	NodeID           uint
	SharingFlags     uint8
	UserPrivileges   uint8
	Reserved1        uint8
	Reserved2        uint8
	CreateDate       UTCDateTime
	ContentModDate   UTCDateTime
	AttributeModDate UTCDateTime
	AccessDate       UTCDateTime
	BackupDate       UTCDateTime
	Permissions      FSPermissionInfo
	FinderInfo       [16]uint8
	ExtFinderInfo    [16]uint8
	DataLogicalSize  uint64
	DataPhysicalSize uint64
	RsrcLogicalSize  uint64
	RsrcPhysicalSize uint64
	Valence          uint
	TextEncodingHint uint
}

type FSFileOperation

type FSFileOperation struct{}

C struct: __FSFileOperation FSFileOperation is an opaque type.

type FSFileOperationClientContext

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

type FSFileSecurity

type FSFileSecurity struct{}

C struct: __FSFileSecurity FSFileSecurity is an opaque type.

type FSForkCBInfoParam

type FSForkCBInfoParam struct {
	QLink         *QElem
	QType         int16
	IoTrap        int16
	IoCmdAddr     string
	IoCompletion  unsafe.Pointer
	IoResult      unsafe.Pointer
	DesiredRefNum int
	VolumeRefNum  int16
	Iterator      int
	ActualRefNum  int16
	Ref           *FSRef
	ForkInfo      *FSForkInfo
	ForkName      unsafe.Pointer
}

type FSForkIOParam

type FSForkIOParam struct {
	QLink            *QElem
	QType            int16
	IoTrap           int16
	IoCmdAddr        string
	IoCompletion     unsafe.Pointer
	IoResult         unsafe.Pointer
	Reserved1        unsafe.Pointer
	Reserved2        int16
	ForkRefNum       int
	Reserved3        uint8
	Permissions      int8
	Ref              *FSRef
	Buffer           string
	RequestCount     uint
	ActualCount      uint
	PositionMode     uint16
	PositionOffset   int64
	AllocationFlags  uint16
	AllocationAmount uint64
	ForkNameLength   uint
	ForkName         *uint16
	ForkIterator     CatPositionRec
	OutForkName      unsafe.Pointer
}

type FSForkInfo

type FSForkInfo struct {
	Flags           uint8
	Permissions     int8
	Volume          int16
	Reserved2       uint
	NodeID          uint
	ForkID          uint
	CurrentPosition uint64
	LogicalEOF      uint64
	PhysicalEOF     uint64
	Process         uint64
}

type FSPermissionInfo

type FSPermissionInfo struct {
	UserID     uint
	GroupID    uint
	Reserved1  uint8
	UserAccess uint8
	Mode       uint16
	FileSec    unsafe.Pointer
}

type FSRangeLockParam

type FSRangeLockParam struct {
	QLink          *QElem
	QType          int16
	IoTrap         int16
	IoCmdAddr      string
	IoCompletion   unsafe.Pointer
	IoResult       unsafe.Pointer
	ForkRefNum     int
	RequestCount   uint64
	PositionMode   uint16
	PositionOffset int64
	RangeStart     uint64
}

type FSRef

type FSRef struct {
	Hidden [80]uint8
}

type FSRefForkIOParam

type FSRefForkIOParam struct {
	QLink          *QElem
	QType          int16
	IoTrap         int16
	IoCmdAddr      string
	IoCompletion   unsafe.Pointer
	IoResult       unsafe.Pointer
	ParentRef      *FSRef
	NameLength     uint
	Name           *uint16
	WhichInfo      uint
	CatInfo        *FSCatalogInfo
	ForkNameLength uint
	ForkName       *uint16
	Permissions    int8
	Reserved1      uint8
	ForkRefNum     int
	NewRef         *FSRef
}

type FSRefParam

type FSRefParam struct {
	QLink            *QElem
	QType            int16
	IoTrap           int16
	IoCmdAddr        string
	IoCompletion     unsafe.Pointer
	IoResult         unsafe.Pointer
	IoNamePtr        *uint8
	IoVRefNum        int16
	Reserved1        int16
	Reserved2        uint8
	Reserved3        uint8
	Ref              *FSRef
	WhichInfo        uint
	CatInfo          *FSCatalogInfo
	NameLength       uint
	Name             *uint16
	IoDirID          uint
	Spec             *FSSpec
	ParentRef        *FSRef
	NewRef           *FSRef
	TextEncodingHint uint
	OutName          unsafe.Pointer
}

type FSSearchParams

type FSSearchParams struct {
	SearchTime       int
	SearchBits       uint
	SearchNameLength uint
	SearchName       *uint16
	SearchInfo1      *FSCatalogInfo
	SearchInfo2      *FSCatalogInfo
}

type FSSpec

type FSSpec struct {
	Hidden [70]uint8
}

type FSVolumeInfo

type FSVolumeInfo struct {
	CreateDate     UTCDateTime
	ModifyDate     UTCDateTime
	BackupDate     UTCDateTime
	CheckedDate    UTCDateTime
	FileCount      uint
	FolderCount    uint
	TotalBytes     uint64
	FreeBytes      uint64
	BlockSize      uint
	TotalBlocks    uint
	FreeBlocks     uint
	NextAllocation uint
	RsrcClumpSize  uint
	DataClumpSize  uint
	NextCatalogID  uint
	FinderInfo     [32]uint8
	Flags          uint16
	FilesystemID   uint16
	Signature      uint16
	DriveNumber    uint16
	DriverRefNum   int
}

type FSVolumeInfoParam

type FSVolumeInfoParam struct {
	QLink        *QElem
	QType        int16
	IoTrap       int16
	IoCmdAddr    string
	IoCompletion unsafe.Pointer
	IoResult     unsafe.Pointer
	IoNamePtr    *uint8
	IoVRefNum    int16
	VolumeIndex  uint
	WhichInfo    uint
	VolumeInfo   *FSVolumeInfo
	VolumeName   unsafe.Pointer
	Ref          *FSRef
}

type FVector deprecated

type FVector struct {
	Start  int16
	Length int16
}

Deprecated: Deprecated

type FXInfo

type FXInfo struct {
	FdIconID   int16
	FdReserved [3]int16
	FdScript   int8
	FdXFlags   int8
	FdComment  int16
	FdPutAway  int
}

type FileInfo

type FileInfo struct {
	FileType      uint
	FileCreator   uint
	FinderFlags   uint16
	Location      unsafe.Pointer
	ReservedField uint16
}

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 FolderDesc

type FolderDesc struct {
	DescSize       int
	FoldType       uint
	Flags          uint
	FoldClass      uint
	FoldLocation   uint
	BadgeSignature uint
	BadgeType      uint
	Reserved       uint
	Name           [64]uint8
}

type FolderInfo

type FolderInfo struct {
	WindowBounds  unsafe.Pointer
	FinderFlags   uint16
	Location      unsafe.Pointer
	ReservedField uint16
}

type FolderRouting

type FolderRouting struct {
	DescSize        int
	FileType        uint
	RouteFromFolder uint
	RouteToFolder   uint
	Flags           uint
}

type FormatVersionChunk

type FormatVersionChunk struct {
	CkID      uint
	CkSize    int
	Timestamp uint
}

type GetVolParmsInfoBuffer

type GetVolParmsInfoBuffer struct {
	VMVersion            int16
	VMAttrib             int
	VMLocalHand          *string
	VMServerAdr          int
	VMVolumeGrade        int
	VMForeignPrivID      int16
	VMExtendedAttributes int
	VMDeviceID           unsafe.Pointer
	VMMaxNameLength      uint
}

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 InstrumentChunk

type InstrumentChunk struct {
	CkID          uint
	CkSize        int
	BaseFrequency uint8
	Detune        uint8
	LowFrequency  uint8
	HighFrequency uint8
	LowVelocity   uint8
	HighVelocity  uint8
	Gain          int16
	SustainLoop   AIFFLoop
	ReleaseLoop   AIFFLoop
}

type Intl0Rec

type Intl0Rec struct {
	DecimalPt   int8
	ThousSep    int8
	ListSep     int8
	CurrSym1    int8
	CurrSym2    int8
	CurrSym3    int8
	CurrFmt     uint8
	DateOrder   uint8
	ShrtDateFmt uint8
	DateSep     int8
	TimeCycle   uint8
	TimeFmt     uint8
	MornStr     [4]int8
	EveStr      [4]int8
	TimeSep     int8
	Time1Suff   int8
	Time2Suff   int8
	Time3Suff   int8
	Time4Suff   int8
	Time5Suff   int8
	Time6Suff   int8
	Time7Suff   int8
	Time8Suff   int8
	MetricSys   uint8
	Intl0Vers   int16
}

type Intl1Rec

type Intl1Rec struct {
	Days        [7][16]uint8
	Months      [12][16]uint8
	SuppressDay uint8
	LngDateFmt  uint8
	DayLeading0 uint8
	AbbrLen     uint8
	St0         [4]int8
	St1         [4]int8
	St2         [4]int8
	St3         [4]int8
	St4         [4]int8
	Intl1Vers   int16
	LocalRtn    [1]int16
}

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 Itl1ExtRec

type Itl1ExtRec struct {
	Base                    Intl1Rec
	Version                 int16
	Format                  int16
	CalendarCode            int16
	ExtraDaysTableOffset    int
	ExtraDaysTableLength    int
	ExtraMonthsTableOffset  int
	ExtraMonthsTableLength  int
	AbbrevDaysTableOffset   int
	AbbrevDaysTableLength   int
	AbbrevMonthsTableOffset int
	AbbrevMonthsTableLength int
	ExtraSepsTableOffset    int
	ExtraSepsTableLength    int
	Tables                  [1]int16
}

type Itl4Rec

type Itl4Rec struct {
	Flags          int16
	ResourceType   int
	ResourceNum    int16
	Version        int16
	ResHeader1     int
	ResHeader2     int
	NumTables      int16
	MapOffset      int
	StrOffset      int
	FetchOffset    int
	UnTokenOffset  int
	DefPartsOffset int
	ResOffset6     int
	ResOffset7     int
	ResOffset8     int
}

type Itl5Record

type Itl5Record struct {
	VersionNumber  int
	NumberOfTables uint16
	Reserved       [3]uint16
	TableDirectory [1]TableDirectoryRecord
}

type ItlbExtRecord

type ItlbExtRecord struct {
	Base            ItlbRecord
	ItlbLocalSize   int
	ItlbMonoFond    int16
	ItlbMonoSize    int16
	ItlbPrefFond    int16
	ItlbPrefSize    int16
	ItlbSmallFond   int16
	ItlbSmallSize   int16
	ItlbSysFond     int16
	ItlbSysSize     int16
	ItlbAppFond     int16
	ItlbAppSize     int16
	ItlbHelpFond    int16
	ItlbHelpSize    int16
	ItlbValidStyles uint8
	ItlbAliasStyle  uint8
}

type ItlbRecord

type ItlbRecord struct {
	ItlbNumber   int16
	ItlbDate     int16
	ItlbSort     int16
	ItlbFlags    int16
	ItlbToken    int16
	ItlbEncoding int16
	ItlbLang     int16
	ItlbNumRep   int8
	ItlbDateRep  int8
	ItlbKeys     int16
	ItlbIcon     int16
}

type ItlcRecord

type ItlcRecord struct {
	ItlcSystem     int16
	ItlcReserved   int16
	ItlcFontForce  int8
	ItlcIntlForce  int8
	ItlcOldKybd    int8
	ItlcFlags      int8
	ItlcIconOffset int16
	ItlcIconSide   int8
	ItlcIconRsvd   int8
	ItlcRegionCode int16
	ItlcSysFlags   int16
	ItlcReserved4  [32]int8
}

type LocalDateTime

type LocalDateTime struct {
	HighSeconds uint16
	LowSeconds  uint
	Fraction    uint16
}

type LocaleAndVariant

type LocaleAndVariant struct {
	Locale    unsafe.Pointer
	OpVariant uint
}

type MIDIDataChunk

type MIDIDataChunk struct {
	CkID     uint
	CkSize   int
	MIDIdata [1]uint8
}

type MPAddressSpaceInfo

type MPAddressSpaceInfo struct {
	Version   uint
	ProcessID unsafe.Pointer
	GroupID   unsafe.Pointer
	NTasks    uint
	Vsid      [16]uint
}

type MPCriticalRegionInfo

type MPCriticalRegionInfo struct {
	Version       uint
	ProcessID     unsafe.Pointer
	RegionName    uint
	NWaiting      uint
	WaitingTaskID unsafe.Pointer
	OwningTask    unsafe.Pointer
	Count         uint
}

type MPEventInfo

type MPEventInfo struct {
	Version       uint
	ProcessID     unsafe.Pointer
	EventName     uint
	NWaiting      uint
	WaitingTaskID unsafe.Pointer
	Events        uint
}

type MPNotificationInfo

type MPNotificationInfo struct {
	Version          uint
	ProcessID        unsafe.Pointer
	NotificationName uint
	QueueID          unsafe.Pointer
	P1               unsafe.Pointer
	P2               unsafe.Pointer
	P3               unsafe.Pointer
	EventID          unsafe.Pointer
	Events           uint
	SemaphoreID      unsafe.Pointer
}

type MPQueueInfo deprecated

type MPQueueInfo struct {
	Version       uint
	ProcessID     unsafe.Pointer
	QueueName     uint
	NWaiting      uint
	WaitingTaskID unsafe.Pointer
	NMessages     uint
	NReserved     uint
	P1            unsafe.Pointer
	P2            unsafe.Pointer
	P3            unsafe.Pointer
}

Deprecated: Deprecated

type MPSemaphoreInfo

type MPSemaphoreInfo struct {
	Version       uint
	ProcessID     unsafe.Pointer
	SemaphoreName uint
	NWaiting      uint
	WaitingTaskID unsafe.Pointer
	Maximum       uint
	Count         uint
}

type MPTaskInfo

type MPTaskInfo struct {
	Version        uint
	Name           uint
	QueueName      uint
	RunState       uint16
	LastCPU        uint16
	Weight         uint
	ProcessID      unsafe.Pointer
	CpuTime        unsafe.Pointer
	SchedTime      unsafe.Pointer
	CreationTime   unsafe.Pointer
	CodePageFaults uint
	DataPageFaults uint
	Preemptions    uint
	CpuID          unsafe.Pointer
	BlockedObject  unsafe.Pointer
	SpaceID        unsafe.Pointer
	StackBase      unsafe.Pointer
	StackLimit     unsafe.Pointer
	StackCurr      unsafe.Pointer
}

type MPTaskInfoVersion2 deprecated

type MPTaskInfoVersion2 struct {
	Version        uint
	Name           uint
	QueueName      uint
	RunState       uint16
	LastCPU        uint16
	Weight         uint
	ProcessID      unsafe.Pointer
	CpuTime        unsafe.Pointer
	SchedTime      unsafe.Pointer
	CreationTime   unsafe.Pointer
	CodePageFaults uint
	DataPageFaults uint
	Preemptions    uint
	CpuID          unsafe.Pointer
}

Deprecated: Deprecated

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 MachineInformation

type MachineInformation struct {
}

type MachineInformationPowerPC

type MachineInformationPowerPC struct {
	CTR        unsafe.Pointer
	LR         unsafe.Pointer
	PC         unsafe.Pointer
	CRRegister uint
	XER        uint
	MSR        uint
	MQ         uint
	ExceptKind uint
	DSISR      uint
	DAR        unsafe.Pointer
	Reserved   unsafe.Pointer
}

type MachineLocation

type MachineLocation struct {
	Latitude  int
	Longitude int
	U         unsafe.Pointer
}

type Marker

type Marker struct {
	Id         int16
	Position   uint
	MarkerName [256]uint8
}

type MarkerChunk

type MarkerChunk struct {
	CkID       uint
	CkSize     int
	NumMarkers uint16
	Markers    [1]Marker
}

type MemoryExceptionInformation deprecated

type MemoryExceptionInformation struct {
	TheArea      unsafe.Pointer
	TheAddress   unsafe.Pointer
	TheError     int
	TheReference uint
}

Deprecated: Deprecated

type MixedModeStateRecord

type MixedModeStateRecord struct {
	State1 uint
	State2 uint
	State3 uint
	State4 uint
}

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 NItl4Rec

type NItl4Rec struct {
	Flags           int16
	ResourceType    int
	ResourceNum     int16
	Version         int16
	Format          int16
	ResHeader       int16
	ResHeader2      int
	NumTables       int16
	MapOffset       int
	StrOffset       int
	FetchOffset     int
	UnTokenOffset   int
	DefPartsOffset  int
	WhtSpListOffset int
	ResOffset7      int
	ResOffset8      int
	ResLength1      int16
	ResLength2      int16
	ResLength3      int16
	UnTokenLength   int16
	DefPartsLength  int16
	WhtSpListLength int16
	ResLength7      int16
	ResLength8      int16
}

type NumFormatString

type NumFormatString struct {
	FLength  uint8
	FVersion uint8
	Data     [254]int8
}

type NumberParts

type NumberParts struct {
	Version     int16
	Data        [31]unsafe.Pointer
	PePlus      WideCharArr
	PeMinus     WideCharArr
	PeMinusPlus WideCharArr
	AltNumTable WideCharArr
	Reserved    [20]int8
}

type OffPair

type OffPair struct {
	OffFirst  int16
	OffSecond int16
}

type OpaqueAreaID

type OpaqueAreaID struct{}

OpaqueAreaID is an opaque type.

type OpaqueCollatorRef

type OpaqueCollatorRef struct{}

OpaqueCollatorRef is an opaque type.

type OpaqueCollection

type OpaqueCollection struct{}

OpaqueCollection is an opaque type.

type OpaqueFNSubscriptionRef

type OpaqueFNSubscriptionRef struct{}

OpaqueFNSubscriptionRef is an opaque type.

type OpaqueFSIterator

type OpaqueFSIterator struct{}

OpaqueFSIterator is an opaque type.

type OpaqueFSVolumeOperation

type OpaqueFSVolumeOperation struct{}

OpaqueFSVolumeOperation is an opaque type.

type OpaqueLocaleRef

type OpaqueLocaleRef struct{}

OpaqueLocaleRef is an opaque type.

type OpaqueMPAddressSpaceID

type OpaqueMPAddressSpaceID struct{}

OpaqueMPAddressSpaceID is an opaque type.

type OpaqueMPAreaID

type OpaqueMPAreaID struct{}

OpaqueMPAreaID is an opaque type.

type OpaqueMPCoherenceID

type OpaqueMPCoherenceID struct{}

OpaqueMPCoherenceID is an opaque type.

type OpaqueMPConsoleID

type OpaqueMPConsoleID struct{}

OpaqueMPConsoleID is an opaque type.

type OpaqueMPCpuID

type OpaqueMPCpuID struct{}

OpaqueMPCpuID is an opaque type.

type OpaqueMPCriticalRegionID

type OpaqueMPCriticalRegionID struct{}

OpaqueMPCriticalRegionID is an opaque type.

type OpaqueMPEventID

type OpaqueMPEventID struct{}

OpaqueMPEventID is an opaque type.

type OpaqueMPNotificationID

type OpaqueMPNotificationID struct{}

OpaqueMPNotificationID is an opaque type.

type OpaqueMPOpaqueID

type OpaqueMPOpaqueID struct{}

OpaqueMPOpaqueID is an opaque type.

type OpaqueMPProcessID deprecated

type OpaqueMPProcessID struct{}

Deprecated: Deprecated OpaqueMPProcessID is an opaque type.

type OpaqueMPQueueID

type OpaqueMPQueueID struct{}

OpaqueMPQueueID is an opaque type.

type OpaqueMPSemaphoreID

type OpaqueMPSemaphoreID struct{}

OpaqueMPSemaphoreID is an opaque type.

type OpaqueMPTaskID

type OpaqueMPTaskID struct{}

OpaqueMPTaskID is an opaque type.

type OpaqueMPTimerID

type OpaqueMPTimerID struct{}

OpaqueMPTimerID is an opaque type.

type OpaqueTECObjectRef

type OpaqueTECObjectRef struct{}

OpaqueTECObjectRef is an opaque type.

type OpaqueTECSnifferObjectRef

type OpaqueTECSnifferObjectRef struct{}

OpaqueTECSnifferObjectRef is an opaque type.

type OpaqueTextBreakLocatorRef

type OpaqueTextBreakLocatorRef struct{}

OpaqueTextBreakLocatorRef is an opaque type.

type OpaqueTextToUnicodeInfo

type OpaqueTextToUnicodeInfo struct{}

OpaqueTextToUnicodeInfo is an opaque type.

type OpaqueUCTypeSelectRef

type OpaqueUCTypeSelectRef struct{}

OpaqueUCTypeSelectRef is an opaque type.

type OpaqueUnicodeToTextInfo

type OpaqueUnicodeToTextInfo struct{}

OpaqueUnicodeToTextInfo is an opaque type.

type OpaqueUnicodeToTextRunInfo

type OpaqueUnicodeToTextRunInfo struct{}

OpaqueUnicodeToTextRunInfo 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 PEFContainerHeader

type PEFContainerHeader struct {
	Tag1             uint
	Tag2             uint
	Architecture     uint
	FormatVersion    uint
	DateTimeStamp    uint
	OldDefVersion    uint
	OldImpVersion    uint
	CurrentVersion   uint
	SectionCount     uint16
	InstSectionCount uint16
	ReservedA        uint
}

type PEFExportedSymbol

type PEFExportedSymbol struct {
	ClassAndName uint
	SymbolValue  uint
	SectionIndex int16
}

type PEFExportedSymbolHashSlot

type PEFExportedSymbolHashSlot struct {
	CountAndStart uint
}

type PEFExportedSymbolKey

type PEFExportedSymbolKey struct {
	U unsafe.Pointer
}

type PEFImportedLibrary

type PEFImportedLibrary struct {
	NameOffset          uint
	OldImpVersion       uint
	CurrentVersion      uint
	ImportedSymbolCount uint
	FirstImportedSymbol uint
	Options             uint8
	ReservedA           uint8
	ReservedB           uint16
}

type PEFImportedSymbol

type PEFImportedSymbol struct {
	ClassAndName uint
}

type PEFLoaderInfoHeader

type PEFLoaderInfoHeader struct {
	MainSection              int
	MainOffset               uint
	InitSection              int
	InitOffset               uint
	TermSection              int
	TermOffset               uint
	ImportedLibraryCount     uint
	TotalImportedSymbolCount uint
	RelocSectionCount        uint
	RelocInstrOffset         uint
	LoaderStringsOffset      uint
	ExportHashOffset         uint
	ExportHashTablePower     uint
	ExportedSymbolCount      uint
}

type PEFLoaderRelocationHeader

type PEFLoaderRelocationHeader struct {
	SectionIndex     uint16
	ReservedA        uint16
	RelocCount       uint
	FirstRelocOffset uint
}

type PEFSectionHeader

type PEFSectionHeader struct {
	NameOffset      int
	DefaultAddress  uint
	TotalLength     uint
	UnpackedLength  uint
	ContainerLength uint
	ContainerOffset uint
	SectionKind     uint8
	ShareKind       uint8
	Alignment       uint8
	ReservedA       uint8
}

type PEFSplitHashWord

type PEFSplitHashWord struct {
	NameLength uint16
	HashValue  uint16
}

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 QElem deprecated

type QElem struct {
	QLink *QElem
	QType int16
	QData [1]int16
}

Deprecated: Deprecated

type QHdr

type QHdr struct {
	QFlags unsafe.Pointer
	QHead  unsafe.Pointer
	QTail  unsafe.Pointer
}

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 RegisterInformation

type RegisterInformation struct {
}

type RegisteredComponentInstanceRecord

type RegisteredComponentInstanceRecord struct {
	Data [1]int
}

type RegisteredComponentRecord

type RegisteredComponentRecord struct {
	Data [1]int
}

type ResourceSpec

type ResourceSpec struct {
	ResType uint
	ResID   int16
}

type RoutineDescriptor deprecated

type RoutineDescriptor struct {
	GoMixedModeTrap        uint16
	Version                int8
	RoutineDescriptorFlags uint8
	Reserved1              uint
	Reserved2              uint8
	SelectorInfo           uint8
	RoutineCount           uint16
	RoutineRecords         [1]RoutineRecord
}

Deprecated: Deprecated

type RoutineRecord deprecated

type RoutineRecord struct {
	ProcInfo       uint
	Reserved1      int8
	ISA            int8
	RoutineFlags   uint16
	ProcDescriptor unsafe.Pointer
	Reserved2      uint
	Selector       uint
}

Deprecated: Deprecated

type RoutingResourceEntry

type RoutingResourceEntry struct {
	Creator           uint
	FileType          uint
	TargetFolder      uint
	DestinationFolder uint
	ReservedField     uint
}

type RuleBasedTrslRecord

type RuleBasedTrslRecord struct {
	SourceType    int16
	TargetType    int16
	FormatNumber  int16
	PropertyFlag  int16
	NumberOfRules int16
}

type SchedulerInfoRec deprecated

type SchedulerInfoRec struct {
	InfoRecSize             uint
	CurrentThreadID         uint
	SuggestedThreadID       uint
	InterruptedCoopThreadID uint
}

Deprecated: Deprecated

type ScriptCodeRun

type ScriptCodeRun struct {
	Offset uint
	Script int16
}

type SoundDataChunk

type SoundDataChunk struct {
	CkID      uint
	CkSize    int
	Offset    uint
	BlockSize uint
}

type TECBufferContextRec

type TECBufferContextRec struct {
	TextInputBuffer         *uint8
	TextInputBufferEnd      *uint8
	TextOutputBuffer        *uint8
	TextOutputBufferEnd     *uint8
	EncodingInputBuffer     *TextEncodingRun
	EncodingInputBufferEnd  *TextEncodingRun
	EncodingOutputBuffer    *TextEncodingRun
	EncodingOutputBufferEnd *TextEncodingRun
}

type TECConversionInfo

type TECConversionInfo struct {
	SourceEncoding      uint
	DestinationEncoding uint
	Reserved1           uint16
	Reserved2           uint16
}

type TECConverterContextRec

type TECConverterContextRec struct {
	PluginRec            string
	SourceEncoding       uint
	DestEncoding         uint
	Reserved1            uint
	Reserved2            uint
	BufferContext        TECBufferContextRec
	ContextRefCon        unsafe.Pointer
	ConversionProc       unsafe.Pointer
	FlushProc            unsafe.Pointer
	ClearContextInfoProc unsafe.Pointer
	Options1             uint
	Options2             uint
	PluginState          TECPluginStateRec
}

type TECEncodingPairRec

type TECEncodingPairRec struct {
	Source TextEncodingRec
	Dest   TextEncodingRec
}

type TECEncodingPairs

type TECEncodingPairs struct {
	EncodingPair TECEncodingPairRec
	Flags        uint
	Speed        uint
}

type TECEncodingPairsRec

type TECEncodingPairsRec struct {
	Count         uint
	EncodingPairs TECEncodingPairs
}

type TECEncodingsListRec

type TECEncodingsListRec struct {
	Count     uint
	Encodings TextEncodingRec
}

type TECInfo

type TECInfo struct {
	Format                      uint16
	TecVersion                  uint16
	TecTextConverterFeatures    uint
	TecUnicodeConverterFeatures uint
	TecTextCommonFeatures       uint
	TecTextEncodingsFolderName  [32]uint8
	TecExtensionFileName        [32]uint8
	TecLowestTEFileVersion      uint16
	TecHighestTEFileVersion     uint16
}

type TECInternetNameRec

type TECInternetNameRec struct {
	Offset             uint
	SearchEncoding     TextEncodingRec
	EncodingNameLength uint8
	EncodingName       [1]uint8
}

type TECInternetNamesRec

type TECInternetNamesRec struct {
	Count         uint
	InternetNames TECInternetNameRec
}

type TECLocaleListToEncodingListRec

type TECLocaleListToEncodingListRec struct {
	Offset  uint
	Count   uint
	Locales int16
}

type TECLocaleToEncodingsListRec

type TECLocaleToEncodingsListRec struct {
	Count                    uint
	LocaleListToEncodingList TECLocaleListToEncodingListRec
}

type TECPluginDispatchTable

type TECPluginDispatchTable struct {
	Version                                  uint
	CompatibleVersion                        uint
	PluginID                                 uint
	PluginNewEncodingConverter               unsafe.Pointer
	PluginClearContextInfo                   unsafe.Pointer
	PluginConvertTextEncoding                unsafe.Pointer
	PluginFlushConversion                    unsafe.Pointer
	PluginDisposeEncodingConverter           unsafe.Pointer
	PluginNewEncodingSniffer                 unsafe.Pointer
	PluginClearSnifferContextInfo            unsafe.Pointer
	PluginSniffTextEncoding                  unsafe.Pointer
	PluginDisposeEncodingSniffer             unsafe.Pointer
	PluginGetCountAvailableTextEncodings     unsafe.Pointer
	PluginGetCountAvailableTextEncodingPairs unsafe.Pointer
	PluginGetCountDestinationTextEncodings   unsafe.Pointer
	PluginGetCountSubTextEncodings           unsafe.Pointer
	PluginGetCountAvailableSniffers          unsafe.Pointer
	PluginGetCountWebTextEncodings           unsafe.Pointer
	PluginGetCountMailTextEncodings          unsafe.Pointer
	PluginGetTextEncodingInternetName        unsafe.Pointer
	PluginGetTextEncodingFromInternetName    unsafe.Pointer
}

type TECPluginStateRec

type TECPluginStateRec struct {
	State1     uint8
	State2     uint8
	State3     uint8
	State4     uint8
	LongState1 uint
	LongState2 uint
	LongState3 uint
	LongState4 uint
}

type TECSnifferContextRec

type TECSnifferContextRec struct {
	PluginRec            string
	Encoding             uint
	MaxErrors            uint
	MaxFeatures          uint
	TextInputBuffer      *uint8
	TextInputBufferEnd   *uint8
	NumFeatures          uint
	NumErrors            uint
	ContextRefCon        unsafe.Pointer
	SniffProc            unsafe.Pointer
	ClearContextInfoProc unsafe.Pointer
	PluginState          TECPluginStateRec
}

type TECSubTextEncodingRec

type TECSubTextEncodingRec struct {
	Offset         uint
	SearchEncoding TextEncodingRec
	Count          uint
	SubEncodings   TextEncodingRec
}

type TECSubTextEncodingsRec

type TECSubTextEncodingsRec struct {
	Count              uint
	SubTextEncodingRec TECSubTextEncodingRec
}

type TMTask

type TMTask struct {
	QLink      *QElem
	QType      int16
	TmAddr     unsafe.Pointer
	TmCount    int
	TmWakeUp   int
	TmReserved int
}

type TableDirectoryRecord

type TableDirectoryRecord struct {
	TableSignature   uint
	Reserved         uint
	TableStartOffset uint
	TableSize        uint
}

type TextChunk

type TextChunk struct {
	CkID   uint
	CkSize int
	Text   [1]int8
}

type TextEncodingRec

type TextEncodingRec struct {
	Base    uint
	Variant uint
	Format  uint
}

type TextEncodingRun

type TextEncodingRun struct {
	Offset       uint
	TextEncoding uint
}

type TogglePB

type TogglePB struct {
	TogFlags int
	AmChars  uint
	PmChars  uint
	Reserved [4]int
}

type TokenBlock deprecated

type TokenBlock struct {
	Source         string
	SourceLength   int
	TokenList      string
	TokenLength    int
	TokenCount     int
	StringList     string
	StringLength   int
	StringCount    int
	DoString       uint8
	DoAppend       uint8
	DoAlphanumeric uint8
	DoNest         uint8
	LeftDelims     [2]int16
	RightDelims    [2]int16
	LeftComment    [4]int16
	RightComment   [4]int16
	EscapeCode     int16
	DecimalCode    int16
	ItlResource    *string
	Reserved       [8]int
}

Deprecated: Deprecated

type TokenRec deprecated

type TokenRec struct {
	TheToken       int16
	Position       string
	Length         int
	StringPosition *uint8
}

Deprecated: Deprecated

type UCKeyLayoutFeatureInfo

type UCKeyLayoutFeatureInfo struct {
	KeyLayoutFeatureInfoFormat uint16
	Reserved                   uint16
	MaxOutputStringLength      uint
}

type UCKeyModifiersToTableNum

type UCKeyModifiersToTableNum struct {
	KeyModifiersToTableNumFormat uint16
	DefaultTableNum              uint16
	ModifiersCount               uint
	TableNum                     [1]uint8
}

type UCKeySequenceDataIndex

type UCKeySequenceDataIndex struct {
	KeySequenceDataIndexFormat uint16
	CharSequenceCount          uint16
	CharSequenceOffsets        [1]uint16
}

type UCKeyStateEntryRange

type UCKeyStateEntryRange struct {
	CurStateStart   uint16
	CurStateRange   uint8
	DeltaMultiplier uint8
	CharData        uint16
	NextState       uint16
}

type UCKeyStateEntryTerminal

type UCKeyStateEntryTerminal struct {
	CurState uint16
	CharData uint16
}

type UCKeyStateRecord

type UCKeyStateRecord struct {
	StateZeroCharData  uint16
	StateZeroNextState uint16
	StateEntryCount    uint16
	StateEntryFormat   uint16
	StateEntryData     [1]uint
}

type UCKeyStateRecordsIndex

type UCKeyStateRecordsIndex struct {
	KeyStateRecordsIndexFormat uint16
	KeyStateRecordCount        uint16
	KeyStateRecordOffsets      [1]uint
}

type UCKeyStateTerminators

type UCKeyStateTerminators struct {
	KeyStateTerminatorsFormat uint16
	KeyStateTerminatorCount   uint16
	KeyStateTerminators       [1]uint16
}

type UCKeyToCharTableIndex

type UCKeyToCharTableIndex struct {
	KeyToCharTableIndexFormat uint16
	KeyToCharTableSize        uint16
	KeyToCharTableCount       uint
	KeyToCharTableOffsets     [1]uint
}

type UCKeyboardLayout

type UCKeyboardLayout struct {
	KeyLayoutHeaderFormat      uint16
	KeyLayoutDataVersion       uint16
	KeyLayoutFeatureInfoOffset uint
	KeyboardTypeCount          uint
	KeyboardTypeList           [1]UCKeyboardTypeHeader
}

type UCKeyboardTypeHeader

type UCKeyboardTypeHeader struct {
	KeyboardTypeFirst            uint
	KeyboardTypeLast             uint
	KeyModifiersToTableNumOffset uint
	KeyToCharTableIndexOffset    uint
	KeyStateRecordsIndexOffset   uint
	KeyStateTerminatorsOffset    uint
	KeySequenceDataIndexOffset   uint
}

type UTCDateTime deprecated

type UTCDateTime struct {
	HighSeconds uint16
	LowSeconds  uint
	Fraction    uint16
}

Deprecated: Deprecated

type UnicodeMapping

type UnicodeMapping struct {
	UnicodeEncoding uint
	OtherEncoding   uint
	MappingVersion  int
}

type UntokenTable

type UntokenTable struct {
	Len       int16
	LastToken int16
	Index     [256]int16
}

type VectorInformation

type VectorInformation struct {
}

type VectorInformationPowerPC

type VectorInformationPowerPC struct {
	Registers [32]unsafe.Pointer
	VSCR      unsafe.Pointer
	VRsave    uint
}

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 VolMountInfoHeader

type VolMountInfoHeader struct {
	Length int16
	Media  uint
}

type VolumeMountInfoHeader

type VolumeMountInfoHeader struct {
	Length int16
	Media  uint
	Flags  int16
}

type WideCharArr

type WideCharArr struct {
	Size int16
	Data [10]unsafe.Pointer
}

type XLibContainerHeader

type XLibContainerHeader struct {
	Tag1                   uint
	Tag2                   uint
	CurrentFormat          uint
	ContainerStringsOffset uint
	ExportHashOffset       uint
	ExportKeyOffset        uint
	ExportSymbolOffset     uint
	ExportNamesOffset      uint
	ExportHashTablePower   uint
	ExportedSymbolCount    uint
	FragNameOffset         uint
	FragNameLength         uint
	DylibPathOffset        uint
	DylibPathLength        uint
	CpuFamily              uint
	CpuModel               uint
	DateTimeStamp          uint
	CurrentVersion         uint
	OldDefVersion          uint
	OldImpVersion          uint
}

type XLibExportedSymbol

type XLibExportedSymbol struct {
	ClassAndName uint
	BpOffset     uint
}

Jump to

Keyboard shortcuts

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