Rev 8161 | Rev 8247 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8161 | Rev 8246 | ||
---|---|---|---|
Line 281... | Line 281... | ||
281 | * ebx = pointer to 1-Kb buffer |
281 | * ebx = pointer to 1-Kb buffer |
282 | * ecx = number of the slot of the thread |
282 | * ecx = number of the slot of the thread |
283 | ecx = -1 - get information on the current thread |
283 | ecx = -1 - get information on the current thread |
284 | Returned value: |
284 | Returned value: |
285 | * eax = maximum number of the slot of a thread |
285 | * eax = maximum number of the slot of a thread |
- | 286 | but if pointer in ebx is illegal, for example, |
|
- | 287 | [ebx, ebx + 0x4C) region intersects with kernel memory, |
|
- | 288 | then function returns -1 |
|
286 | * buffer pointed to by ebx contains the following information: |
289 | * buffer pointed to by ebx contains the following information: |
287 | * +0: dword: usage of the processor (how many time units |
290 | * +0: dword: usage of the processor (how many time units |
288 | per second leaves on execution of this thread) |
291 | per second leaves on execution of this thread) |
289 | * +4: word: position of the window of thread in the window stack |
292 | * +4: word: position of the window of thread in the window stack |
290 | * +6: word: (has no relation to the specified thread) |
293 | * +6: word: (has no relation to the specified thread) |