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
RevLine 
[1170]1
2/***********************************************************************
3
[1201]4 $Id: systemf.h 1497 2010-01-08 04:39:40Z gyoung $
[1170]5
[1201]6 <<<description here>>>
[1170]7
[1201]8 Copyright (c) 1993-98 M. Kimes
[1394]9 Copyright (c) 2008, 2009 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
[1170]13
14***********************************************************************/
15
16#if !defined(SYSTEMF_H)
17#define SYSTEMF_H
18
[1187]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
[1170]38
[1227]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;
[1187]50
[1488]51ULONG CheckExecutibleFlags(HWND hwnd, INT caller);
[1497]52INT ExecOnList(HWND hwnd, PSZ command, INT flags, PSZ tpath, PSZ environment,
[1394]53 PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber);
[1227]54BOOL ShowSession(HWND hwnd, PID pid);
55INT runemf2(INT type, HWND hwnd, PCSZ pszCallingFile, UINT uiLineNumber,
[1394]56 PSZ directory, PSZ environment,
57 PSZ formatstring, ...);
[1187]58
[1227]59
[1170]60#endif // SYSTEMF_H
Note: See TracBrowser for help on using the repository browser.