Package com.sun.jna.platform.win32
Class WinNT.HANDLE
- java.lang.Object
- 
- com.sun.jna.PointerType
- 
- com.sun.jna.platform.win32.WinNT.HANDLE
 
 
- 
- All Implemented Interfaces:
- NativeMapped
 - Direct Known Subclasses:
- WinCrypt.HCERTCHAINENGINE,- WinCrypt.HCERTSTORE,- WinCrypt.HCRYPTMSG,- WinDef.HBITMAP,- WinDef.HBRUSH,- WinDef.HDC,- WinDef.HFONT,- WinDef.HGLRC,- WinDef.HICON,- WinDef.HINSTANCE,- WinDef.HKL,- WinDef.HMENU,- WinDef.HPALETTE,- WinDef.HPEN,- WinDef.HRGN,- WinDef.HRSRC,- WinDef.HWND,- Winevt.EVT_HANDLE,- WinReg.HKEY,- Winsvc.SC_HANDLE,- Winsvc.SERVICE_STATUS_HANDLE,- WinUser.HHOOK,- WinUser.HMONITOR
 - Enclosing interface:
- WinNT
 
 public static class WinNT.HANDLE extends PointerType Handle to an object.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfromNative(java.lang.Object nativeValue, FromNativeContext context)Override to the appropriate object for INVALID_HANDLE_VALUE.voidsetPointer(Pointer p)java.lang.StringtoString()- 
Methods inherited from class com.sun.jna.PointerTypeequals, getPointer, hashCode, nativeType, toNative
 
- 
 
- 
- 
- 
Constructor Detail- 
HANDLEpublic HANDLE() 
 - 
HANDLEpublic HANDLE(Pointer p) 
 
- 
 - 
Method Detail- 
fromNativepublic java.lang.Object fromNative(java.lang.Object nativeValue, FromNativeContext context)Override to the appropriate object for INVALID_HANDLE_VALUE.- Specified by:
- fromNativein interface- NativeMapped
- Overrides:
- fromNativein class- PointerType
- Parameters:
- nativeValue- Java representation of the native type to be converted.
- context- Context in which the conversion is taking place.
- Returns:
- Converted object.
 
 - 
setPointerpublic void setPointer(Pointer p) - Overrides:
- setPointerin class- PointerType
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- PointerType
 
 
- 
 
-