Function 69, subfunction 2 - set contents of registers of debugged thread.
Parameters:
- eax = 69 - function number
- ebx = 2 - subfunction number
- ecx = thread identifier
- edx = size of context structure, must be 0x28=40 bytes
Returned value:
- function does not return value
Format of context structure is shown in the description of
subfunction 1.
Remarks:
- If the thread executes code of ring-0, the function returns
contents of registers of ring-3.
- Process must be loaded for debugging (as is shown in
general description).