Uses of Class
com.sun.jna.platform.win32.WinNT.HANDLE

Packages that use WinNT.HANDLE
com.sun.jna.platform.win32   
 

Uses of WinNT.HANDLE in com.sun.jna.platform.win32
 

Subclasses of WinNT.HANDLE in com.sun.jna.platform.win32
static class WinDef.HBITMAP
          Handle to a bitmap.
static class WinDef.HCURSOR
          Handle to a cursor.
static class WinDef.HDC
          Handle to a device context (DC).
static class WinDef.HFONT
          Handle to a font.
static class WinDef.HICON
          Handle to an icon.
static class WinDef.HINSTANCE
          Handle to an instance.
static class WinDef.HMENU
          Handle to a cursor.
static class WinDef.HMODULE
          Handle to a module.
static class WinDef.HPALETTE
          Handle to a palette.
static class WinDef.HPEN
          Handle to a pen.
static class WinDef.HRGN
          Handle to a region.
static class WinDef.HRSRC
          Handle to a resource.
static class WinDef.HWND
          Handle to a window.
static class WinReg.HKEY
           
static class WinUser.HHOOK
           
 

Fields in com.sun.jna.platform.win32 declared as WinNT.HANDLE
 WinNT.HANDLE WinBase.OVERLAPPED.hEvent
           
 WinNT.HANDLE ShellAPI.SHFILEOPSTRUCT.hwnd
          A window handle to the dialog box to display information about the status of the file operation.
 WinNT.HANDLE WinUser.FLASHWINFO.hWnd
           
static WinNT.HANDLE WinBase.INVALID_HANDLE_VALUE
          Constant value representing an invalid HANDLE.
 

Methods in com.sun.jna.platform.win32 that return WinNT.HANDLE
 WinNT.HANDLE Kernel32.CreateEvent(WinNT.SECURITY_ATTRIBUTES lpEventAttributes, boolean bManualReset, boolean bInitialState, java.lang.String lpName)
          Creates or opens a named or unnamed event object.
 WinNT.HANDLE Kernel32.CreateFile(java.lang.String lpFileName, int dwDesiredAccess, int dwShareMode, WinNT.SECURITY_ATTRIBUTES lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, WinNT.HANDLE hTemplateFile)
          The CreateFile function creates or opens a file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe.
 WinNT.HANDLE Kernel32.CreateFileMapping(WinNT.HANDLE hFile, WinNT.SECURITY_ATTRIBUTES lpAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, java.lang.String lpName)
          Creates or opens a named or unnamed file mapping object for a specified file.
 WinNT.HANDLE Kernel32.CreateIoCompletionPort(WinNT.HANDLE FileHandle, WinNT.HANDLE ExistingCompletionPort, com.sun.jna.Pointer CompletionKey, int NumberOfConcurrentThreads)
          Creates an input/output (I/O) completion port and associates it with a specified file handle, or creates an I/O completion port that is not yet associated with a file handle, allowing association at a later time.
 WinNT.HANDLE Kernel32.GetCurrentProcess()
          This function returns a pseudohandle for the current process.
 WinNT.HANDLE Kernel32.GetCurrentThread()
          The GetCurrentThread function retrieves a pseudo handle for the current thread.
 WinNT.HANDLE WinNT.HANDLEByReference.getValue()
           
 WinNT.HANDLE User32.LoadImage(WinDef.HINSTANCE hinst, java.lang.String name, int type, int xDesired, int yDesired, int load)
          This function loads an icon, cursor, or bitmap.
 WinNT.HANDLE Kernel32.OpenProcess(int fdwAccess, boolean fInherit, int IDProcess)
          This function returns a handle to an existing process object.
 WinNT.HANDLE Kernel32.OpenThread(int dwDesiredAccess, boolean bInheritHandle, int dwThreadId)
          The OpenThread function opens an existing thread object.
 WinNT.HANDLE GDI32.SelectObject(WinDef.HDC hDC, WinNT.HANDLE hGDIObj)
          The SelectObject function selects an object into the specified device context (DC).
 

Methods in com.sun.jna.platform.win32 with parameters of type WinNT.HANDLE
 boolean Kernel32.CloseHandle(WinNT.HANDLE hObject)
          The CloseHandle function closes an open object handle.
 WinNT.HANDLE Kernel32.CreateFile(java.lang.String lpFileName, int dwDesiredAccess, int dwShareMode, WinNT.SECURITY_ATTRIBUTES lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, WinNT.HANDLE hTemplateFile)
          The CreateFile function creates or opens a file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe.
 WinNT.HANDLE Kernel32.CreateFileMapping(WinNT.HANDLE hFile, WinNT.SECURITY_ATTRIBUTES lpAttributes, int flProtect, int dwMaximumSizeHigh, int dwMaximumSizeLow, java.lang.String lpName)
          Creates or opens a named or unnamed file mapping object for a specified file.
 WinNT.HANDLE Kernel32.CreateIoCompletionPort(WinNT.HANDLE FileHandle, WinNT.HANDLE ExistingCompletionPort, com.sun.jna.Pointer CompletionKey, int NumberOfConcurrentThreads)
          Creates an input/output (I/O) completion port and associates it with a specified file handle, or creates an I/O completion port that is not yet associated with a file handle, allowing association at a later time.
 boolean GDI32.DeleteObject(WinNT.HANDLE hObject)
          The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object.
 boolean Kernel32.DuplicateHandle(WinNT.HANDLE hSourceProcessHandle, WinNT.HANDLE hSourceHandle, WinNT.HANDLE hTargetProcessHandle, WinNT.HANDLEByReference lpTargetHandle, int dwDesiredAccess, boolean bInheritHandle, int dwOptions)
          The DuplicateHandle function duplicates an object handle.
 boolean Advapi32.DuplicateToken(WinNT.HANDLE ExistingTokenHandle, int ImpersonationLevel, WinNT.HANDLEByReference DuplicateTokenHandle)
          The DuplicateToken function creates a new access token that duplicates one already in existence.
 int Kernel32.GetProcessId(WinNT.HANDLE process)
          The GetProcessId function retrieves the process identifier of the specified process.
 boolean Kernel32.GetQueuedCompletionStatus(WinNT.HANDLE CompletionPort, com.sun.jna.ptr.IntByReference lpNumberOfBytes, com.sun.jna.ptr.ByReference lpCompletionKey, com.sun.jna.ptr.PointerByReference lpOverlapped, int dwMilliseconds)
          Attempts to dequeue an I/O completion packet from the specified I/O completion port.
