Changeset 142 for trunk/src/helpers/apps.c
- Timestamp:
- Feb 21, 2002, 8:24:22 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/apps.c
r141 r142 786 786 */ 787 787 788 VOID CallBatchCorrectly(PPROGDETAILS pProgDetails,789 PXSTRING pstrParams, // in/out: modified parameters (reallocated)790 const char *pcszEnvVar, // in: env var spec'g command proc791 // (e.g. "OS2_SHELL"); can be NULL792 const char *pcszDefProc) // in: def't command proc (e.g. "CMD.EXE")788 static 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") 793 793 { 794 794 // XXX.CMD file as executable: … … 899 899 * wrapper around WinStartApp which copies all the 900 900 * parameters into a contiguous block of tiled memory. 901 * 901 902 * 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. 903 905 * 904 906 *@@added V0.9.18 (2002-02-13) [umoeller] 905 907 */ 906 908 907 APIRET CallWinStartApp(HAPP *phapp, // out: application handle if NO_ERROR is returned908 HWND hwndNotify, // in: notify window or NULLHANDLE909 const PROGDETAILS *pcProgDetails, // in: program spec (req.)910 PCSZ pcszParamsPatched)909 static 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) 911 913 { 912 914 ULONG cb, … … 932 934 933 935 // allocate a chunk of tiled memory from OS/2 to make sure 934 // this is aligned on a 64K memory ... otherwise we keep getting935 // hangs if this is memory that was allocated by some other thread936 // this is aligned on a 64K memory (backed up by a 16-bit 937 // LDT selector) 936 938 cb = sizeof(PROGDETAILS); 937 939 if (cbTitle = strhSize(pcProgDetails->pszTitle))
Note:
See TracChangeset
for help on using the changeset viewer.