| 
            Last change
 on this file since 1492 was             1488, checked in by Gregg Young, 16 years ago           | 
        
        
          | 
             
Fixed commands so reordering them in commands.dat no longer changes their ID or hot key assignment; added 20 new hot keys; the environment information is now used when executing a command; some code clean up in command.c; added CheckExecutibleFlags to systemf.c the eliminate repetative code in assoc.c, command.c & cmdline.c 
 
           | 
        
        
          
            
              - 
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 1488 2009-12-21 23:42:55Z 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 | 
 | 
|---|
| 39 | typedef 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 | }
 | 
|---|
| 49 | EXECARGS;
 | 
|---|
| 50 | 
 | 
|---|
| 51 | ULONG CheckExecutibleFlags(HWND hwnd, INT caller);
 | 
|---|
| 52 | INT ExecOnList(HWND hwnd, PSZ command, INT flags, PSZ tpath,
 | 
|---|
| 53 |                PSZ *list, PCSZ prompt, PCSZ pszCallingFile, UINT uiLineNumber);
 | 
|---|
| 54 | BOOL ShowSession(HWND hwnd, PID pid);
 | 
|---|
| 55 | INT 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.