Changeset 1674
- Timestamp:
- 07/31/08 12:27:42 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libemu/trunk/src/environment/win32/env_w32_dll_export_urlmon_hooks.c
r1672 r1674 94 94 95 95 96 uint32_t returnvalue=0; 97 if ( hook->hook.win->userhook != NULL ) 98 { 99 returnvalue = hook->hook.win->userhook(env, hook, 100 NULL, 101 emu_string_char(url), 102 emu_string_char(filename), 103 0, 104 NULL); 105 }else 106 { 107 returnvalue = 0; 108 } 96 109 97 110 111 emu_cpu_reg32_set(c, eax, returnvalue); 98 112 99 113 // logDebug(env->emu, " %s -> %s\n", emu_string_char(url), emu_string_char(filename)); … … 112 126 emu_profile_argument_add_int(env->profile, "LPBINDSTATUSCALLBACK", "lpfnCB", statuscallbackfn); 113 127 114 emu_profile_function_returnvalue_int_set(env->profile, "HRESULT", 0);128 emu_profile_function_returnvalue_int_set(env->profile, "HRESULT", returnvalue); 115 129 } 116 130
