myManType()

Returns the type of the current manager.

Synopsis

unsignedmyManType();

Parameters

Parameter Meaning
none -

Return value

Type of the manager as a number.

The following manager types exist as control constants:

Number Meaning
0 NO_MAN
1 EVENT_MAN
2 DRIVER_MAN
3 DB_MAN
4 UI_MAN
5 CTRL_MAN
6 ASCII_MAN
7 API_MAN
8 DEVICE_MAN
9 REDU_MAN
10 REPORT_MAN
11 DDE_MAN
12 DIST_MAN

Error

Description

The function returns the current manager type (number). If, for example, the number 4 is returned, the manager is the UI_MAN (see table above).

Example

main()
{
  unsigned manT;
  manT = myManType();
  DebugN(manT);
}

Assignment

Management of managers...

Availability

CTRL