call_level

Returns the current call level.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

int call_level()

Description

Returns the current call() level. The starting level is 0.

Example

Determine if the application was called from DVrun or by a call():
if (call_level()) printf("We were invoked via call()"); 
else              printf("We were invoked via DVrun");