07-08-2011, 08:17 AM
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).
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).
