- Timestamp:
- Oct 17, 2005, 9:05:11 PM (20 years ago)
- Location:
- branches/branch-1-0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1-0/include/helpers/dosh.h
r286 r300 710 710 APIRET doshQuickStartSession(PCSZ pcszPath, 711 711 PCSZ pcszParams, 712 USHORT usSessionType, 712 713 BOOL fForeground, 713 714 USHORT usPgmCtl, -
branches/branch-1-0/include/helpers/syssound.h
r184 r300 37 37 * 38 38 ********************************************************************/ 39 40 /* Undocumented WinAlarm Values to reflect changes to sound settings right away */ 41 #define WA_TEST 997 42 #define WA_ENABLESOUNDS 998 43 #define WA_APPLYVOLUMETOALL 999 44 #define WA_FILECHANGED 1000 39 45 40 46 /* keys for accessing sounds in MMPM.INI */ -
branches/branch-1-0/src/helpers/dosh.c
r273 r300 4308 4308 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed potential queue leak 4309 4309 *@@changed V0.9.14 (2001-08-03) [umoeller]: fixed memory leak in wait mode; added pusReturn to prototype 4310 *@@changed V1.0.4 (2005-10-16) [jsmall ]: inserted new 3rd parameter for session type 4311 *@@changed V1.0.4 (2005-10-16) [jsmall ]: changed code so when fWait = FALSE then session is started as independent, not as a child 4310 4312 */ 4311 4313 4312 4314 APIRET doshQuickStartSession(PCSZ pcszPath, // in: program to start 4313 4315 PCSZ pcszParams, // in: parameters for program 4316 USHORT usSessionType, // in: session type 4314 4317 BOOL fForeground, // in: if TRUE, session will be in foreground 4315 4318 USHORT usPgmCtl, // in: STARTDATA.PgmControl … … 4339 4342 4340 4343 SData.Length = sizeof(STARTDATA); 4341 SData.Related = SSF_RELATED_CHILD; //INDEPENDENT; 4344 SData.Related = (fWait) ? SSF_RELATED_CHILD : SSF_RELATED_INDEPENDENT; 4345 // V1.0.4 (2005-10-16) [jsmall] 4342 4346 SData.FgBg = (fForeground) ? SSF_FGBG_FORE : SSF_FGBG_BACK; 4343 4347 // V0.9.3 (2000-05-03) [umoeller] … … 4351 4355 SData.Environment = 0; 4352 4356 SData.InheritOpt = SSF_INHERTOPT_PARENT; 4353 SData.SessionType = SSF_TYPE_DEFAULT;4357 SData.SessionType = usSessionType; // V1.0.4 (2005-10-16) [jsmall] 4354 4358 SData.IconFile = 0; 4355 4359 SData.PgmHandle = 0; -
branches/branch-1-0/src/helpers/syssound.c
r264 r300 380 380 // this is done by calling WinAlarm with 1000+index! 381 381 // sick stuff.. 382 WinAlarm(HWND_DESKTOP, usIndex+1000); // V0.9.6 (2000-10-16) [umoeller]382 WinAlarm(HWND_DESKTOP, WA_FILECHANGED + usIndex); // V0.9.6 (2000-10-16) [umoeller] 383 383 384 384 return brc; … … 701 701 // notify MMPM/2 of the change... see sndWriteSoundData 702 702 // V0.9.6 (2000-10-16) [umoeller] 703 WinAlarm(HWND_DESKTOP, usIndex+1000);703 WinAlarm(HWND_DESKTOP, WA_FILECHANGED + usIndex); 704 704 } 705 705 }
Note:
See TracChangeset
for help on using the changeset viewer.