72,6 → 72,7 |
slot_base dd ? |
file_base dd ? |
file_size dd ? |
handle dd ? ;temp. for default cursor handle for curr. thread |
;app header data |
hdr_cmdline dd ? ;0x00 |
hdr_path dd ? ;0x04 |
82,8 → 83,14 |
endl |
|
pushad |
call set_default_cursor_clock |
|
pushad |
stdcall set_cursor, [def_cursor_clock] |
mov [handle], eax |
mov [redrawmouse_unconditional], 1 |
call __sys_draw_pointer |
popad |
|
mov [flags], edx |
|
; [ebp] pointer to filename |
114,9 → 121,9 |
.bigfilename: |
popad |
mov eax, -ERROR_FILE_NOT_FOUND |
call set_default_cursor_arrow |
ret |
|
jmp .final |
|
.namecopied: |
|
mov [cmdline], ebx |
240,8 → 247,9 |
xor ebx, ebx |
mov [application_table_status], ebx;unlock application_table_status mutex |
mov eax, [process_number];set result |
call set_default_cursor_arrow |
ret |
|
jmp .final |
|
.failed: |
mov eax, [save_cr3] |
call set_cr3 |
252,7 → 260,12 |
xor eax, eax |
mov [application_table_status], eax |
mov eax, esi |
call set_default_cursor_arrow |
.final: |
pushad |
stdcall set_cursor, [handle] |
mov [redrawmouse_unconditional], 1 |
call __sys_draw_pointer |
popad |
ret |
endp |
|