Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
shut down second program when you shut down first one
#10
2|16 are flags..

1 - hwndOrExename is process id.
2 - close softly (allow to save data, etc) if not hung. Can wait ~10 seconds.
4 - terminate all processes matching program name.
8 - when waiting, process messages. Use this flag when calling this function from thread that has windows or COM events.
16 (QM 2.2.0) - terminate only process(es) running in current user session (fast user switching).


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)