Data Structures | |
struct | _appvar |
struct | APPvar |
the application descriptor structure. More... | |
Typedefs | |
typedef _appvar | APPvar |
Functions | |
APPvar * | mt_ApplInit (void) |
AES and WinDom initialization. | |
int | mt_ApplExit (APPvar *app) |
Terminate a WinDom and AES session. | |
int | mt_ApplGet (APPvar *app, int mode, short *v1, short *v2, short *v3, short *v4) |
Get application parameters. | |
int | mt_ApplSet (APPvar *app, int mode, short v1, short v2, short v3, short v4) |
Set application parameters. | |
int | mt_ApplName (APPvar *app, char *name, int handle) |
Identify the name of a GEM process. | |
int | mt_ApplWrite (APPvar *app, int to, int msg, int b3, int b4, int b5, int b6, int b7) |
Send a message to a GEM process. | |
int | mt_ApplControl (APPvar *app, int ap_cid, int ap_cwhat, void *ap_cout) |
Control of GEM process. | |
int | ApplInit (void) |
see mt_ApplInit() | |
int | ApplExit (void) |
see mt_ApplExit() |
|
|
|
see mt_ApplExit()
|
|
see mt_ApplInit()
|
|
Control of GEM process.
If the AES supports mt_appl_control(), then mt_appl_control with the given parameters is invoked. If Magic is detected, as Magic doesn't support mt_appl_control(), we try to emulate this function thanks to the Magic specific message SM_M_SPECIAL. At the moment, only the following actions (parameter ap_cwhat) are emulated :
|
|
Terminate a WinDom and AES session.
|
|
Get application parameters.
Usage of v1, v2, v3 and v4 depends on mode value. For details about this mode, read manual of _config. The NULL value can be used if a parameter has not to be read
|
|
AES and WinDom initialization.
|
|
Identify the name of a GEM process.
|
|
Set application parameters.
Refer to the documentation of the _config private stucture for details about the configuration and possible values of mode, v1, v2, v3 and v4. The special DEFVAL value does not change the value. For example : // Set only the color of string objects mt_ApplSet( app, APS_STRSTYLE, DEFVAL, DEFVAL, RED);
|
|
Send a message to a GEM process.
Example: void ex_vastart( APPvar *app) { ApplWrite( id_target, VA_START, ADR(strcpy(app->pipe,"C:\\NEWDESK.INF")), 0, 0); }
|