2000-12-12 22:08:00 +00:00
|
|
|
# Generated from 'Macintosh HD:SWDev:Metrowerks Codewarrior 6.0:Metrowerks CodeWarrior:MacOS Support:Universal:Interfaces:CIncludes:Components.h'
|
1995-11-30 15:03:09 +00:00
|
|
|
|
1998-02-20 15:54:44 +00:00
|
|
|
def FOUR_CHAR_CODE(x): return x
|
|
|
|
kAppleManufacturer = FOUR_CHAR_CODE('appl')
|
|
|
|
kComponentResourceType = FOUR_CHAR_CODE('thng')
|
2000-12-12 22:08:00 +00:00
|
|
|
kComponentAliasResourceType = FOUR_CHAR_CODE('thga')
|
1995-11-30 15:03:09 +00:00
|
|
|
kAnyComponentType = 0
|
|
|
|
kAnyComponentSubType = 0
|
|
|
|
kAnyComponentManufacturer = 0
|
|
|
|
kAnyComponentFlagsMask = 0
|
2000-12-12 22:08:00 +00:00
|
|
|
cmpIsMissing = 1L << 29
|
1995-11-30 15:03:09 +00:00
|
|
|
cmpWantsRegisterMessage = 1L << 31
|
|
|
|
kComponentOpenSelect = -1
|
|
|
|
kComponentCloseSelect = -2
|
|
|
|
kComponentCanDoSelect = -3
|
|
|
|
kComponentVersionSelect = -4
|
|
|
|
kComponentRegisterSelect = -5
|
|
|
|
kComponentTargetSelect = -6
|
|
|
|
kComponentUnregisterSelect = -7
|
1997-02-24 13:52:56 +00:00
|
|
|
kComponentGetMPWorkFunctionSelect = -8
|
2000-12-12 22:08:00 +00:00
|
|
|
kComponentExecuteWiredActionSelect = -9
|
|
|
|
kComponentGetPublicResourceSelect = -10
|
1999-12-14 15:44:53 +00:00
|
|
|
componentDoAutoVersion = (1 << 0)
|
|
|
|
componentWantsUnregister = (1 << 1)
|
|
|
|
componentAutoVersionIncludeFlags = (1 << 2)
|
|
|
|
componentHasMultiplePlatforms = (1 << 3)
|
|
|
|
componentLoadResident = (1 << 4)
|
1995-11-30 15:03:09 +00:00
|
|
|
defaultComponentIdentical = 0
|
|
|
|
defaultComponentAnyFlags = 1
|
|
|
|
defaultComponentAnyManufacturer = 2
|
|
|
|
defaultComponentAnySubType = 4
|
1999-12-14 15:44:53 +00:00
|
|
|
defaultComponentAnyFlagsAnyManufacturer = (defaultComponentAnyFlags + defaultComponentAnyManufacturer)
|
|
|
|
defaultComponentAnyFlagsAnyManufacturerAnySubType = (defaultComponentAnyFlags + defaultComponentAnyManufacturer + defaultComponentAnySubType)
|
1995-11-30 15:03:09 +00:00
|
|
|
registerComponentGlobal = 1
|
|
|
|
registerComponentNoDuplicates = 2
|
|
|
|
registerComponentAfterExisting = 4
|
1998-04-21 15:21:52 +00:00
|
|
|
registerComponentAliasesOnly = 8
|
|
|
|
platform68k = 1
|
|
|
|
platformPowerPC = 2
|
|
|
|
platformInterpreted = 3
|
|
|
|
platformWin32 = 4
|
2000-12-12 22:08:00 +00:00
|
|
|
platformPowerPCNativeEntryPoint = 5
|
1999-12-14 15:44:53 +00:00
|
|
|
mpWorkFlagDoWork = (1 << 0)
|
|
|
|
mpWorkFlagDoCompletion = (1 << 1)
|
|
|
|
mpWorkFlagCopyWorkBlock = (1 << 2)
|
|
|
|
mpWorkFlagDontBlock = (1 << 3)
|
|
|
|
mpWorkFlagGetProcessorCount = (1 << 4)
|
|
|
|
mpWorkFlagGetIsRunning = (1 << 6)
|
2000-12-12 22:08:00 +00:00
|
|
|
cmpAliasNoFlags = 0
|
|
|
|
cmpAliasOnlyThisFile = 1
|
1997-02-24 13:52:56 +00:00
|
|
|
uppComponentFunctionImplementedProcInfo = 0x000002F0
|
|
|
|
uppGetComponentVersionProcInfo = 0x000000F0
|
|
|
|
uppComponentSetTargetProcInfo = 0x000003F0
|
|
|
|
uppCallComponentOpenProcInfo = 0x000003F0
|
|
|
|
uppCallComponentCloseProcInfo = 0x000003F0
|
|
|
|
uppCallComponentCanDoProcInfo = 0x000002F0
|
|
|
|
uppCallComponentVersionProcInfo = 0x000000F0
|
|
|
|
uppCallComponentRegisterProcInfo = 0x000000F0
|
|
|
|
uppCallComponentTargetProcInfo = 0x000003F0
|
|
|
|
uppCallComponentUnregisterProcInfo = 0x000000F0
|
|
|
|
uppCallComponentGetMPWorkFunctionProcInfo = 0x00000FF0
|
2000-12-12 22:08:00 +00:00
|
|
|
uppCallComponentGetPublicResourceProcInfo = 0x00003BF0
|