You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version and vendor of the java virtual machine: OpenJDK 17.0.8 LTS
Operating system: Windows
System architecture (CPU type, bitness of the JVM): x86-64, 64-Bit
Complete description of the problem: Win32 API functions SetPriorityClass() and SetThreadPriority() are missing from the com.sun.jna.platform.win32.Kernel32 class (from jna-platform-5.13.0.jar)
Steps to reproduce: Add jna-platform-5.13.0.jar to the class path and try to call the missing functions SetPriorityClass() or SetThreadPriority() from Kernel32.INSTANCE; they are not currently available 😞
Obviously, those functions, which have been available from Kernel32.DLL since (at least) Windows XP, have been forgotten in the implementation of com.sun.jna.platform.win32.Kernel32. Please consider adding the missing functions 😏
These functions are very useful to change the priority of a process and/or thread.
SetPriorityClass function
Sets the priority class for the specified process. This value together with the priority value of each thread of the process determines each thread's base priority level.
Provide complete information about the problem
SetPriorityClass()
andSetThreadPriority()
are missing from thecom.sun.jna.platform.win32.Kernel32
class (fromjna-platform-5.13.0.jar
)jna-platform-5.13.0.jar
to the class path and try to call the missing functionsSetPriorityClass()
orSetThreadPriority()
fromKernel32.INSTANCE
; they are not currently available 😞Obviously, those functions, which have been available from
Kernel32.DLL
since (at least) Windows XP, have been forgotten in the implementation ofcom.sun.jna.platform.win32.Kernel32
. Please consider adding the missing functions 😏These functions are very useful to change the priority of a process and/or thread.
Thanks!
The text was updated successfully, but these errors were encountered: