Ignore:
Timestamp:
Feb 21, 2002, 8:24:22 PM (23 years ago)
Author:
umoeller
Message:

misc. updates

File:
1 edited

Legend:

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

    r141 r142  
    786786 */
    787787
    788 VOID CallBatchCorrectly(PPROGDETAILS pProgDetails,
    789                         PXSTRING pstrParams,        // in/out: modified parameters (reallocated)
    790                         const char *pcszEnvVar,     // in: env var spec'g command proc
    791                                                     // (e.g. "OS2_SHELL"); can be NULL
    792                         const char *pcszDefProc)    // in: def't command proc (e.g. "CMD.EXE")
     788static VOID CallBatchCorrectly(PPROGDETAILS pProgDetails,
     789                               PXSTRING pstrParams,        // in/out: modified parameters (reallocated)
     790                               const char *pcszEnvVar,     // in: env var spec'g command proc
     791                                                           // (e.g. "OS2_SHELL"); can be NULL
     792                               const char *pcszDefProc)    // in: def't command proc (e.g. "CMD.EXE")
    793793{
    794794    // XXX.CMD file as executable:
     
    899899 *      wrapper around WinStartApp which copies all the
    900900 *      parameters into a contiguous block of tiled memory.
     901 *
    901902 *      This might fix some of the problems with truncated
    902  *      environments we were having.
     903 *      environments we were having because apparently the
     904 *      WinStartApp thunking to 16-bit doesn't always work.
    903905 *
    904906 *@@added V0.9.18 (2002-02-13) [umoeller]
    905907 */
    906908
    907 APIRET CallWinStartApp(HAPP *phapp,            // out: application handle if NO_ERROR is returned
    908                        HWND hwndNotify,        // in: notify window or NULLHANDLE
    909                        const PROGDETAILS *pcProgDetails, // in: program spec (req.)
    910                        PCSZ pcszParamsPatched)
     909static APIRET CallWinStartApp(HAPP *phapp,            // out: application handle if NO_ERROR is returned
     910                              HWND hwndNotify,        // in: notify window or NULLHANDLE
     911                              const PROGDETAILS *pcProgDetails, // in: program spec (req.)
     912                              PCSZ pcszParamsPatched)
    911913{
    912914    ULONG   cb,
     
    932934
    933935    // allocate a chunk of tiled memory from OS/2 to make sure
    934     // this is aligned on a 64K memory... otherwise we keep getting
    935     // hangs if this is memory that was allocated by some other thread
     936    // this is aligned on a 64K memory (backed up by a 16-bit
     937    // LDT selector)
    936938    cb = sizeof(PROGDETAILS);
    937939    if (cbTitle = strhSize(pcProgDetails->pszTitle))
Note: See TracChangeset for help on using the changeset viewer.