Changeset 310 for trunk/src/helpers


Ignore:
Timestamp:
Apr 1, 2006, 5:46:11 PM (19 years ago)
Author:
pr
Message:

Added title parameter to doshQuickStartSesssion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh.c

    r271 r310  
    46584658 *@@changed V1.0.2  (2003-02-04) [jsmall  ]: inserted new 3rd parameter for session type
    46594659 *@@changed V1.0.2  (2003-02-04) [jsmall  ]: changed code so when fWait = FALSE then session is started as independent, not as a child
     4660 *@@changed V1.0.5 (2006-04-01) [pr]: Added pcszTitle parameter
    46604661 */
    46614662
    46624663APIRET doshQuickStartSession(PCSZ pcszPath,         // in: program to start
    46634664                             PCSZ pcszParams,       // in: parameters for program
     4665                             PCSZ pcszTitle,        // in: window title
    46644666                             USHORT usSessionType,  // in: session type
    46654667                             BOOL fForeground,      // in: if TRUE, session will be in foreground
     
    46974699        SData.TraceOpt = SSF_TRACEOPT_NONE;
    46984700
    4699         SData.PgmTitle = (PSZ)pcszPath;       // title for window
     4701        // V1.0.5 (2006-04-01) [pr]
     4702        if (pcszTitle && *pcszTitle)
     4703            SData.PgmTitle = (PSZ)pcszTitle;      // title for window
     4704        else
     4705            SData.PgmTitle = (PSZ)pcszPath;
     4706
    47004707        SData.PgmName = (PSZ)pcszPath;
    47014708        SData.PgmInputs = (PSZ)pcszParams;
Note: See TracChangeset for help on using the changeset viewer.