static Advapi32Util.Account Advapi32Util.getTokenAccount(WinNT.HANDLE hToken)
          This function returns the information about the user who owns a security token,
static Advapi32Util.Account[] Advapi32Util.getTokenGroups(WinNT.HANDLE hToken)
          This function returns the groups associated with a security token, such as a user token.
 boolean Advapi32.GetTokenInformation(WinNT.HANDLE tokenHandle, int tokenInformationClass, com.sun.jna.Structure tokenInformation, int tokenInformationLength, com.sun.jna.ptr.IntByReference returnLength)
          Retrieves a specified type of information about an access token.
 boolean Advapi32.ImpersonateLoggedOnUser(WinNT.HANDLE hToken)
          The ImpersonateLoggedOnUser function lets the calling thread impersonate the security context of a logged-on user.
 boolean Kernel32.IsWow64Process(WinNT.HANDLE hProcess, com.sun.jna.ptr.IntByReference Wow64Process)
          The IsWow64Process function determines whether the specified process is running under WOW64.
 com.sun.jna.Pointer Kernel32.MapViewOfFile(WinNT.HANDLE hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, int dwNumberOfBytesToMap)
          Maps a view of a file mapping into the address space of a calling process.
 boolean Advapi32.OpenProcessToken(WinNT.HANDLE ProcessHandle, int DesiredAccess, WinNT.HANDLEByReference TokenHandle)
          The OpenProcessToken function opens the access token associated with a process.
 boolean Advapi32.OpenThreadToken(WinNT.HANDLE ThreadHandle, int DesiredAccess, boolean OpenAsSelf, WinNT.HANDLEByReference TokenHandle)
          The OpenThreadToken function opens the access token associated with a thread.
 boolean Kernel32.PostQueuedCompletionStatus(WinNT.HANDLE CompletionPort, int dwNumberOfBytesTransferred, com.sun.jna.Pointer dwCompletionKey, WinBase.OVERLAPPED lpOverlapped)
          Posts an I/O completion packet to an I/O completion port.
 boolean Kernel32.PulseEvent(WinNT.HANDLE hEvent)
          Sets the specified event object to the signaled state and then resets it to the nonsignaled state after releasing the appropriate number of waiting threads.
 boolean Kernel32.ReadDirectoryChangesW(WinNT.HANDLE directory, WinNT.FILE_NOTIFY_INFORMATION info, int length, boolean watchSubtree, int notifyFilter, com.sun.jna.ptr.IntByReference bytesReturned, WinBase.OVERLAPPED overlapped, Kernel32.OVERLAPPED_COMPLETION_ROUTINE completionRoutine)
          Retrieves information that describes the changes within the specified directory.
 WinNT.HANDLE GDI32.SelectObject(WinDef.HDC hDC, WinNT.HANDLE hGDIObj)
          The SelectObject function selects an object into the specified device context (DC).
 boolean Kernel32.SetEvent(WinNT.HANDLE hEvent)
          Sets the specified event object to the signaled state.
 void WinNT.HANDLEByReference.setValue(WinNT.HANDLE h)
           
 WinNT.HRESULT Shell32.SHGetFolderPath(WinDef.HWND hwndOwner, int nFolder, WinNT.HANDLE hToken, WinDef.DWORD dwFlags, char[] pszPath)
          Takes the CSIDL of a folder and returns the path.
 int Kernel32.WaitForMultipleObjects(int nCount, WinNT.HANDLE[] hHandle, boolean bWaitAll, int dwMilliseconds)
          Waits until one or all of the specified objects are in the signaled state or the time-out interval elapses.
 int Kernel32.WaitForSingleObject(WinNT.HANDLE hHandle, int dwMilliseconds)
          Waits until the specified object is in the signaled state or the time-out interval elapses.
 boolean Kernel32.WriteFile(WinNT.HANDLE hFile, byte[] lpBuffer, int nNumberOfBytesToWrite, com.sun.jna.ptr.IntByReference lpNumberOfBytesWritten, WinBase.OVERLAPPED lpOverlapped)
          Writes data to the specified file or input/output (I/O) device.
 int NtDll.ZwQueryKey(WinNT.HANDLE KeyHandle, int KeyInformationClass, com.sun.jna.Structure KeyInformation, int Length, com.sun.jna.ptr.IntByReference ResultLength)
          The ZwQueryKey routine provides information about the class of a registry key, and the number and sizes of its subkeys.
 

Constructors in com.sun.jna.platform.win32 with parameters of type WinNT.HANDLE
WinNT.HANDLEByReference(WinNT.HANDLE h)