SInt32 IOHIDevice::GenerateKey(OSObject *object) { if ( !object ) return NULL; IORegistryEntry* temp = (IORegistryEntry*)(object); return (SInt32)temp->getRegistryEntryID(); // Get unique key for this object; }
SInt32 IOHIDevice::GenerateKey(OSObject *object) { if ( !object ) return NULL; IORegistryEntry* temp = (IORegistryEntry*)(object); return (SInt32)temp->getRegistryEntryID(); // Get unique key for this object; }