ntdll: Include alloc_type argument in NtMapViewOfSection(Ex) traces.
LANCommander calls NtMapViewOfSectionEx with alloc_type=MEM_REPLACE_PLACEHOLDER, but you couldn't tell from the trace.
This commit is contained in:
parent
cd2570c28d
commit
fb2ebbbb40
1 changed files with 4 additions and 4 deletions
|
@ -5444,8 +5444,8 @@ NTSTATUS WINAPI NtMapViewOfSection( HANDLE handle, HANDLE process, PVOID *addr_p
|
|||
|
||||
offset.QuadPart = offset_ptr ? offset_ptr->QuadPart : 0;
|
||||
|
||||
TRACE("handle=%p process=%p addr=%p off=%s size=%lx access=%x\n",
|
||||
handle, process, *addr_ptr, wine_dbgstr_longlong(offset.QuadPart), *size_ptr, (int)protect );
|
||||
TRACE("handle=%p process=%p addr=%p off=%s size=0x%lx alloc_type=0x%x access=0x%x\n",
|
||||
handle, process, *addr_ptr, wine_dbgstr_longlong(offset.QuadPart), *size_ptr, (int)alloc_type, (int)protect );
|
||||
|
||||
/* Check parameters */
|
||||
if (zero_bits > 21 && zero_bits < 32)
|
||||
|
@ -5525,8 +5525,8 @@ NTSTATUS WINAPI NtMapViewOfSectionEx( HANDLE handle, HANDLE process, PVOID *addr
|
|||
|
||||
offset.QuadPart = offset_ptr ? offset_ptr->QuadPart : 0;
|
||||
|
||||
TRACE( "handle=%p process=%p addr=%p off=%s size=%lx access=%x\n",
|
||||
handle, process, *addr_ptr, wine_dbgstr_longlong(offset.QuadPart), *size_ptr, (int)protect );
|
||||
TRACE( "handle=%p process=%p addr=%p off=%s size=0x%lx alloc_type=0x%x access=0x%x\n",
|
||||
handle, process, *addr_ptr, wine_dbgstr_longlong(offset.QuadPart), *size_ptr, (int)alloc_type, (int)protect );
|
||||
|
||||
status = get_extended_params( parameters, count, &limit_low, &limit_high,
|
||||
&align, &attributes, &machine );
|
||||
|
|
Loading…
Add table
Reference in a new issue