public:struct FindInterfaceRequest { UInt8 theClass; // requested class, 0 = don't care UInt8 subClass; // requested subclass; 0 = don't care UInt8 protocol; // requested protocol; 0 = don't care UInt8 maxPower; // max power in 2ma increments; 0 = don't care UInt8 busPowered:2; // 1 = not bus powered, 2 = bus powered, UInt8 selfPowered:2; // 1 = not self powered, 2 = self powered, UInt8 remoteWakeup:2; // 1 = doesn't support remote wakeup; 2 = does UInt8 reserved:2; };
Parameter block for finding interfaces in a device. Initialize each field to the desired value before calling findNextInterface, set a field to 0 if any value is OK.
Name Description theClass Requested class subClass Requested subclass protocol Requested protocol maxPower max power consumption in 2mA units busPowered 1 = not bus powered, 2 = bus powered selfPowered 1 = not self powered, 2 = self powered remoteWakeup 1 = doesn't support remote wakeup, 2 = does
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)