Extended GEM function manuals appl_getinfo() appl_control()
Programming guideline of WinDom

appl_search()

NOM

appl_search() - identification of GEM processes.

PROTOTYPAGE

int appl_search( int mode, char *fname, int type, int ap_id);

PARAMETERS

mode:
0 (first process), 1 (next process),

fname:
process name (a 8-character string eventually filled with space characters)

type:
process type (bit fiold):

  • 0x01: system process,

  • 0x02: application,

  • 0x04: desktop accessory,

  • 0x08: desktop.

ap_id:
process GEM id,

return:
0 if no more process to list.

DESCRIPTION

This function is avalaible in PCGEMLIB.LIB from version 1.1 of Pure C. The AES4_APPSEARCH bit of app.aes4 variable is set to 1 if appl_search() is avalaible. The function is usually used to list the GEM processes.

SEE ALSO

ApplName(), appl_getinfo()