Changeset 78 for trunk/dll/systemf.c


Ignore:
Timestamp:
Nov 22, 2003, 3:58:41 AM (22 years ago)
Author:
root
Message:

Comments

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
    115#define INCL_WIN
    216#define INCL_WINERRORS
     
    2135/* quick and dirty program launcher for OS/2 2.x */
    2236
    23 
    24 BOOL ShowSession (HWND hwnd,PID pid) {
     37BOOL ShowSession (HWND hwnd,PID pid)
     38{
    2539
    2640        HSWITCH hswitch;
     
    3650      if(!rc)
    3751        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);
    3953
    4054                }
     
    4559
    4660int ExecOnList (HWND hwnd, char *command, int flags, char *tpath,
    47                 char **list,char *prompt) {
     61                char **list,char *prompt)
     62{
    4863
    4964        /* executes the command once for all files in list */
     
    5873  *listfile = 0;
    5974  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 */
    7375
    7476  *path = 0;
     
    586588
    587589int runemf2 (int type,HWND hwnd,char *directory,char *environment,
    588              char *formatstring,...) {
     590             char *formatstring,...)
     591{
    589592
    590593        /* example:
     
    10871090
    10881091HAPP Exec (HWND hwndNotify,BOOL child,char *startdir,char *env,
    1089            PROGTYPE *progt,ULONG fl,char *formatstring,...) {
     1092           PROGTYPE *progt,ULONG fl,char *formatstring,...)
     1093{
    10901094
    10911095  PROGDETAILS    pgd;
Note: See TracChangeset for help on using the changeset viewer.