Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FourFlow Control (continued)

GetThreadHandle Function

Overview

The GetThreadHandle function returns the handle to the current thread if the script is running in background.

Syntax/Parameters

Syntax

handle = GetThreadHandle ( );

Parameters

(none)

 

Return Value

Returns a handle to the currently running script’s execution thread. If the script is not running in the background, the return value will be NULL_HANDLE.

Remarks

The returned handle is the actual Windows thread handle. It can be used to access the script or thread information.

This handle should not be closed.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic