TseQueryRunningOnConsole() Function
- Last UpdatedFeb 21, 2017
- 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();