|
Mac OS 9
|
Interfacer for PCCard Manager 3.0. More...
Go to the source code of this file.
Data Structures | |
| struct | PCCardEnablerPluginHeader |
| struct | PCCardEnablerPluginDispatchTable |
| struct | PCCardCustomResource |
Typedefs | |
| typedef OSType | PCDeviceType |
| typedef UInt32 | PCCardMemoryType |
| typedef OSType | PCCardArchitectureType |
| typedef Boolean | replacingOld |
| typedef Boolean | beingReplaced |
| typedef PCCardPowerOptions | powerLevel |
| typedef PCCardEvent | theEvent |
| typedef PCCardDevType * | cardType |
| typedef PCCardDevType PCCardSubType * | cardSubType |
| typedef PCCardDevType PCCardSubType StringPtr | cardName |
| typedef PCCardDevType PCCardSubType StringPtr StringPtr | vendorName |
| typedef ItemCount * | numberOfDevices |
| typedef UInt32 | deviceNumber |
| typedef UInt32 char * | deviceName |
| typedef UInt32 | socketNumber |
| typedef UInt32 UInt32 char * | name |
| typedef UInt32 UInt32 PCDeviceType * | lpDeviceType |
| typedef UInt32 | device |
| typedef UInt32 const RegEntryID * | deviceRef |
| typedef UInt32 UInt32 * | lpCISChainCount |
| typedef UInt32 PCCardTupleIterator | lpTupleIterator |
| typedef UInt32 PCCardTupleIterator Byte | desiredTuple |
| typedef UInt32 PCCardTupleIterator Byte void * | lptupleData |
| typedef UInt32 PCCardTupleIterator Byte void UInt32 * | lpTupleBufferSize |
| typedef UInt32 PCCardTupleIterator Byte void UInt32 Byte * | lpFoundTuple |
| typedef struct PCCardEnablerPluginHeader | PCCardEnablerPluginHeader |
| typedef struct PCCardEnablerPluginDispatchTable | PCCardEnablerPluginDispatchTable |
| typedef PCCardEnablerPluginDispatchTable * | PCCardEnablerPluginDispatchTablePtr |
| typedef struct PCCardCustomResource | PCCardCustomResource |
Functions | |
| OSStatus | CSGetCardServicesInfo (UInt32 *socketCount, UInt32 *complianceLevel, UInt32 *version) |
| OSStatus | CSGetFirstTuple (PCCardSocket socket, UInt32 device, PCCardTupleIterator tupleIterator, Byte desiredTuple, void *tupleData, ByteCount *tupleBufferSize, Byte *foundTuple) |
| OSStatus | CSGetNextTuple (PCCardTupleIterator tupleIterator, Byte desiredTuple, void *tupleData, ByteCount *tupleBufferSize, Byte *foundTuple) |
| OSStatus | CSRequestWindow (PCCardSocket vSocket, UInt32 device, PCCardWindowAttributes windowAttributes, PCCardAccessSpeed windowSpeed, LogicalAddress *windowBase, PCCardWindowSize *windowSize, PCCardWindowOffset *windowOffset, PCCardWindowID *requestedWindow) |
| OSStatus | CSReleaseWindow (PCCardWindowID windowToRelease) |
| OSStatus | CSModifyWindow (PCCardWindowID windowToModify, PCCardWindowType windowAttributes, PCCardAccessSpeed memorySpeed, PCCardWindowOffset *windowOffset) |
| OSStatus | CSGetWindowBaseAddress (PCCardWindowID window, LogicalAddress *baseAddress) |
| OSStatus | CSInquireWindow (PCCardSocket vSocket, UInt32 device, PCCardWindowID windowID, PCCardWindowAttributes *windowAttributes, PCCardAccessSpeed *windowParam, UInt32 *windowBase, PCCardWindowSize *windowSize, PCCardWindowOffset *windowOffset) |
| OSStatus | CSValidateCIS (PCCardSocket vSocket, UInt32 device, UInt32 *cisChainCount) |
| OSStatus | CSGetDeviceCount (PCCardSocket vSocket, UInt32 *deviceCount) |
| OSStatus | CSGetStatus (PCCardSocket vSocket, UInt32 *currentState, UInt32 *changedState, PCCardVoltage *Vcc, PCCardVoltage *Vpp) |
| OSStatus | CSRequestConfiguration (PCCardSocket vSocket, UInt32 device, PCCardConfigOptions configOptions, PCCardInterfaceType socketInterface, PCCardCustomInterfaceID customInterface, PCCardVoltage vcc, PCCardVoltage vpp, PCCardIRQ IRQ, PCCardDMA DMA, UInt32 configRegBaseAddress, PCCardConfigPresentMask configRegPresentMask, PCCardFunctionConfigReg *configReg) |
| OSStatus | CSModifyConfiguration (PCCardSocket vSocket, UInt32 device, PCCardConfigOptions modifyAttributes, PCCardIRQ IRQ, PCCardDMA DMA, PCCardVoltage Vpp) |
| OSStatus | CSReleaseConfiguration (PCCardSocket vSocket, UInt32 device) |
| OSStatus | CSSetRingIndicate (PCCardSocket vSocket, Boolean setRingIndicate) |
| OSStatus | CSResetFunction (PCCardSocket vSocket, UInt32 device) |
| OSStatus | CSReadConfigurationRegister (PCCardSocket vSocket, UInt32 device, PCCardConfigPresentMask whichRegister, UInt32 configRegBaseAddress, UInt8 *registerValue) |
| OSStatus | CSWriteConfigurationRegister (PCCardSocket vSocket, UInt32 device, PCCardConfigPresentMask whichRegister, UInt32 configRegBaseAddress, UInt8 registerValue) |
| OSStatus | CSRegisterClient (PCCardSocket vSocket, PCCardEventMask eventMask, PCCardEventHandler clientCallBack, void *clientParam, PCCardClientID *newClientID) |
| OSStatus | CSDeRegisterClient (PCCardClientID theClientID) |
| OSStatus | CSSetEventMask (PCCardClientID theClientID, PCCardEventMask newEventMask) |
| OSStatus | CSGetEventMask (PCCardClientID theClientID, PCCardEventMask *newEventMask) |
| OSStatus | CSRegisterTimer (PCCardClientID registeredClientID, PCCardTimerID *lpNewTimerID, long delay) |
| OSStatus | CSDeRegisterTimer (PCCardTimerID timerID) |
| OSStatus | CSReadCardBusConfigSpace (PCCardSocket vSocket, UInt32 device, UInt32 configOffset, Byte *data, UInt32 dataSize) |
| OSStatus | CSWriteCardBusConfigSpace (PCCardSocket vSocket, UInt32 device, UInt32 configOffset, Byte *data, UInt32 dataSize) |
| typedef | CALLBACK_API_C (OSStatus, CEValidateHardwareProc)(const RegEntryID *cardRef) |
| typedef | CALLBACK_API_C (OSStatus, CEInitializeProc)(const RegEntryID *cardRef |
| typedef | CALLBACK_API_C (OSStatus, CECleanupProc)(const RegEntryID *cardRef |
| typedef | CALLBACK_API_C (OSStatus, CEPowerManagementProc)(const RegEntryID *lpCardEntry |
| typedef | CALLBACK_API_C (OSStatus, CEHandleEventProc)(const RegEntryID *cardRef |
| typedef | CALLBACK_API_C (OSStatus, CEGetCardInfoProc)(const RegEntryID *cardRef |
| typedef | CALLBACK_API_C (OSStatus, CEAddCardPropertiesProc)(const RegEntryID *cardRef) |
| typedef | CALLBACK_API_C (OSStatus, CEGetDeviceCountProc)(const RegEntryID *cardRef |
| typedef | CALLBACK_API_C (OSStatus, CEGetDeviceNameProc)(UInt32 socketNumber |
| typedef | CALLBACK_API_C (OSStatus, CEGetDeviceCompatibleProc)(const RegEntryID *deviceRef |
| typedef | CALLBACK_API_C (OSStatus, CEGetDeviceTypeProc)(const RegEntryID *deviceRef |
| typedef | CALLBACK_API_C (OSStatus, CEGetDeviceTypeNameProc)(const RegEntryID *deviceRef |
| typedef | CALLBACK_API_C (OSStatus, CEAddDevicePropertiesProc)(const RegEntryID *deviceRef |
| typedef | CALLBACK_API_C (OSStatus, CEConfigureDeviceProc)(const RegEntryID *deviceRef |
| typedef | CALLBACK_API_C (OSStatus, CEFinalizeDeviceProc)(UInt32 socket |
| typedef | CALLBACK_API_C (OSStatus, CEValidateCISProc)(UInt32 socket |
| typedef | CALLBACK_API_C (OSStatus, CEGetFirstTupleProc)(UInt32 socket |
| typedef | CALLBACK_API_C (OSStatus, CEGetNextTupleProc)(PCCardTupleIterator lpTupleIterator |
| OSStatus | CEInitializeCard (const RegEntryID *cardRef, Boolean replacingOld) |
| OSStatus | CEFinalizeCard (const RegEntryID *cardRef, Boolean beingReplaced) |
| OSStatus | CEPowerManagement (const RegEntryID *lpParentID, PCCardPowerOptions powerLevel) |
| OSStatus | CEHandleCardEvent (const RegEntryID *cardRef, PCCardEvent lTheCardEvent) |
| OSStatus | CEGetCardInfo (const RegEntryID *cardRef, PCCardDevType *cardType, PCCardSubType *cardSubType, StringPtr cardName, StringPtr vendorName) |
| OSStatus | CEAddCardProperties (const RegEntryID *cardRef) |
| OSStatus | CEGetDeviceCount (const RegEntryID *cardRef, ItemCount *numberOfDevices) |
| OSStatus | CEGetDeviceName (UInt32 socketNumber, UInt32 deviceNumber, char *deviceName) |
| OSStatus | CEGetDeviceCompatibleNames (const RegEntryID *deviceRef, UInt32 socketNumber, UInt32 deviceNumber, char *name) |
| OSStatus | CEGetDeviceType (const RegEntryID *deviceRef, UInt32 socketNumber, UInt32 deviceNumber, PCDeviceType *lpDeviceType) |
| OSStatus | CEGetDeviceTypeName (const RegEntryID *deviceRef, UInt32 socketNumber, UInt32 deviceNumber, char *name) |
| OSStatus | CEAddDeviceProperties (const RegEntryID *deviceRef, UInt32 deviceNumber) |
| OSStatus | CEConfigureDevice (const RegEntryID *deviceRef, UInt32 deviceNumber) |
| OSStatus | CEFinalizeDevice (UInt32 socket, UInt32 device, const RegEntryID *deviceRef) |
| OSStatus | CEGetSocketAndDeviceFromRegEntry (const RegEntryID *lpNode, UInt32 *lpSocket, UInt32 *lpDevice) |
| OSStatus | CEGetPhysicalSocketNumber (const RegEntryID *socketRef, const RegEntryID *lpDeviceEntry, UInt32 *lpPhysicalSocketNumber) |
| OSStatus | CECompareCISTPL_VERS_1 (const RegEntryID *cardRef, Byte majorVersion, Byte minorVersion, const char *manufacturer, const char *productName, const char *info1, const char *info2, Boolean *identical) |
| OSStatus | CECompareCISTPL_MANFID (const RegEntryID *cardRef, UInt16 manufacturerCode, UInt16 manufacturerInfo, Boolean *identical) |
| OSStatus | CECompareMemory (const RegEntryID *cardRef, PCCardMemoryType memType, ByteCount offset, ByteCount length, Byte *dataToCompare, Boolean *identical) |
| OSStatus | CEValidateCIS (UInt32 socket, UInt32 device, UInt32 *lpCISChainCount) |
| InterruptMemberNumber | CEDefaultInterruptHandler (InterruptSetMember ISTmember, void *refCon, UInt32 theIntCount) |
Interfacer for PCCard Manager 3.0.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| OSStatus CEAddCardProperties | ( | const RegEntryID * | cardRef | ) |
Availability:
| OSStatus CEAddDeviceProperties | ( | const RegEntryID * | deviceRef, |
| UInt32 | deviceNumber | ||
| ) |
Availability:
| OSStatus CECompareCISTPL_MANFID | ( | const RegEntryID * | cardRef, |
| UInt16 | manufacturerCode, | ||
| UInt16 | manufacturerInfo, | ||
| Boolean * | identical | ||
| ) |
Availability:
| OSStatus CECompareCISTPL_VERS_1 | ( | const RegEntryID * | cardRef, |
| Byte | majorVersion, | ||
| Byte | minorVersion, | ||
| const char * | manufacturer, | ||
| const char * | productName, | ||
| const char * | info1, | ||
| const char * | info2, | ||
| Boolean * | identical | ||
| ) |
Availability:
| OSStatus CECompareMemory | ( | const RegEntryID * | cardRef, |
| PCCardMemoryType | memType, | ||
| ByteCount | offset, | ||
| ByteCount | length, | ||
| Byte * | dataToCompare, | ||
| Boolean * | identical | ||
| ) |
Availability:
| OSStatus CEConfigureDevice | ( | const RegEntryID * | deviceRef, |
| UInt32 | deviceNumber | ||
| ) |
Availability:
| InterruptMemberNumber CEDefaultInterruptHandler | ( | InterruptSetMember | ISTmember, |
| void * | refCon, | ||
| UInt32 | theIntCount | ||
| ) |
Availability:
| OSStatus CEFinalizeCard | ( | const RegEntryID * | cardRef, |
| Boolean | beingReplaced | ||
| ) |
Availability:
| OSStatus CEFinalizeDevice | ( | UInt32 | socket, |
| UInt32 | device, | ||
| const RegEntryID * | deviceRef | ||
| ) |
Availability:
| OSStatus CEGetCardInfo | ( | const RegEntryID * | cardRef, |
| PCCardDevType * | cardType, | ||
| PCCardSubType * | cardSubType, | ||
| StringPtr | cardName, | ||
| StringPtr | vendorName | ||
| ) |
Availability:
| OSStatus CEGetDeviceCompatibleNames | ( | const RegEntryID * | deviceRef, |
| UInt32 | socketNumber, | ||
| UInt32 | deviceNumber, | ||
| char * | name | ||
| ) |
Availability:
| OSStatus CEGetDeviceCount | ( | const RegEntryID * | cardRef, |
| ItemCount * | numberOfDevices | ||
| ) |
Availability:
| OSStatus CEGetDeviceName | ( | UInt32 | socketNumber, |
| UInt32 | deviceNumber, | ||
| char * | deviceName | ||
| ) |
Availability:
| OSStatus CEGetDeviceType | ( | const RegEntryID * | deviceRef, |
| UInt32 | socketNumber, | ||
| UInt32 | deviceNumber, | ||
| PCDeviceType * | lpDeviceType | ||
| ) |
Availability:
| OSStatus CEGetDeviceTypeName | ( | const RegEntryID * | deviceRef, |
| UInt32 | socketNumber, | ||
| UInt32 | deviceNumber, | ||
| char * | name | ||
| ) |
Availability:
| OSStatus CEGetPhysicalSocketNumber | ( | const RegEntryID * | socketRef, |
| const RegEntryID * | lpDeviceEntry, | ||
| UInt32 * | lpPhysicalSocketNumber | ||
| ) |
Availability:
| OSStatus CEGetSocketAndDeviceFromRegEntry | ( | const RegEntryID * | lpNode, |
| UInt32 * | lpSocket, | ||
| UInt32 * | lpDevice | ||
| ) |
CEGetSocketAndDeviceFromRegEntry()
Availability:
| OSStatus CEHandleCardEvent | ( | const RegEntryID * | cardRef, |
| PCCardEvent | lTheCardEvent | ||
| ) |
Availability:
| OSStatus CEInitializeCard | ( | const RegEntryID * | cardRef, |
| Boolean | replacingOld | ||
| ) |
Availability:
| OSStatus CEPowerManagement | ( | const RegEntryID * | lpParentID, |
| PCCardPowerOptions | powerLevel | ||
| ) |
Availability:
| OSStatus CEValidateCIS | ( | UInt32 | socket, |
| UInt32 | device, | ||
| UInt32 * | lpCISChainCount | ||
| ) |
Availability:
| OSStatus CSDeRegisterClient | ( | PCCardClientID | theClientID | ) |
Availability:
| OSStatus CSDeRegisterTimer | ( | PCCardTimerID | timerID | ) |
Availability:
| OSStatus CSGetCardServicesInfo | ( | UInt32 * | socketCount, |
| UInt32 * | complianceLevel, | ||
| UInt32 * | version | ||
| ) |
NOTE: These prototypes conflict with CardServices.� You cannot use both PCCardEnablerPlugin.h and CardServices.h CSGetCardServicesInfo()
Availability:
| OSStatus CSGetDeviceCount | ( | PCCardSocket | vSocket, |
| UInt32 * | deviceCount | ||
| ) |
Availability:
| OSStatus CSGetEventMask | ( | PCCardClientID | theClientID, |
| PCCardEventMask * | newEventMask | ||
| ) |
Availability:
| OSStatus CSGetFirstTuple | ( | PCCardSocket | socket, |
| UInt32 | device, | ||
| PCCardTupleIterator | tupleIterator, | ||
| Byte | desiredTuple, | ||
| void * | tupleData, | ||
| ByteCount * | tupleBufferSize, | ||
| Byte * | foundTuple | ||
| ) |
Availability:
| OSStatus CSGetNextTuple | ( | PCCardTupleIterator | tupleIterator, |
| Byte | desiredTuple, | ||
| void * | tupleData, | ||
| ByteCount * | tupleBufferSize, | ||
| Byte * | foundTuple | ||
| ) |
Availability:
| OSStatus CSGetStatus | ( | PCCardSocket | vSocket, |
| UInt32 * | currentState, | ||
| UInt32 * | changedState, | ||
| PCCardVoltage * | Vcc, | ||
| PCCardVoltage * | Vpp | ||
| ) |
Availability:
| OSStatus CSGetWindowBaseAddress | ( | PCCardWindowID | window, |
| LogicalAddress * | baseAddress | ||
| ) |
Availability:
| OSStatus CSInquireWindow | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardWindowID | windowID, | ||
| PCCardWindowAttributes * | windowAttributes, | ||
| PCCardAccessSpeed * | windowParam, | ||
| UInt32 * | windowBase, | ||
| PCCardWindowSize * | windowSize, | ||
| PCCardWindowOffset * | windowOffset | ||
| ) |
Availability:
| OSStatus CSModifyConfiguration | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardConfigOptions | modifyAttributes, | ||
| PCCardIRQ | IRQ, | ||
| PCCardDMA | DMA, | ||
| PCCardVoltage | Vpp | ||
| ) |
Availability:
| OSStatus CSModifyWindow | ( | PCCardWindowID | windowToModify, |
| PCCardWindowType | windowAttributes, | ||
| PCCardAccessSpeed | memorySpeed, | ||
| PCCardWindowOffset * | windowOffset | ||
| ) |
Availability:
| OSStatus CSReadCardBusConfigSpace | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| UInt32 | configOffset, | ||
| Byte * | data, | ||
| UInt32 | dataSize | ||
| ) |
Availability:
| OSStatus CSReadConfigurationRegister | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardConfigPresentMask | whichRegister, | ||
| UInt32 | configRegBaseAddress, | ||
| UInt8 * | registerValue | ||
| ) |
Availability:
| OSStatus CSRegisterClient | ( | PCCardSocket | vSocket, |
| PCCardEventMask | eventMask, | ||
| PCCardEventHandler | clientCallBack, | ||
| void * | clientParam, | ||
| PCCardClientID * | newClientID | ||
| ) |
Availability:
| OSStatus CSRegisterTimer | ( | PCCardClientID | registeredClientID, |
| PCCardTimerID * | lpNewTimerID, | ||
| long | delay | ||
| ) |
Availability:
| OSStatus CSReleaseConfiguration | ( | PCCardSocket | vSocket, |
| UInt32 | device | ||
| ) |
Availability:
| OSStatus CSReleaseWindow | ( | PCCardWindowID | windowToRelease | ) |
Availability:
| OSStatus CSRequestConfiguration | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardConfigOptions | configOptions, | ||
| PCCardInterfaceType | socketInterface, | ||
| PCCardCustomInterfaceID | customInterface, | ||
| PCCardVoltage | vcc, | ||
| PCCardVoltage | vpp, | ||
| PCCardIRQ | IRQ, | ||
| PCCardDMA | DMA, | ||
| UInt32 | configRegBaseAddress, | ||
| PCCardConfigPresentMask | configRegPresentMask, | ||
| PCCardFunctionConfigReg * | configReg | ||
| ) |
Availability:
| OSStatus CSRequestWindow | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardWindowAttributes | windowAttributes, | ||
| PCCardAccessSpeed | windowSpeed, | ||
| LogicalAddress * | windowBase, | ||
| PCCardWindowSize * | windowSize, | ||
| PCCardWindowOffset * | windowOffset, | ||
| PCCardWindowID * | requestedWindow | ||
| ) |
Availability:
| OSStatus CSResetFunction | ( | PCCardSocket | vSocket, |
| UInt32 | device | ||
| ) |
Availability:
| OSStatus CSSetEventMask | ( | PCCardClientID | theClientID, |
| PCCardEventMask | newEventMask | ||
| ) |
Availability:
| OSStatus CSSetRingIndicate | ( | PCCardSocket | vSocket, |
| Boolean | setRingIndicate | ||
| ) |
Availability:
| OSStatus CSValidateCIS | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| UInt32 * | cisChainCount | ||
| ) |
Availability:
| OSStatus CSWriteCardBusConfigSpace | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| UInt32 | configOffset, | ||
| Byte * | data, | ||
| UInt32 | dataSize | ||
| ) |
Availability:
| OSStatus CSWriteConfigurationRegister | ( | PCCardSocket | vSocket, |
| UInt32 | device, | ||
| PCCardConfigPresentMask | whichRegister, | ||
| UInt32 | configRegBaseAddress, | ||
| UInt8 | registerValue | ||
| ) |
CSWriteConfigurationRegister()
Availability: