Microsoft SDK for Java

throwWin32Exception

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.

Syntax

public static final void throwWin32Exception();

© 1999 Microsoft Corporation. All rights reserved. Terms of use.