This method of the DllLib class throws a Win32Exception using the error code set by the last DLL-imported method (declared with the setLastError modifier) that is invoked on the current thread.
Note Only DLL methods declared with the setLastError modifier can set error codes.
public static final void throwWin32Exception();