source: trunk/dll/systemf.h@ 1497

Last change on this file since 1497 was 1497, checked in by Gregg Young, 16 years ago

Update ExecOnList to pass environment

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