28#include "wine/winternl.h"
146 if (
target->modules.initialized)
162 if (!(
target->modules.info = heap_alloc_zero(
count *
sizeof(*
target->modules.info))))
179 target->modules.info[
i].params.Size =
info.SizeOfImage;
192 target->modules.unloaded = 0;
204 if (
i >=
target->modules.loaded)
207 return &
target->modules.info[
i];
217 for (
i = 0;
i <
target->modules.loaded; ++
i)
220 return &
target->modules.info[
i];
240 WARN(
"Failed to resume process, status %#x.\n",
status);
434 FIXME(
"%p, %s, %u, %#x, %p, %u, %p, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
server), systemid,
flags,
435 exe_name, exe_name_size, actual_exe_name_size,
description, description_size, actual_description_size);
449 FIXME(
"Remote debugging is not supported.\n");
475 FIXME(
"%p, %s, %s, %#x, %u, %#x stub.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_a(
cmdline),
create_flags,
525 FIXME(
"%p, %#x, %u stub.\n", iface,
flags, history_limit);
547 FIXME(
"%p stub.\n", iface);
557 TRACE(
"%p.\n", iface);
660 FIXME(
"%p, %p stub.\n", iface, columns);
667 FIXME(
"%p, %u stub.\n", iface, columns);
688 ULONG *identity_size)
712 (*callbacks)->lpVtbl->AddRef(*
callbacks);
734 FIXME(
"%p stub.\n", iface);
766 FIXME(
"%p.\n", iface);
772 FIXME(
"%p.\n", iface);
778 FIXME(
"%p.\n", iface);
784 FIXME(
"%p.\n", iface);
798 FIXME(
"%p, %s, %d, 0x%08x, %s, %d, %p, %s, %d, %p.\n", iface,
wine_dbgstr_longlong(
server),
id,
flags,
debugstr_w(
exename),
size,
812 FIXME(
"%p, %s, %s, 0x%08x, %d, 0x%08x.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_w(commandline),
flags, processid, attachflags);
846 FIXME(
"%p, %d, %p, %d, %p, %p, %p.\n", iface,
index,
buffer, buf_size, name_size,
handle,
type);
853 FIXME(
"%p, %d, %p, %d, %p, %p, %p.\n", iface,
index,
buffer, buf_size, name_size,
handle,
type);
944 FIXME(
"%p .\n", iface);
949 ULONG buf_size,
const char *initial,
const char *environment)
951 FIXME(
"%p %s, %s, %p, %d, %s, %s.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_a(
command),
options,
959 FIXME(
"%p %s, %s, %p, %d, %s, %s.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_w(
command),
options,
967 FIXME(
"%p %s, %s, %p, %d, %s, %s, %d, 0x%08x.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_a(
command),
options,
975 FIXME(
"%p %s, %s, %p, %d, %s, %s, %d, 0x%08x.\n", iface,
wine_dbgstr_longlong(
server),
debugstr_w(
command),
buffer,
1163 return IUnknown_QueryInterface(unk,
riid,
obj);
1170 return IUnknown_AddRef(unk);
1177 return IUnknown_Release(unk);
1201 WARN(
"Failed to read process memory %#x.\n",
hr);
1218 FIXME(
"%p, %s, %s, %p, %u, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
wine_dbgstr_longlong(
length),
1219 pattern, pattern_size, pattern_granularity, ret_offset);
1275 FIXME(
"%p, %u, %s, %p, %u, %p stub.\n", iface, processor,
wine_dbgstr_longlong(
offset),
buffer,
buffer_size, read_len);
1283 FIXME(
"%p, %u, %s, %p, %u, %p stub.\n", iface, processor,
wine_dbgstr_longlong(
offset),
buffer,
buffer_size, written);
1291 FIXME(
"%p, %u, %u, %u, %s, %p, %u, %p stub.\n", iface,
type, bus_number, address_space,
wine_dbgstr_longlong(
offset),
1300 FIXME(
"%p, %u, %u, %u, %s, %p, %u, %p stub.\n", iface,
type, bus_number, address_space,
wine_dbgstr_longlong(
offset),
1308 FIXME(
"%p, %u, %p stub.\n", iface, msr,
value);
1323 FIXME(
"%p, %u, %u, %u, %u, %p, %u, %p stub.\n", iface, data_type, bus_number, slot_number,
offset,
buffer,
1332 FIXME(
"%p, %u, %u, %u, %u, %p, %u, %p stub.\n", iface, data_type, bus_number, slot_number,
offset,
buffer,
1340 FIXME(
"%p stub.\n", iface);
1356 FIXME(
"%p, %u, %u, %p, %u, %p stub.\n", iface, processor,
index,
buffer,
buffer_size, data_size);
1392 return IUnknown_QueryInterface(unk,
riid,
obj);
1399 return IUnknown_AddRef(unk);
1406 return IUnknown_Release(unk);
1440 FIXME(
"%p, %s, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
buffer,
buffer_size,
1441 name_size, displacement);
1457 FIXME(
"%p, %s, %d, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset), delta,
buffer,
buffer_size,
1458 name_size, displacement);
1466 FIXME(
"%p, %s, %p, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
line,
buffer,
buffer_size,
1544 *
index = start_index;
1558 ULONG module_name_buffer_size,
ULONG *module_name_size,
char *loaded_image_name,
1559 ULONG loaded_image_name_buffer_size,
ULONG *loaded_image_size)
1561 FIXME(
"%p, %u, %s, %p, %u, %p, %p, %u, %p, %p, %u, %p stub.\n", iface,
index,
wine_dbgstr_longlong(
base),
1563 module_name_size, loaded_image_name, loaded_image_name_buffer_size, loaded_image_size);
1619 FIXME(
"%p, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
base),
type_id,
buffer,
1668 FIXME(
"%p, %s, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
wine_dbgstr_longlong(
base),
1677 FIXME(
"%p, %s, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
wine_dbgstr_longlong(
base),
1695 FIXME(
"%p, %s, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
wine_dbgstr_longlong(
base),
1704 FIXME(
"%p, %s, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
wine_dbgstr_longlong(
base),
1722 FIXME(
"%p, %p, %p, %p, %u stub.\n", iface, instr_offset, frame, scope_context, scope_context_size);
1731 scope_context_size);
1738 FIXME(
"%p stub.\n", iface);
1744 IDebugSymbolGroup *update, IDebugSymbolGroup **symbols)
1746 FIXME(
"%p, %#x, %p, %p stub.\n", iface,
flags, update, symbols);
1769 FIXME(
"%p, %s, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
handle),
buffer,
buffer_size, match_size,
offset);
1865 FIXME(
"%p, %u, %s, %#x, %p, %p, %u, %p stub.\n", iface,
start,
debugstr_a(
file),
flags, found_element,
buffer,
1885 void *version_info, *
ptr;
1889 TRACE(
"%p, %u, %s, %s, %p, %u, %p.\n", iface,
index,
wine_dbgstr_longlong(
base),
debugstr_a(
item),
buffer,
1902 WARN(
"Was unable to locate module.\n");
1947 TRACE(
"%p, %u, %u, %s, %p, %u, %p.\n", iface,
which,
index,
wine_dbgstr_longlong(
base),
buffer,
buffer_size,
1960 WARN(
"Was unable to locate module.\n");
1990 FIXME(
"%p, %s, %u, %s, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
module),
type_id,
1999 FIXME(
"%p, %s, %u, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
module),
type_id, field_index,
buffer,
2036 FIXME(
"%p, %s, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
buffer,
buffer_size, name_size,
2053 FIXME(
"%p, %s, %d, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset), delta,
buffer,
buffer_size,
2054 name_size, displacement);
2062 FIXME(
"%p, %s, %p, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
line,
buffer,
buffer_size,
2095 FIXME(
"%p, %s, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
module),
type_id,
buffer,
buffer_size,
2128 FIXME(
"%p, %#x, %p, %p stub.\n", iface,
flags, update, symbols);
2151 FIXME(
"%p, %s, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
handle),
buffer,
buffer_size, match_size,
offset);
2240 FIXME(
"%p, %u, %s, %#x, %p, %p, %u, %p stub.\n", iface, start_element,
debugstr_w(
file),
flags, found_element,
2257 FIXME(
"%p, %u, %s, %s, %p, %u, %p stub.\n", iface,
index,
wine_dbgstr_longlong(
base),
debugstr_w(
item),
buffer,
2266 FIXME(
"%p, %u, %u, %s, %p, %u, %p stub.\n", iface,
which,
index,
wine_dbgstr_longlong(
base),
buffer,
buffer_size,
2275 FIXME(
"%p, %s, %u, %s, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
module),
type_id,
2284 FIXME(
"%p, %s, %u, %u, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
module),
type_id, field_index,
buffer,
2300 FIXME(
"%p, %s, %u, %#x, %p, %p stub.\n", iface,
debugstr_a(
name), start_index,
flags,
index,
base);
2308 FIXME(
"%p, %s, %u, %#x, %p, %p stub.\n", iface,
debugstr_w(
name), start_index,
flags,
index,
base);
2316 FIXME(
"%p, %s, %u, %#x, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset), start_index,
flags,
index,
base);
2324 FIXME(
"%p, %s, %u, %s, %s, %#x stub.\n", iface,
wine_dbgstr_longlong(
base),
size,
debugstr_a(image_path),
2333 FIXME(
"%p, %s, %u, %s, %s, %#x stub.\n", iface,
wine_dbgstr_longlong(
base),
size,
debugstr_w(image_path),
2370 FIXME(
"%p stub.\n", iface);
2386 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
flags,
buffer,
buffer_size,
2395 FIXME(
"%p, %s, %u, %s, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
module), container_type_id,
debugstr_a(
field),
2404 FIXME(
"%p, %s, %u, %s, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
module), container_type_id,
debugstr_w(
field),
2413 FIXME(
"%p, %s, %u, %s, %#x, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
size,
debugstr_a(
name),
flags,
id);
2421 FIXME(
"%p, %s, %u, %s, %#x, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
size,
debugstr_w(
name),
flags,
id);
2428 FIXME(
"%p, %p stub.\n", iface,
id);
2436 FIXME(
"%p, %s, %#x, %p, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
flags,
ids, displacements,
count,
2445 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
debugstr_a(symbol),
flags,
ids,
count, entries);
2453 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
debugstr_w(symbol),
flags,
ids,
count, entries);
2469 FIXME(
"%p, %p, %p stub.\n", iface,
id,
info);
2477 FIXME(
"%p, %p, %u, %p, %u, %p stub.\n", iface,
id,
which,
buffer,
buffer_size, string_size);
2485 FIXME(
"%p, %p, %u, %p, %u, %p stub.\n", iface,
id,
which,
buffer,
buffer_size, string_size);
2493 FIXME(
"%p, %p, %#x, %p, %u, %p stub.\n", iface,
id,
flags, regions, regions_count, regions_avail);
2501 FIXME(
"%p, %p, %#x, %p stub.\n", iface, from_id,
flags, to_id);
2509 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
flags, entries,
count, entries_avail);
2517 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
debugstr_a(
file),
flags, entries,
count, entries_avail);
2525 FIXME(
"%p, %s, %#x, %p, %u, %p stub.\n", iface,
debugstr_w(
file),
flags, entries,
count, entries_avail);
2533 FIXME(
"%p, %p, %u, %p, %u, %p stub.\n", iface,
entry,
which,
buffer,
buffer_size, string_size);
2541 FIXME(
"%p, %p, %u, %p, %u, %p stub.\n", iface,
entry,
which,
buffer,
buffer_size, string_size);
2549 FIXME(
"%p, %p, %#x, %p, %u, %p stub.\n", iface,
entry,
flags, regions,
count, regions_avail);
2557 FIXME(
"%p, %p, %#x, %p stub.\n", iface, from_entry,
flags, to_entry);
2698 return IUnknown_QueryInterface(unk,
riid,
obj);
2705 return IUnknown_AddRef(unk);
2712 return IUnknown_Release(unk);
2717 FIXME(
"%p stub.\n", iface);
2759 FIXME(
"%p stub.\n", iface);
2850 FIXME(
"%p, %u, %#x stub.\n", iface, output_control,
flags);
2857 FIXME(
"%p, %u stub.\n", iface, output_control);
2887 FIXME(
"%p, %s, %#x, %p, %u, %p, %p stub.\n", iface,
wine_dbgstr_longlong(
offset),
flags,
buffer,
buffer_size,
2888 disassm_size, end_offset);
2912 FIXME(
"%p, %u, %u, %u, %s, %#x, %p, %p, %p, %p stub.\n", iface, output_control, prev_lines, total_lines,
2945 FIXME(
"%p, %u, %p, %u, %#x stub.\n", iface, output_control, frames, frames_size,
flags);
3021 char *build_string,
ULONG build_string_size,
ULONG *build_string_used)
3023 FIXME(
"%p, %p, %p, %p, %p, %u, %p, %p, %p, %u, %p stub.\n", iface, platform_id,
major,
minor, sp_string,
3024 sp_string_size, sp_string_used, sp_number, build_string, build_string_size, build_string_used);
3042 TRACE(
"%p.\n", iface);
3050 switch (
target->cpu_type)
3062 FIXME(
"Unexpected cpu type %#x.\n",
target->cpu_type);
3072 FIXME(
"%p, %p, %p, %p, %p, %p stub.\n", iface,
code,
arg1,
arg2,
arg3, arg4);
3093 ULONG full_name_buffer_size,
ULONG *full_name_size,
char *abbrev_name,
ULONG abbrev_name_buffer_size,
3094 ULONG *abbrev_name_size)
3096 FIXME(
"%p, %u, %p, %u, %p, %p, %u, %p stub.\n", iface,
type, full_name, full_name_buffer_size, full_name_size,
3097 abbrev_name, abbrev_name_buffer_size, abbrev_name_size);
3197 FIXME(
"%p, %p, %p stub.\n", iface, output_level, break_level);
3205 FIXME(
"%p, %u, %u stub.\n", iface, output_level, break_level);
3242 FIXME(
"%p, %s, %u, %p, %p stub.\n", iface,
debugstr_a(expression), desired_type,
value, remainder_index);
3258 FIXME(
"%p, %u, %p, %p, %p stub.\n", iface,
count,
input, output_types, output);
3287 IDebugBreakpoint **bp)
3289 FIXME(
"%p, %u, %p stub.\n", iface,
index, bp);
3296 FIXME(
"%p, %u, %p stub.\n", iface,
id, bp);
3310 IDebugBreakpoint **bp)
3312 FIXME(
"%p, %u, %u, %p stub.\n", iface,
type, desired_id, bp);
3319 FIXME(
"%p, %p stub.\n", iface, bp);
3348 const char *function,
const char *
args)
3356 const char *
name,
void *function)
3366 FIXME(
"%p, %p stub.\n", iface,
api);
3374 FIXME(
"%p, %p stub.\n", iface,
api);
3380 ULONG *specific_exceptions,
ULONG *arbitrary_exceptions)
3382 FIXME(
"%p, %p, %p, %p stub.\n", iface, specific_events, specific_exceptions, arbitrary_exceptions);
3436 const char *argument)
3446 FIXME(
"%p, %u, %p, %u, %p stub.\n", iface,
count, codes,
start, parameters);
3454 FIXME(
"%p, %u, %p stub.\n", iface,
count, parameters);
3499 WARN(
"Failed to get process handle for pid %#x.\n",
target->pid);
3507 WARN(
"Failed to suspend a process, status %#x.\n",
status);
3514 FIXME(
"Unsupported attach flags %#x.\n",
target->attach_flags);
3524 FIXME(
"%p, %p, %p, %p, %p, %u, %p, %p, %u, %p stub.\n", iface,
type,
pid,
tid, extra_info, extra_info_size,
3525 extra_info_used,
description, desc_size, desc_used);
3532 FIXME(
"%p, %u stub.\n", iface, timedate);