Function 18, subfunction 22 - operations with window of another thread.
Parameters:
- eax = 18 - function number
- ebx = 22 - subfunction number
- ecx = operation type:
- 0 = minimize window of the thread with given slot number
- 1 = minimize window of the thread with given identifier
- 2 = restore window of the thread with given slot number
- 3 = restore window of the thread with given identifier
- edx = parameter (slot number or PID/TID)
Returned value:
- eax = 0 - success
- eax = -1 - error (invalid identifier)
Remarks:
- The thread can minimize its window with subfunction 10.
- One can restore and activate window simultaneously with
subfunction 3 (which requires slot number).