| [1170] | 1 |  | 
|---|
|  | 2 | /*********************************************************************** | 
|---|
|  | 3 |  | 
|---|
| [1201] | 4 | $Id: systemf.h 1521 2010-05-02 21:48:59Z gyoung $ | 
|---|
| [1170] | 5 |  | 
|---|
| [1201] | 6 | <<<description here>>> | 
|---|
| [1170] | 7 |  | 
|---|
| [1201] | 8 | Copyright (c) 1993-98 M. Kimes | 
|---|
| [1498] | 9 | Copyright (c) 2008, 2010 Steven H. Levine | 
|---|
| [1170] | 10 |  | 
|---|
| [1201] | 11 | Change log | 
|---|
| [1488] | 12 | 21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c | 
|---|
| [1521] | 13 | 17 JAN 10 GKY Changes to environment handling in ExecuteOnList to facilitate move of commands | 
|---|
|  | 14 | to INI and allow the same commandline to have different environments | 
|---|
|  | 15 | (multiple different command titles). | 
|---|
|  | 16 | 17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded | 
|---|
|  | 17 | sizes) set to 2048 (the largest value I found). | 
|---|
| [1170] | 18 |  | 
|---|
|  | 19 | ***********************************************************************/ | 
|---|
|  | 20 |  | 
|---|
|  | 21 | #if !defined(SYSTEMF_H) | 
|---|
|  | 22 | #define SYSTEMF_H | 
|---|
|  | 23 |  | 
|---|
| [1187] | 24 | #define RUNTYPE_MASK  0xf | 
|---|
|  | 25 | #define SYNCHRONOUS   1 | 
|---|
|  | 26 | #define ASYNCHRONOUS  2 | 
|---|
|  | 27 | #define DETACHED      3 | 
|---|
|  | 28 | #define SEPARATE      4 | 
|---|
|  | 29 | #define SEPARATEKEEP  5 | 
|---|
|  | 30 | #define WINDOWED      16 | 
|---|
|  | 31 | #define MAXIMIZED     32 | 
|---|
|  | 32 | #define MINIMIZED     64 | 
|---|
|  | 33 | #define FULLSCREEN    128 | 
|---|
|  | 34 | #define INVISIBLE     256 | 
|---|
|  | 35 | #define BACKGROUND    512 | 
|---|
|  | 36 | #define WAIT          1024 | 
|---|
|  | 37 | #define PROMPT        2048 | 
|---|
|  | 38 | #define KEEP          4096 | 
|---|
|  | 39 | #define ONCE          8192 | 
|---|
|  | 40 | #define DIEAFTER      16384 | 
|---|
|  | 41 | #define SEAMLESS      32768 | 
|---|
|  | 42 | #define CHILD         65536 | 
|---|
| [1170] | 43 |  | 
|---|
| [1498] | 44 | #define ENVIRONMENT_SIZE 2048 | 
|---|
|  | 45 |  | 
|---|
| [1227] | 46 | typedef struct | 
|---|
|  | 47 | { | 
|---|
|  | 48 | ULONG flags; | 
|---|
|  | 49 | CHAR *commandline; | 
|---|
|  | 50 | CHAR path[CCHMAXPATH]; | 
|---|
| [1498] | 51 | CHAR environment[ENVIRONMENT_SIZE]; | 
|---|
| [1227] | 52 | CHAR tempprompt[128]; | 
|---|
|  | 53 | CHAR title[80]; | 
|---|
|  | 54 | BOOL dropped; | 
|---|
|  | 55 | } | 
|---|
|  | 56 | EXECARGS; | 
|---|
| [1187] | 57 |  | 
|---|
| [1488] | 58 | ULONG CheckExecutibleFlags(HWND hwnd, INT caller); | 
|---|
| [1497] | 59 | INT ExecOnList(HWND hwnd, PSZ command, INT flags, PSZ tpath, PSZ environment, | 
|---|
| [1394] | 60 | PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber); | 
|---|
| [1227] | 61 | BOOL ShowSession(HWND hwnd, PID pid); | 
|---|
|  | 62 | INT runemf2(INT type, HWND hwnd, PCSZ pszCallingFile, UINT uiLineNumber, | 
|---|
| [1394] | 63 | PSZ directory, PSZ environment, | 
|---|
|  | 64 | PSZ formatstring, ...); | 
|---|
| [1187] | 65 |  | 
|---|
| [1227] | 66 |  | 
|---|
| [1170] | 67 | #endif // SYSTEMF_H | 
|---|