Changeset 253
- Timestamp:
- Jul 4, 2003, 4:12:24 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/call_file_dlg.c
r160 r253 21 21 * 22 22 *@@added V0.9.19 (2002-04-24) [umoeller] 23 *@@changed V1.0.2 (2003-03-07) [umoeller]: HWND_DESKTOP owner causes focus problems, fixed 23 24 */ 24 25 … … 166 167 memset((PBYTE)pfdShared, 0, cbShared); 167 168 169 // fix HWND_DESKTOP owner V1.0.2 (2003-03-07) [umoeller] 170 if (hwndOwner == HWND_DESKTOP) 171 hwndOwner = NULLHANDLE; 172 168 173 // copy owner window 169 174 pfdShared->hwndOwner = hwndOwner; -
trunk/include/helpers/dosh.h
r249 r253 731 731 APIRET doshQuickStartSession(PCSZ pcszPath, 732 732 PCSZ pcszParams, 733 USHORT usSessionType, 733 734 BOOL fForeground, 734 735 USHORT usPgmCtl, -
trunk/src/cppbase/bs_config.cpp
r249 r253 85 85 // as unsigned char 86 86 87 #define INCL_DOSSESMGR 87 88 #define INCL_DOSSEMAPHORES 88 89 #define INCL_DOSERRORS … … 2292 2293 if (_arc = doshQuickStartSession("cmd.exe", 2293 2294 (PSZ)strParams.c_str(), 2295 SSF_TYPE_DEFAULT, // session type 2294 2296 FALSE, // foreground 2295 2297 0, // auto-close, visible -
trunk/src/helpers/dosh.c
r249 r253 4610 4610 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed potential queue leak 4611 4611 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed memory leak in wait mode; added pusReturn to prototype 4612 */ 4613 4614 APIRET doshQuickStartSession(PCSZ pcszPath, // in: program to start 4615 PCSZ pcszParams, // in: parameters for program 4616 BOOL fForeground, // in: if TRUE, session will be in foreground 4617 USHORT usPgmCtl, // in: STARTDATA.PgmControl 4618 BOOL fWait, // in: wait for termination? 4619 PULONG pulSID, // out: session ID (req.) 4620 PPID ppid, // out: process ID (req.) 4621 PUSHORT pusReturn) // out: in wait mode, session's return code (ptr can be NULL) 4612 *@@changed V1.0.2 (2003-02-04) [jsmall ]: inserted new 3rd parameter for session type 4613 *@@changed V1.0.2 (2003-02-04) [jsmall ]: changed code so when fWait = FALSE then session is started as independent, not as a child 4614 */ 4615 4616 APIRET doshQuickStartSession(PCSZ pcszPath, // in: program to start 4617 PCSZ pcszParams, // in: parameters for program 4618 USHORT usSessionType, // in: session type 4619 BOOL fForeground, // in: if TRUE, session will be in foreground 4620 USHORT usPgmCtl, // in: STARTDATA.PgmControl 4621 BOOL fWait, // in: wait for termination? 4622 PULONG pulSID, // out: session ID (req.) 4623 PPID ppid, // out: process ID (req.) 4624 PUSHORT pusReturn) // out: in wait mode, session's return code (ptr can be NULL) 4622 4625 { 4623 4626 APIRET arc = NO_ERROR; … … 4641 4644 4642 4645 SData.Length = sizeof(STARTDATA); 4643 SData.Related = SSF_RELATED_CHILD; //INDEPENDENT; 4646 // SData.Related = SSF_RELATED_CHILD; //INDEPENDENT; 4647 SData.Related = (fWait) ? SSF_RELATED_CHILD : SSF_RELATED_INDEPENDENT; 4648 // V1.0.2 (2003-02-04) [jsmall] 4644 4649 SData.FgBg = (fForeground) ? SSF_FGBG_FORE : SSF_FGBG_BACK; 4645 4650 // V0.9.3 (2000-05-03) [umoeller] … … 4653 4658 SData.Environment = 0; 4654 4659 SData.InheritOpt = SSF_INHERTOPT_PARENT; 4655 SData.SessionType = SSF_TYPE_DEFAULT; 4660 // SData.SessionType = SSF_TYPE_DEFAULT; 4661 SData.SessionType = usSessionType; // V1.0.2 (2003-02-04) [jsmall] 4656 4662 SData.IconFile = 0; 4657 4663 SData.PgmHandle = 0;
Note:
See TracChangeset
for help on using the changeset viewer.