Data Members



FindInterfaceRequest

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.

Fields

NameDescription
theClassRequested class
subClassRequested subclass
protocolRequested protocol
maxPowermax power consumption in 2mA units
busPowered1 = not bus powered, 2 = bus powered
selfPowered1 = not self powered, 2 = self powered
remoteWakeup1 = doesn't support remote wakeup, 2 = does

© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)