Changeset 78 for trunk/dll/systemf.c
- Timestamp:
- Nov 22, 2003, 3:58:41 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r2 r78 1 2 /*********************************************************************** 3 4 $Id$ 5 6 System Interfaces 7 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2003 Steven H.Levine 10 11 Revisions 21 Nov 03 SHL - Comments 12 13 ***********************************************************************/ 14 1 15 #define INCL_WIN 2 16 #define INCL_WINERRORS … … 21 35 /* quick and dirty program launcher for OS/2 2.x */ 22 36 23 24 BOOL ShowSession (HWND hwnd,PID pid){37 BOOL ShowSession (HWND hwnd,PID pid) 38 { 25 39 26 40 HSWITCH hswitch; … … 36 50 if(!rc) 37 51 return TRUE; 38 // else saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Failed: %lu/%lx",rc,rc);52 // else saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Failed: %lu/%lx",rc,rc); 39 53 40 54 } … … 45 59 46 60 int ExecOnList (HWND hwnd, char *command, int flags, char *tpath, 47 char **list,char *prompt) { 61 char **list,char *prompt) 62 { 48 63 49 64 /* executes the command once for all files in list */ … … 58 73 *listfile = 0; 59 74 lstrip(rstrip(command)); 60 61 /*62 if(*command == '\"') {63 memmove(command,command + 1,strlen(command));64 if(!*command)65 return -1;66 p = strchr(command,'\"');67 if(p)68 memmove(p,p + 1,strlen(p));69 if(!*command)70 return -1;71 }72 */73 75 74 76 *path = 0; … … 586 588 587 589 int runemf2 (int type,HWND hwnd,char *directory,char *environment, 588 char *formatstring,...) { 590 char *formatstring,...) 591 { 589 592 590 593 /* example: … … 1087 1090 1088 1091 HAPP Exec (HWND hwndNotify,BOOL child,char *startdir,char *env, 1089 PROGTYPE *progt,ULONG fl,char *formatstring,...) { 1092 PROGTYPE *progt,ULONG fl,char *formatstring,...) 1093 { 1090 1094 1091 1095 PROGDETAILS pgd;
Note:
See TracChangeset
for help on using the changeset viewer.