Package com.sun.jna.platform.win32
Klasse WinDef.HICON
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.WinNT.HANDLE
com.sun.jna.platform.win32.WinDef.HICON
- Alle implementierten Schnittstellen:
NativeMapped
- Bekannte direkte Unterklassen:
WinDef.HCURSOR
- Umschließende Schnittstelle:
WinDef
Handle to an icon.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHICON()
Instantiates a new hicon.HICON
(WinNT.HANDLE handle) Instantiates a new hicon from a handle - this is required since in Win32 API HANDLE and HICON are the same, whereas in Java they are not, so in order to "cast" the handle we need this constructorInstantiates a new hicon. -
Methodenübersicht
Von Klasse geerbte Methoden com.sun.jna.platform.win32.WinNT.HANDLE
fromNative, setPointer, toString
Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, getPointer, hashCode, nativeType, toNative
-
Konstruktordetails
-
HICON
public HICON()Instantiates a new hicon. -
HICON
Instantiates a new hicon from a handle - this is required since in Win32 API HANDLE and HICON are the same, whereas in Java they are not, so in order to "cast" the handle we need this constructor- Parameter:
handle
- TheWinNT.HANDLE
to cast
-
HICON
Instantiates a new hicon.- Parameter:
p
- the p
-