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

Added title parameter to doshQuickStartSession

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1-0/src/helpers/dosh.c

    r300 r311  
    43104310 *@@changed V1.0.4  (2005-10-16) [jsmall  ]: inserted new 3rd parameter for session type
    43114311 *@@changed V1.0.4  (2005-10-16) [jsmall  ]: changed code so when fWait = FALSE then session is started as independent, not as a child
     4312 *@@changed V1.0.5 (2006-04-01) [pr]: Added pcszTitle parameter
    43124313 */
    43134314
    43144315APIRET doshQuickStartSession(PCSZ pcszPath,       // in: program to start
    43154316                             PCSZ pcszParams,     // in: parameters for program
     4317                             PCSZ pcszTitle,      // in: window title
    43164318                             USHORT usSessionType,  // in: session type
    43174319                             BOOL fForeground,  // in: if TRUE, session will be in foreground
     
    43484350        SData.TraceOpt = SSF_TRACEOPT_NONE;
    43494351
    4350         SData.PgmTitle = (PSZ)pcszPath;       // title for window
     4352        // V1.0.5 (2006-04-01) [pr]
     4353        if (pcszTitle && *pcszTitle)
     4354            SData.PgmTitle = (PSZ)pcszTitle;      // title for window
     4355        else
     4356            SData.PgmTitle = (PSZ)pcszPath;
     4357
    43514358        SData.PgmName = (PSZ)pcszPath;
    43524359        SData.PgmInputs = (PSZ)pcszParams;
Note: See TracChangeset for help on using the changeset viewer.