source: trunk/dll/systemf.h@ 1271

Last change on this file since 1271 was 1271, checked in by Gregg Young, 17 years ago

A fix for the ticket 58 hang which runs runemf2 with the WAIT flag in a separate thread. This appears to fix Ticket 58 for all cases. Removed semaphore fix and reverted hTermQSem code.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1
2/***********************************************************************
3
4 $Id: systemf.h 1271 2008-11-10 03:58:50Z gyoung $
5
6 <<<description here>>>
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008 Steven H. Levine
10
11 Change log
12
13***********************************************************************/
14
15#if !defined(SYSTEMF_H)
16#define SYSTEMF_H
17
18#define RUNTYPE_MASK 0xf
19#define SYNCHRONOUS 1
20#define ASYNCHRONOUS 2
21#define DETACHED 3
22#define SEPARATE 4
23#define SEPARATEKEEP 5
24#define WINDOWED 16
25#define MAXIMIZED 32
26#define MINIMIZED 64
27#define FULLSCREEN 128
28#define INVISIBLE 256
29#define BACKGROUND 512
30#define WAIT 1024
31#define PROMPT 2048
32#define KEEP 4096
33#define ONCE 8192
34#define DIEAFTER 16384
35#define SEAMLESS 32768
36#define CHILD 65536
37
38typedef struct
39{
40 ULONG flags;
41 CHAR *commandline;
42 CHAR path[CCHMAXPATH];
43 CHAR environment[1001];
44 CHAR tempprompt[128];
45 CHAR title[80];
46 BOOL dropped;
47}
48EXECARGS;
49
50INT ExecOnList(HWND hwnd, CHAR * command, INT flags, CHAR * tpath,
51 CHAR ** list, CHAR * prompt, PCSZ pszCallingFile, UINT uiLineNumber);
52BOOL ShowSession(HWND hwnd, PID pid);
53INT runemf2(INT type, HWND hwnd, PCSZ pszCallingFile, UINT uiLineNumber,
54 CHAR * directory, CHAR * environment,
55 CHAR * formatstring, ...);
56
57
58#endif // SYSTEMF_H
Note: See TracBrowser for help on using the repository browser.