public interface IOKit
extends com.sun.jna.Library
| Modifier and Type | Interface and Description |
|---|---|
static class |
IOKit.IOConnect |
static class |
IOKit.MachPort |
static class |
IOKit.SMCKeyData
Holds the return value of SMC query.
|
static class |
IOKit.SMCKeyDataKeyInfo
Holds the return value of SMC KeyInfo query.
|
static class |
IOKit.SMCKeyDataPLimitData
Holds the return value of SMC pLimit query.
|
static class |
IOKit.SMCKeyDataVers
Holds the return value of SMC version query.
|
static class |
IOKit.SMCVal
Holds an SMC value
|
| Modifier and Type | Field and Description |
|---|---|
static IOKit |
INSTANCE |
static CoreFoundation.CFStringRef |
IOPS_CURRENT_CAPACITY_KEY |
static CoreFoundation.CFStringRef |
IOPS_IS_PRESENT_KEY |
static CoreFoundation.CFStringRef |
IOPS_MAX_CAPACITY_KEY |
static CoreFoundation.CFStringRef |
IOPS_NAME_KEY |
static int |
KERNEL_INDEX_SMC |
static byte |
SMC_CMD_READ_BYTES |
static byte |
SMC_CMD_READ_KEYINFO |
static String |
SMC_KEY_CPU_TEMP |
static String |
SMC_KEY_CPU_VOLTAGE |
static String |
SMC_KEY_FAN_NUM |
static String |
SMC_KEY_FAN_SPEED |
static final IOKit INSTANCE
static final CoreFoundation.CFStringRef IOPS_NAME_KEY
static final CoreFoundation.CFStringRef IOPS_IS_PRESENT_KEY
static final CoreFoundation.CFStringRef IOPS_CURRENT_CAPACITY_KEY
static final CoreFoundation.CFStringRef IOPS_MAX_CAPACITY_KEY
static final String SMC_KEY_FAN_NUM
static final String SMC_KEY_FAN_SPEED
static final String SMC_KEY_CPU_TEMP
static final String SMC_KEY_CPU_VOLTAGE
static final byte SMC_CMD_READ_BYTES
static final byte SMC_CMD_READ_KEYINFO
static final int KERNEL_INDEX_SMC
CoreFoundation.CFTypeRef IOPSCopyPowerSourcesInfo()
CoreFoundation.CFArrayRef IOPSCopyPowerSourcesList(CoreFoundation.CFTypeRef blob)
CoreFoundation.CFDictionaryRef IOPSGetPowerSourceDescription(CoreFoundation.CFTypeRef blob, CoreFoundation.CFTypeRef ps)
double IOPSGetTimeRemainingEstimate()
int IOMasterPort(int unused,
com.sun.jna.ptr.IntByReference masterPort)
CoreFoundation.CFMutableDictionaryRef IOServiceMatching(String name)
CoreFoundation.CFMutableDictionaryRef IOBSDNameMatching(int masterPort, int options, String bsdName)
int IOServiceGetMatchingService(int port,
CoreFoundation.CFMutableDictionaryRef matchingDictionary)
int IOServiceGetMatchingServices(int port,
CoreFoundation.CFMutableDictionaryRef matchingDictionary,
com.sun.jna.ptr.IntByReference iterator)
int IOServiceOpen(int service,
int owningTask,
int type,
com.sun.jna.ptr.IntByReference connect)
int IOServiceClose(int connect)
void IOObjectRelease(int object)
int IOIteratorNext(int iterator)
boolean IOObjectConformsTo(int object,
String className)
int IOConnectCallStructMethod(int connection,
int selector,
com.sun.jna.Structure inputStructure,
int structureInputSize,
com.sun.jna.Structure outputStructure,
com.sun.jna.ptr.IntByReference structureOutputSize)
CoreFoundation.CFTypeRef IORegistryEntryCreateCFProperty(int entry, CoreFoundation.CFStringRef key, CoreFoundation.CFAllocatorRef allocator, int options)
CoreFoundation.CFTypeRef IORegistryEntrySearchCFProperty(int entry, String plane, CoreFoundation.CFStringRef key, CoreFoundation.CFAllocatorRef allocator, int options)
int IORegistryEntryCreateCFProperties(int entry,
com.sun.jna.ptr.PointerByReference propsPtr,
CoreFoundation.CFAllocatorRef allocator,
int options)
CoreFoundation.CFStringRef CFCopyDescription(CoreFoundation.CFTypeRef type)
int IORegistryEntryGetName(int entry,
com.sun.jna.Pointer name)
int IORegistryEntryGetRegistryEntryID(int entry,
com.sun.jna.ptr.LongByReference id)
int IORegistryEntryGetParentEntry(int entry,
String plane,
com.sun.jna.ptr.IntByReference parent)
int IORegistryEntryGetChildEntry(int entry,
String plane,
com.sun.jna.ptr.IntByReference child)
int IORegistryEntryGetChildIterator(int entry,
String plane,
com.sun.jna.ptr.IntByReference iter)
int IORegistryGetRootEntry(int masterPort)
Copyright © 2010–2018 oshi. All rights reserved.