public final class NativeMethods extends Object
Contains methods that allow access to Windows C++ dll files.
Modifier and Type | Class and Description |
---|---|
static interface |
NativeMethods.Kernel32
Interface object to hold all the Kernel32 Instances.
|
static interface |
NativeMethods.Secur32
Interface object to hold all the Secur32 Instances.
|
static interface |
NativeMethods.Shell32
Interface object to hold all the Shell32 Instances.
|
Modifier and Type | Method and Description |
---|---|
static int |
getProductInfo(int major,
int minor)
Generates a new instance of the ProductInfo object.
|
static boolean |
getSystemMetrics(int nIndex)
Checks if a system metrics value is true.
|
static boolean |
getVersionInfoFailed(com.sun.jna.platform.win32.WinNT.OSVERSIONINFOEX osVersionInfo)
Generates a new instance of the VersionInfo object.
|
public static boolean getVersionInfoFailed(com.sun.jna.platform.win32.WinNT.OSVERSIONINFOEX osVersionInfo)
Generates a new instance of the VersionInfo object.
osVersionInfo
- Empty VersionInfo object to fillpublic static boolean getSystemMetrics(int nIndex)
Checks if a system metrics value is true.
nIndex
- Value to check forpublic static int getProductInfo(int major, int minor)
Generates a new instance of the ProductInfo object.
major
- versionminor
- versionCopyright © 2017–2018 J&G CompTech. All rights reserved.