aqUtils.Win32Check Method

Applies to TestComplete 14.71, last modified on April 22, 2021
This method is obsolete. See the Remarks section below.

Description

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

Declaration

aqUtils.Win32Check(ExitCode)

ExitCode [in]    Required    Boolean    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

ExitCode

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. It is supported for backward compatibility only.

See Also

SysErrorMessage Method

Highlight search results