|
Mac OS 9
|
Public API for USB Services Library (and associated components) More...
#include <MacTypes.h>#include <NameRegistry.h>#include <CodeFragments.h>#include <Devices.h>#include <MacErrors.h>Go to the source code of this file.
Data Structures | |
| struct | usbControlBits |
| struct | USBIsocFrame |
| struct | usbIsocBits |
| struct | usbHubBits |
| union | USBVariantBits |
| struct | USBPB |
| struct | uslReq |
| struct | USBDeviceDescriptor |
| struct | USBDescriptorHeader |
| struct | USBConfigurationDescriptor |
| struct | USBInterfaceDescriptor |
| struct | USBEndPointDescriptor |
| struct | USBHIDDescriptor |
| struct | USBHIDReportDesc |
| struct | USBHubPortStatus |
| struct | ExpertNotificationData |
| struct | USBDeviceNotificationParameterBlock |
| struct | USBHIDRev2DispatchTable |
| struct | USBHIDModuleDispatchTable |
| struct | USBMouseData |
| struct | USBKeyboardData |
| union | USBHIDData |
| struct | USBDeviceInfo |
| struct | USBInterfaceInfo |
| struct | USBDriverType |
| struct | USBDriverDescription |
| struct | USBClassDriverPluginDispatchTable |
| struct | USBShimDescription |
| struct | hubDescriptor |
Macros | |
| #define | OLDUSBNAMES 0 |
| #define | kUSBNoCallBack ((USBCompletion)-1L) |
| #define | USB_CONSTANT16(x) ((((x) >> 8) & 0x0ff) | ((x & 0xff) << 8)) |
Typedefs | |
| typedef SInt32 | USBReference |
| typedef USBReference | USBDeviceRef |
| typedef USBDeviceRef * | USBDeviceRefPtr |
| typedef USBReference | USBInterfaceRef |
| typedef USBReference | USBPipeRef |
| typedef USBReference | USBBusRef |
| typedef UInt32 | USBPipeState |
| typedef UInt32 | USBCount |
| typedef UInt32 | USBFlags |
| typedef UInt8 | USBRequest |
| typedef UInt8 | USBDirection |
| typedef UInt8 | USBRqRecipient |
| typedef UInt8 | USBRqType |
| typedef UInt16 | USBRqIndex |
| typedef UInt16 | USBRqValue |
| typedef struct usbControlBits | usbControlBits |
| typedef struct USBIsocFrame | USBIsocFrame |
| typedef struct usbIsocBits | usbIsocBits |
| typedef struct usbHubBits | usbHubBits |
| typedef struct USBPB | USBPB |
| typedef union USBVariantBits | USBVariantBits |
| typedef USBPB * | USBPBPtr |
| typedef struct uslReq | uslReq |
| typedef UInt8 | bcdUSB |
| typedef struct USBDeviceDescriptor | USBDeviceDescriptor |
| typedef USBDeviceDescriptor * | USBDeviceDescriptorPtr |
| typedef struct USBDescriptorHeader | USBDescriptorHeader |
| typedef USBDescriptorHeader * | USBDescriptorHeaderPtr |
| typedef struct USBConfigurationDescriptor | USBConfigurationDescriptor |
| typedef USBConfigurationDescriptor * | USBConfigurationDescriptorPtr |
| typedef struct USBInterfaceDescriptor | USBInterfaceDescriptor |
| typedef USBInterfaceDescriptor * | USBInterfaceDescriptorPtr |
| typedef struct USBEndPointDescriptor | USBEndPointDescriptor |
| typedef USBEndPointDescriptor * | USBEndPointDescriptorPtr |
| typedef struct USBHIDDescriptor | USBHIDDescriptor |
| typedef USBHIDDescriptor * | USBHIDDescriptorPtr |
| typedef struct USBHIDReportDesc | USBHIDReportDesc |
| typedef USBHIDReportDesc * | USBHIDReportDescPtr |
| typedef struct USBHubPortStatus | USBHubPortStatus |
| typedef USBHubPortStatus * | USBHubPortStatusPtr |
| typedef UInt32 | USBLocationID |
| typedef UInt8 | USBNotificationType |
| typedef USBNotificationType | USBDriverMessage |
| typedef UInt16 | USBManagerWildcard |
| typedef struct ExpertNotificationData | ExpertNotificationData |
| typedef ExpertNotificationData * | ExpertNotificationDataPtr |
| typedef struct USBDeviceNotificationParameterBlock | USBDeviceNotificationParameterBlock |
| typedef USBDeviceNotificationParameterBlock * | USBDeviceNotificationParameterBlockPtr |
| typedef UInt32 | refcon |
| typedef void * | theData |
| typedef UInt32 | reportSize |
| typedef UInt32 void * | theReport |
| typedef UInt32 void USBReference | theInterfaceRef |
| typedef void * | theControlData |
| typedef void * | theInfo |
| typedef struct USBHIDRev2DispatchTable | USBHIDRev2DispatchTable |
| typedef USBHIDRev2DispatchTable * | USBHIDRev2DispatchTablePtr |
| typedef struct USBHIDModuleDispatchTable | USBHIDModuleDispatchTable |
| typedef USBHIDModuleDispatchTable * | USBHIDModuleDispatchTablePtr |
| typedef struct USBMouseData | USBMouseData |
| typedef USBMouseData * | USBMouseDataPtr |
| typedef struct USBKeyboardData | USBKeyboardData |
| typedef USBKeyboardData * | USBKeyboardDataPtr |
| typedef union USBHIDData | USBHIDData |
| typedef USBHIDData * | USBHIDDataPtr |
| typedef UInt32 | USBDriverDescVersion |
| typedef UInt32 | USBDriverLoadingOptions |
| typedef struct USBDeviceInfo | USBDeviceInfo |
| typedef USBDeviceInfo * | USBDeviceInfoPtr |
| typedef struct USBInterfaceInfo | USBInterfaceInfo |
| typedef USBInterfaceInfo * | USBInterfaceInfoPtr |
| typedef struct USBDriverType | USBDriverType |
| typedef USBDriverType * | USBDriverTypePtr |
| typedef struct USBDriverDescription | USBDriverDescription |
| typedef USBDriverDescription * | USBDriverDescriptionPtr |
| typedef USBDeviceDescriptorPtr | pDesc |
| typedef USBDeviceDescriptorPtr UInt32 | busPowerAvailable |
| typedef USBInterfaceDescriptorPtr | pInterface |
| typedef USBInterfaceDescriptorPtr USBDeviceDescriptorPtr | pDevice |
| typedef USBInterfaceDescriptorPtr USBDeviceDescriptorPtr USBInterfaceRef | interfaceRef |
| typedef UInt32 | USBDriverNotification |
| typedef void * | pointer |
| typedef struct USBClassDriverPluginDispatchTable | USBClassDriverPluginDispatchTable |
| typedef USBClassDriverPluginDispatchTable * | USBClassDriverPluginDispatchTablePtr |
| typedef UInt32 | USBShimDescVersion |
| typedef UInt32 | USBShimLoadingOptions |
| typedef struct USBShimDescription | USBShimDescription |
| typedef USBShimDescription * | USBShimDescriptionPtr |
| typedef struct hubDescriptor | hubDescriptor |
Functions | |
| typedef | CALLBACK_API_C (void, USBCompletion)(USBPB *pb) |
| UInt16 | HostToUSBWord (UInt16 value) |
| UInt16 | USBToHostWord (UInt16 value) |
| UInt32 | HostToUSBLong (UInt32 value) |
| UInt32 | USBToHostLong (UInt32 value) |
| OSStatus | USBDeviceRequest (USBPB *pb) |
| OSStatus | USBBulkWrite (USBPB *pb) |
| OSStatus | USBBulkRead (USBPB *pb) |
| OSStatus | USBIntRead (USBPB *pb) |
| OSStatus | USBIntWrite (USBPB *pb) |
| OSStatus | USBIsocRead (USBPB *pb) |
| OSStatus | USBIsocWrite (USBPB *pb) |
| OSStatus | USBClearPipeStallByReference (USBPipeRef ref) |
| OSStatus | USBAbortPipeByReference (USBReference ref) |
| OSStatus | USBResetPipeByReference (USBReference ref) |
| OSStatus | USBSetPipeIdleByReference (USBPipeRef ref) |
| OSStatus | USBSetPipeActiveByReference (USBPipeRef ref) |
| OSStatus | USBClosePipeByReference (USBPipeRef ref) |
| OSStatus | USBGetPipeStatusByReference (USBReference ref, USBPipeState *state) |
| OSStatus | USBFindNextInterface (USBPB *pb) |
| OSStatus | USBOpenDevice (USBPB *pb) |
| OSStatus | USBSetConfiguration (USBPB *pb) |
| OSStatus | USBNewInterfaceRef (USBPB *pb) |
| OSStatus | USBDisposeInterfaceRef (USBPB *pb) |
| OSStatus | USBConfigureInterface (USBPB *pb) |
| OSStatus | USBFindNextPipe (USBPB *pb) |
| OSStatus | USBSetPipePolicy (USBPB *pb) |
| OSStatus | USBGetConfigurationDescriptor (USBPB *pb) |
| OSStatus | USBGetFullConfigurationDescriptor (USBPB *pb) |
| OSStatus | USBGetStringDescriptor (USBPB *pb) |
| OSStatus | USBFindNextEndpointDescriptorImmediate (USBPB *pb) |
| OSStatus | USBFindNextInterfaceDescriptorImmediate (USBPB *pb) |
| OSStatus | USBFindNextAssociatedDescriptor (USBPB *pb) |
| OSStatus | USBResetDevice (USBPB *pb) |
| OSStatus | USBPortStatus (USBPB *pb) |
| OSStatus | USBSuspendDevice (USBPB *pb) |
| OSStatus | USBResumeDeviceByReference (USBReference refIn) |
| OSStatus | USBGetBandwidthAvailableByReference (USBReference ref, UInt32 *avail) |
| OSStatus | USBGetFrameNumberImmediate (USBPB *pb) |
| OSStatus | USBDelay (USBPB *pb) |
| OSStatus | USBSAbortQueuesByReference (USBReference ref) |
| OSStatus | USBAllocMem (USBPB *pb) |
| OSStatus | USBDeallocMem (USBPB *pb) |
| OSStatus | USBExpertInstallInterfaceDriver (USBDeviceRef ref, USBDeviceDescriptorPtr desc, USBInterfaceDescriptorPtr interfacePtr, USBReference hubRef, UInt32 busPowerAvailable) |
| OSStatus | USBExpertRemoveInterfaceDriver (USBDeviceRef ref) |
| OSStatus | USBExpertInstallDeviceDriver (USBDeviceRef ref, USBDeviceDescriptorPtr desc, USBReference hubRef, UInt32 port, UInt32 busPowerAvailable) |
| OSStatus | USBExpertRemoveDeviceDriver (USBDeviceRef ref) |
| OSStatus | USBExpertStatus (USBDeviceRef ref, void *pointer, UInt32 value) |
| OSStatus | USBExpertFatalError (USBDeviceRef ref, OSStatus status, void *pointer, UInt32 value) |
| OSStatus | USBExpertNotify (void *note) |
| OSStatus | USBExpertStatusLevel (UInt32 level, USBDeviceRef ref, StringPtr status, UInt32 value) |
| UInt32 | USBExpertGetStatusLevel (void) |
| void | USBExpertSetStatusLevel (UInt32 level) |
| OSStatus | USBExpertSetDevicePowerStatus (USBDeviceRef ref, UInt32 reserved1, UInt32 reserved2, UInt32 powerStatus, UInt32 busPowerAvailable, UInt32 busPowerNeeded) |
| OSStatus | USBHubAddDevice (USBPB *pb) |
| OSStatus | USBHubConfigurePipeZero (USBPB *pb) |
| OSStatus | USBHubSetAddress (USBPB *pb) |
| OSStatus | USBHubDeviceRemoved (USBPB *pb) |
| UInt8 | USBMakeBMRequestType (UInt8 direction, UInt8 reqtype, UInt8 recipient) |
| OSStatus | USBControlRequest (USBPB *pb) |
| typedef | CALLBACK_API_C (OSStatus, ExpertNotificationProcPtr)(ExpertNotificationDataPtr pNotificationData) |
| typedef | CALLBACK_API_C (OSStatus, ExpertEntryProcPtr)(ExpertNotificationProcPtr pExpertNotify) |
| typedef | CALLBACK_API_C (void, USBDeviceNotificationCallbackProcPtr)(void *pb) |
| typedef | CALLBACK_API_C (void, USBDriverNotificationCallbackPtr)(OSStatus status |
| UInt32 | USBGetVersion (void) |
| OSStatus | USBGetNextDeviceByClass (USBDeviceRef *deviceRef, CFragConnectionID *connID, UInt16 theClass, UInt16 theSubClass, UInt16 theProtocol) |
| OSStatus | USBGetDeviceDescriptor (USBDeviceRef *deviceRef, USBDeviceDescriptor *deviceDescriptor, UInt32 size) |
| OSStatus | USBGetInterfaceDescriptor (USBInterfaceRef *interfaceRef, USBInterfaceDescriptor *interfaceDescriptor, UInt32 size) |
| OSStatus | USBGetDriverConnectionID (USBDeviceRef *deviceRef, CFragConnectionID *connID) |
| void | USBInstallDeviceNotification (USBDeviceNotificationParameterBlock *pb) |
| OSStatus | USBRemoveDeviceNotification (UInt32 token) |
| OSStatus | USBDeviceRefToBusRef (USBDeviceRef *deviceRef, USBBusRef *busRef) |
| OSStatus | USBDriverNotify (USBReference reference, USBDriverMessage mesg, UInt32 refcon, USBDriverNotificationCallbackPtr callback) |
| OSStatus | USBExpertNotifyParent (USBReference reference, void *pointer) |
| OSStatus | USBAddDriverForFSSpec (USBReference reference, FSSpec *fileSpec) |
| OSStatus | USBAddShimFromDisk (FSSpec *shimFilePtr) |
| OSStatus | USBReferenceToRegEntry (RegEntryID *parentEntry, USBDeviceRef parentDeviceRef) |
| OSStatus | USBConfigureADBShim (UInt32 inCommandID, void *arg1, void *arg2) |
| typedef | CALLBACK_API_C (void, HIDInterruptProcPtr)(UInt32 refcon |
| typedef | CALLBACK_API_C (void, HIDNotificationProcPtr)(UInt32 refcon |
| typedef | CALLBACK_API_C (OSStatus, USBHIDInstallInterruptProcPtr)(HIDInterruptProcPtr pInterruptProc |
| typedef | CALLBACK_API_C (OSStatus, USBHIDPollDeviceProcPtr)(void) |
| typedef | CALLBACK_API_C (OSStatus, USBHIDControlDeviceProcPtr)(UInt32 theControlSelector |
| typedef | CALLBACK_API_C (OSStatus, USBHIDGetDeviceInfoProcPtr)(UInt32 theInfoSelector |
| typedef | CALLBACK_API_C (OSStatus, USBHIDEnterPolledModeProcPtr)(void) |
| typedef | CALLBACK_API_C (OSStatus, USBHIDExitPolledModeProcPtr)(void) |
| typedef | CALLBACK_API_C (OSStatus, USBHIDInstallNotificationProcPtr)(HIDNotificationProcPtr pNotificationProc |
| OSStatus | USBHIDInstallInterrupt (HIDInterruptProcPtr HIDInterruptFunction, UInt32 refcon) |
| OSStatus | USBHIDPollDevice (void) |
| OSStatus | USBHIDControlDevice (UInt32 theControlSelector, void *theControlData) |
| OSStatus | USBHIDGetDeviceInfo (UInt32 theInfoSelector, void *theInfo) |
| OSStatus | USBHIDEnterPolledMode (void) |
| OSStatus | USBHIDExitPolledMode (void) |
| OSStatus | USBHIDInstallNotification (HIDNotificationProcPtr HIDNotificationFunction, UInt32 refcon) |
| void | HIDNotification (UInt32 devicetype, UInt8 NewHIDData[], UInt8 OldHIDData[]) |
| void | StartCompoundClassDriver (USBDeviceRef device, UInt16 classID, UInt16 subClass) |
| typedef | CALLBACK_API_C (OSStatus, USBDValidateHWProcPtr)(USBDeviceRef device |
| typedef | CALLBACK_API_C (OSStatus, USBDInitializeDeviceProcPtr)(USBDeviceRef device |
| typedef | CALLBACK_API_C (OSStatus, USBDInitializeInterfaceProcPtr)(UInt32 interfaceNum |
| typedef | CALLBACK_API_C (OSStatus, USBDFinalizeProcPtr)(USBDeviceRef device |
| typedef | CALLBACK_API_C (OSStatus, USBDDriverNotifyProcPtr)(USBDriverNotification notification |
Public API for USB Services Library (and associated components)
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| typedef UInt16 USBManagerWildcard |
USB Manager wildcard constants for USBGetNextDeviceByClass and USBInstallDeviceNotification.
| anonymous enum |
Level 1: Fatal errors Level 2: General errors that may or may not effect operation Level 3: General driver messages. The "AddStatus" call that drivers use comes through as a level 3. This is also the default level at boot time. Level 4: Important status messages from the Expert and USL. Level 5: General status messages from the Expert and USL.
| typedef CALLBACK_API_C | ( | OSStatus | , |
| USBDDriverNotifyProcPtr | |||
| ) |
Definition of driver's notification proc. Added refcon for 1.1 version of dispatch table
| typedef CALLBACK_API_C | ( | OSStatus | , |
| USBDInitializeDeviceProcPtr | |||
| ) |
Definition of class driver's device initialization proc. Called if the driver is being loaded for a device
| typedef CALLBACK_API_C | ( | OSStatus | , |
| USBDValidateHWProcPtr | |||
| ) |
Dispatch Table Definition of class driver's HW Validation proc.
| void HIDNotification | ( | UInt32 | devicetype, |
| UInt8 | NewHIDData[], | ||
| UInt8 | OldHIDData[] | ||
| ) |
Availability:
| UInt32 HostToUSBLong | ( | UInt32 | value | ) |
Availability:
| UInt16 HostToUSBWord | ( | UInt16 | value | ) |
Availability:
| void StartCompoundClassDriver | ( | USBDeviceRef | device, |
| UInt16 | classID, | ||
| UInt16 | subClass | ||
| ) |
Availability:
| OSStatus USBAbortPipeByReference | ( | USBReference | ref | ) |
Availability:
| OSStatus USBAddDriverForFSSpec | ( | USBReference | reference, |
| FSSpec * | fileSpec | ||
| ) |
Availability:
| OSStatus USBAddShimFromDisk | ( | FSSpec * | shimFilePtr | ) |
Availability:
| OSStatus USBAllocMem | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBBulkRead | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBBulkWrite | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBClearPipeStallByReference | ( | USBPipeRef | ref | ) |
USBClearPipeStallByReference()
Availability:
| OSStatus USBClosePipeByReference | ( | USBPipeRef | ref | ) |
Availability:
| OSStatus USBConfigureADBShim | ( | UInt32 | inCommandID, |
| void * | arg1, | ||
| void * | arg2 | ||
| ) |
Availability:
| OSStatus USBConfigureInterface | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBControlRequest | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBDeallocMem | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBDelay | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBDeviceRefToBusRef | ( | USBDeviceRef * | deviceRef, |
| USBBusRef * | busRef | ||
| ) |
Availability:
| OSStatus USBDeviceRequest | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBDisposeInterfaceRef | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBDriverNotify | ( | USBReference | reference, |
| USBDriverMessage | mesg, | ||
| UInt32 | refcon, | ||
| USBDriverNotificationCallbackPtr | callback | ||
| ) |
Availability:
| OSStatus USBExpertFatalError | ( | USBDeviceRef | ref, |
| OSStatus | status, | ||
| void * | pointer, | ||
| UInt32 | value | ||
| ) |
Availability:
| UInt32 USBExpertGetStatusLevel | ( | void | ) |
Availability:
| OSStatus USBExpertInstallDeviceDriver | ( | USBDeviceRef | ref, |
| USBDeviceDescriptorPtr | desc, | ||
| USBReference | hubRef, | ||
| UInt32 | port, | ||
| UInt32 | busPowerAvailable | ||
| ) |
USBExpertInstallDeviceDriver()
Availability:
| OSStatus USBExpertInstallInterfaceDriver | ( | USBDeviceRef | ref, |
| USBDeviceDescriptorPtr | desc, | ||
| USBInterfaceDescriptorPtr | interfacePtr, | ||
| USBReference | hubRef, | ||
| UInt32 | busPowerAvailable | ||
| ) |
USBExpertInstallInterfaceDriver()
Availability:
| OSStatus USBExpertNotify | ( | void * | note | ) |
Availability:
| OSStatus USBExpertNotifyParent | ( | USBReference | reference, |
| void * | pointer | ||
| ) |
Availability:
| OSStatus USBExpertRemoveDeviceDriver | ( | USBDeviceRef | ref | ) |
Availability:
| OSStatus USBExpertRemoveInterfaceDriver | ( | USBDeviceRef | ref | ) |
USBExpertRemoveInterfaceDriver()
Availability:
| OSStatus USBExpertSetDevicePowerStatus | ( | USBDeviceRef | ref, |
| UInt32 | reserved1, | ||
| UInt32 | reserved2, | ||
| UInt32 | powerStatus, | ||
| UInt32 | busPowerAvailable, | ||
| UInt32 | busPowerNeeded | ||
| ) |
USBExpertSetDevicePowerStatus()
Availability:
| void USBExpertSetStatusLevel | ( | UInt32 | level | ) |
Availability:
| OSStatus USBExpertStatus | ( | USBDeviceRef | ref, |
| void * | pointer, | ||
| UInt32 | value | ||
| ) |
Availability:
| OSStatus USBExpertStatusLevel | ( | UInt32 | level, |
| USBDeviceRef | ref, | ||
| StringPtr | status, | ||
| UInt32 | value | ||
| ) |
Availability:
| OSStatus USBFindNextAssociatedDescriptor | ( | USBPB * | pb | ) |
USBFindNextAssociatedDescriptor()
Availability:
| OSStatus USBFindNextEndpointDescriptorImmediate | ( | USBPB * | pb | ) |
USBFindNextEndpointDescriptorImmediate()
Availability:
| OSStatus USBFindNextInterface | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBFindNextInterfaceDescriptorImmediate | ( | USBPB * | pb | ) |
USBFindNextInterfaceDescriptorImmediate()
Availability:
| OSStatus USBFindNextPipe | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBGetBandwidthAvailableByReference | ( | USBReference | ref, |
| UInt32 * | avail | ||
| ) |
USBGetBandwidthAvailableByReference()
Availability:
| OSStatus USBGetConfigurationDescriptor | ( | USBPB * | pb | ) |
USBGetConfigurationDescriptor()
Availability:
| OSStatus USBGetDeviceDescriptor | ( | USBDeviceRef * | deviceRef, |
| USBDeviceDescriptor * | deviceDescriptor, | ||
| UInt32 | size | ||
| ) |
Availability:
| OSStatus USBGetDriverConnectionID | ( | USBDeviceRef * | deviceRef, |
| CFragConnectionID * | connID | ||
| ) |
Availability:
| OSStatus USBGetFrameNumberImmediate | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBGetFullConfigurationDescriptor | ( | USBPB * | pb | ) |
USBGetFullConfigurationDescriptor()
Availability:
| OSStatus USBGetInterfaceDescriptor | ( | USBInterfaceRef * | interfaceRef, |
| USBInterfaceDescriptor * | interfaceDescriptor, | ||
| UInt32 | size | ||
| ) |
Availability:
| OSStatus USBGetNextDeviceByClass | ( | USBDeviceRef * | deviceRef, |
| CFragConnectionID * | connID, | ||
| UInt16 | theClass, | ||
| UInt16 | theSubClass, | ||
| UInt16 | theProtocol | ||
| ) |
Availability:
| OSStatus USBGetPipeStatusByReference | ( | USBReference | ref, |
| USBPipeState * | state | ||
| ) |
Availability:
| OSStatus USBGetStringDescriptor | ( | USBPB * | pb | ) |
Availability:
| UInt32 USBGetVersion | ( | void | ) |
Availability:
| OSStatus USBHIDControlDevice | ( | UInt32 | theControlSelector, |
| void * | theControlData | ||
| ) |
Availability:
| OSStatus USBHIDEnterPolledMode | ( | void | ) |
Availability:
| OSStatus USBHIDExitPolledMode | ( | void | ) |
Availability:
| OSStatus USBHIDGetDeviceInfo | ( | UInt32 | theInfoSelector, |
| void * | theInfo | ||
| ) |
Availability:
| OSStatus USBHIDInstallInterrupt | ( | HIDInterruptProcPtr | HIDInterruptFunction, |
| UInt32 | refcon | ||
| ) |
Availability:
| OSStatus USBHIDInstallNotification | ( | HIDNotificationProcPtr | HIDNotificationFunction, |
| UInt32 | refcon | ||
| ) |
Availability:
| OSStatus USBHIDPollDevice | ( | void | ) |
Availability:
| OSStatus USBHubAddDevice | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBHubConfigurePipeZero | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBHubDeviceRemoved | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBHubSetAddress | ( | USBPB * | pb | ) |
Availability:
| void USBInstallDeviceNotification | ( | USBDeviceNotificationParameterBlock * | pb | ) |
USBInstallDeviceNotification()
Availability:
| OSStatus USBIntRead | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBIntWrite | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBIsocRead | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBIsocWrite | ( | USBPB * | pb | ) |
Availability:
| UInt8 USBMakeBMRequestType | ( | UInt8 | direction, |
| UInt8 | reqtype, | ||
| UInt8 | recipient | ||
| ) |
Availability:
| OSStatus USBNewInterfaceRef | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBOpenDevice | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBPortStatus | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBReferenceToRegEntry | ( | RegEntryID * | parentEntry, |
| USBDeviceRef | parentDeviceRef | ||
| ) |
Availability:
| OSStatus USBRemoveDeviceNotification | ( | UInt32 | token | ) |
Availability:
| OSStatus USBResetDevice | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBResetPipeByReference | ( | USBReference | ref | ) |
Availability:
| OSStatus USBResumeDeviceByReference | ( | USBReference | refIn | ) |
Availability:
| OSStatus USBSAbortQueuesByReference | ( | USBReference | ref | ) |
Availability:
| OSStatus USBSetConfiguration | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBSetPipeActiveByReference | ( | USBPipeRef | ref | ) |
Availability:
| OSStatus USBSetPipeIdleByReference | ( | USBPipeRef | ref | ) |
Availability:
| OSStatus USBSetPipePolicy | ( | USBPB * | pb | ) |
Availability:
| OSStatus USBSuspendDevice | ( | USBPB * | pb | ) |
Availability:
| UInt32 USBToHostLong | ( | UInt32 | value | ) |
Availability:
| UInt16 USBToHostWord | ( | UInt16 | value | ) |
Availability: