|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.win32.system.DllVersionInfo
This class represents the DLLVERSIONINFO structure and provides the ability to load this structure from a specified library.
Note: Not all libraries have the DllGetVersion function, which is used by this class.
Therefore, loading of version information from such a library will fail with NoSuchFunctionException thrown.
| Field Summary | |
static int |
DLLVER_PLATFORM_NT
The DLL was built specifically for Microsoft Windows NT®. |
static int |
DLLVER_PLATFORM_WINDOWS
The DLL was built for all Microsoft® Windows® platforms. |
| Fields inherited from class com.jniwrapper.Structure |
f |
| Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
| Constructor Summary | |
DllVersionInfo(java.lang.String libraryName)
Creates a new instance and automatically tries to load DLL version information from the specified library. |
|
| Method Summary | |
java.lang.Object |
clone()
|
int |
getBuildNumber()
Returns the build number of the DLL. |
int |
getMajorVersion()
Returns the major version of the DLL. |
int |
getMinorVersion()
Returns the minor version of the DLL. |
int |
getPlatformID()
Returns the platform identifier for which the DLL was built. |
java.lang.String |
toString()
|
| Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
| Methods inherited from class com.jniwrapper.Parameter |
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int DLLVER_PLATFORM_WINDOWS
public static final int DLLVER_PLATFORM_NT
| Constructor Detail |
public DllVersionInfo(java.lang.String libraryName)
throws com.jniwrapper.NoSuchFunctionException
libraryName - the library name to load version info from.
com.jniwrapper.NoSuchFunctionException - if the specified library does not export DllGetVersion.| Method Detail |
public int getMajorVersion()
public int getMinorVersion()
public int getBuildNumber()
public int getPlatformID()
DLLVER_PLATFORM_WINDOWSDLLVER_PLATFORM_NT
public java.lang.String toString()
public java.lang.Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||