Package com.sun.jna.platform.win32
Class WinDef.HICON
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.WinNT.HANDLE
com.sun.jna.platform.win32.WinDef.HICON
- All Implemented Interfaces:
- NativeMapped
- Direct Known Subclasses:
- WinDef.HCURSOR
- Enclosing interface:
- WinDef
Handle to an icon.
- 
Constructor SummaryConstructorsConstructorDescriptionHICON()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.
- 
Method SummaryMethods inherited from class com.sun.jna.platform.win32.WinNT.HANDLEfromNative, setPointer, toStringMethods inherited from class com.sun.jna.PointerTypeequals, getPointer, hashCode, nativeType, toNative
- 
Constructor Details- 
HICONpublic HICON()Instantiates a new hicon.
- 
HICONInstantiates 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- Parameters:
- handle- The- WinNT.HANDLEto cast
 
- 
HICONInstantiates a new hicon.- Parameters:
- p- the p
 
 
-