Utilities.Win32Check Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.

Description

The Utilities.Win32Check method checks a Windows API call’s return value and raises an appropriate exception when this call returns False, which indicates failure.

Declaration

Utilities.Win32Check(RetVal)

RetVal [in]    Required    Boolean    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

RetVal

The return value of the desired Windows API call.

Result Value

If the Windows function returns True, Win32Check returns True as well. Otherwise, it returns False and raises an appropriate exception.

Remarks

This method is obsolete and supported for backward compatibility only. To checks a Windows API call’s return value, use the aqUtils.Win32Check method.

See Also

Win32Check Method
SysErrorMessage Method

Highlight search results