Пример #1
0
SInt32 IOHIDevice::GenerateKey(OSObject *object)
{
    if ( !object )
        return NULL;
    IORegistryEntry* temp = (IORegistryEntry*)(object);
    return (SInt32)temp->getRegistryEntryID(); // Get unique key for this object;
}