@Properties(inherit=windows.class) public class SYSTEM_POWER_LEVEL extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SYSTEM_POWER_LEVEL()
Default native constructor.
|
SYSTEM_POWER_LEVEL(long size)
Native array allocator.
|
SYSTEM_POWER_LEVEL(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
BatteryLevel() |
SYSTEM_POWER_LEVEL |
BatteryLevel(int setter) |
boolean |
Enable() |
SYSTEM_POWER_LEVEL |
Enable(boolean setter) |
int |
MinSystemState() |
SYSTEM_POWER_LEVEL |
MinSystemState(int setter) |
SYSTEM_POWER_LEVEL |
position(long position) |
POWER_ACTION_POLICY |
PowerPolicy() |
SYSTEM_POWER_LEVEL |
PowerPolicy(POWER_ACTION_POLICY setter) |
BytePointer |
Spare() |
byte |
Spare(int i) |
SYSTEM_POWER_LEVEL |
Spare(int i,
byte setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public SYSTEM_POWER_LEVEL()
public SYSTEM_POWER_LEVEL(long size)
Pointer.position(long)
.public SYSTEM_POWER_LEVEL(Pointer p)
Pointer.Pointer(Pointer)
.public SYSTEM_POWER_LEVEL position(long position)
public SYSTEM_POWER_LEVEL Enable(boolean setter)
public SYSTEM_POWER_LEVEL Spare(int i, byte setter)
@MemberGetter @Cast(value="BYTE*") public BytePointer Spare()
public SYSTEM_POWER_LEVEL BatteryLevel(int setter)
@ByRef public POWER_ACTION_POLICY PowerPolicy()
public SYSTEM_POWER_LEVEL PowerPolicy(POWER_ACTION_POLICY setter)
public SYSTEM_POWER_LEVEL MinSystemState(int setter)
Copyright © 2020. All rights reserved.