Rev 7203 | Rev 7227 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7203 | Rev 7225 | ||
---|---|---|---|
Line 156... | Line 156... | ||
156 | char status_window; |
156 | char status_window; |
157 | dword cwidth,cheight; |
157 | dword cwidth,cheight; |
158 | byte reserved[1024-71-8]; |
158 | byte reserved[1024-71-8]; |
159 | }; |
159 | }; |
Line 160... | Line 160... | ||
160 | 160 | ||
161 | inline fastcall void GetProcessInfo(EBX, ECX) |
161 | :void GetProcessInfo(dword _process_struct_pointer, _process_id) |
- | 162 | { |
|
162 | { |
163 | skin_height = GetSkinHeight(); |
- | 164 | EAX = 9; |
|
- | 165 | EBX = _process_struct_pointer; |
|
163 | $mov eax,9; |
166 | ECX = _process_id; |
164 | $int 0x40 |
167 | $int 0x40 |
165 | DSDWORD[EBX+71] = DSDWORD[EBX+42] - 9; //set cwidth |
168 | DSDWORD[EBX+71] = DSDWORD[EBX+42] - 9; //set cwidth |
166 | DSDWORD[EBX+75] = DSDWORD[EBX+46] - skin_height - 4; //set cheight |
169 | DSDWORD[EBX+75] = DSDWORD[EBX+46] - skin_height - 4; //set cheight |