- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.winapi.Winnt.PHANDLE
-
- de.ibapl.jnhw.winapi.WinDef.PHKEY
-
- All Implemented Interfaces:
Native
- Enclosing class:
- WinDef
public static class WinDef.PHKEY extends Winnt.PHANDLE
Wrapper for PHKEY.A pointer to an HKEY.
This type is declared in WinDef.h as follows:
typedef HKEY *PHKEY;
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.winapi.Winnt.PHANDLE
Winnt.PHANDLE.CreateHandler
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.SetMem
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, CLEANER, LOG, MEM_ACCESS, MEM_ACCESS_PROPERTY, NULL, parent
-
-
Constructor Summary
Constructors Constructor Description PHKEY()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WinDef.HKEYcreateTarget(long value)Must be overwritten in subclasses.WinDef.HKEYdereference()voidsetFromHKEY(WinDef.HKEY target)-
Methods inherited from class de.ibapl.jnhw.winapi.Winnt.PHANDLE
getBaseDataType, nativeToHexString, nativeToString, setFromHANDLE
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
checkIndex, clear, copy, copy, equals, getByte, getSizeInBytes, hashCode, memset, nativeToString, printMemory, printMemory, setByte, setMemTo, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
calcOffsetForAlignment, getOffset, getSizeInBytes, isSameAddress, offsetof, toNativeAddressHolder, toUintptr_t, toUintptr_tOrNULL
-
-
-
-
Method Detail
-
createTarget
protected WinDef.HKEY createTarget(long value)
Description copied from class:Winnt.PHANDLEMust be overwritten in subclasses.- Overrides:
createTargetin classWinnt.PHANDLE- Returns:
-
dereference
public WinDef.HKEY dereference()
- Overrides:
dereferencein classWinnt.PHANDLE
-
setFromHKEY
public void setFromHKEY(WinDef.HKEY target)
-
-