Structs



IOWarriorListNodeStruct


IONotificationPortRef GetNotificationPort ();


struct IOWarriorListNodeStruct {
    IONotificationPortRef GetNotificationPort ();
    struct IOWarriorListNodeStruct
    {
    IOWarriorHIDDeviceInterface**   ioWarriorHIDInterface;      // IOKits interface object
    struct                          IOWarriorListNodeStruct* nextNode;  // pointer to the next interface
    CFStringRef            serialNumber;        // the device serial number
    int                             interfaceType;        // the type of the interface
    bool              interfaceOpen;          
} ;
Discussion

A structure implementing a linked list node. Used to keep track of all IOWarrior Interfaces connected to the system. You can use IOWarriorCountInterfaces and IOWarriorInterfaceListNodeAtIndex to iterate trough all interfaces.

Field Descriptions
ioWarriorHIDInterface
Interface object for the systems IOKit
nextNode
Pointer to the node in the interface list.
serialNumber
The serial number of the interface.
interfaceType
The type of the interface (kIOWarrior40Interface0, kIOWarrior40Interface1, ..) .
interfaceOpened
Has the interface already been opened.

(Last Updated 9/21/2006)