TseQueryRunningOnConsole() function
- Last UpdatedJul 22, 2024
- 1 minute read
The TseQueryRunningOnConsole() function can be run from a script to indicate whether the View application is running on a Terminal Services console.
Syntax
Result=TseQueryRunningOnConsole();
Return value
Returns a non-zero integer value if the View application is running on a Terminal Services console. Otherwise, the TseQueryRunningOnConsole() function returns a zero.
Example
IntTag is set to 1 if WindowViewer is running on a Terminal Services console.
IntTag=TseQueryRunningOnConsole();