vwin32.vxd: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3c4b6653ba
commit
1699c3a534
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = vwin32.vxd
|
MODULE = vwin32.vxd
|
||||||
IMPORTS = kernel
|
IMPORTS = kernel
|
||||||
|
|
||||||
|
|
|
@ -123,8 +123,8 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
|
||||||
BYTE intnum = 0;
|
BYTE intnum = 0;
|
||||||
|
|
||||||
TRACE( "Control '%s': "
|
TRACE( "Control '%s': "
|
||||||
"eax=0x%08x, ebx=0x%08x, ecx=0x%08x, "
|
"eax=0x%08lx, ebx=0x%08lx, ecx=0x%08lx, "
|
||||||
"edx=0x%08x, esi=0x%08x, edi=0x%08x\n",
|
"edx=0x%08lx, esi=0x%08lx, edi=0x%08lx\n",
|
||||||
(dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" :
|
(dwIoControlCode == VWIN32_DIOC_DOS_IOCTL)? "VWIN32_DIOC_DOS_IOCTL" :
|
||||||
(dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" :
|
(dwIoControlCode == VWIN32_DIOC_DOS_INT25)? "VWIN32_DIOC_DOS_INT25" :
|
||||||
(dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" :
|
(dwIoControlCode == VWIN32_DIOC_DOS_INT26)? "VWIN32_DIOC_DOS_INT26" :
|
||||||
|
@ -165,7 +165,7 @@ BOOL WINAPI VWIN32_DeviceIoControl(DWORD dwIoControlCode,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME( "Unknown Control %d\n", dwIoControlCode);
|
FIXME( "Unknown Control %ld\n", dwIoControlCode);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -191,7 +191,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
|
||||||
{
|
{
|
||||||
DWORD parm = stack32_pop(context);
|
DWORD parm = stack32_pop(context);
|
||||||
|
|
||||||
FIXME("Get VMCPD Version(%08x): partial stub!\n", parm);
|
FIXME("Get VMCPD Version(%08lx): partial stub!\n", parm);
|
||||||
|
|
||||||
/* FIXME: This is what Win98 returns, it may
|
/* FIXME: This is what Win98 returns, it may
|
||||||
* not be correct in all situations.
|
* not be correct in all situations.
|
||||||
|
@ -204,7 +204,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
|
||||||
DWORD callnum = stack32_pop(context);
|
DWORD callnum = stack32_pop(context);
|
||||||
DWORD parm = stack32_pop(context);
|
DWORD parm = stack32_pop(context);
|
||||||
|
|
||||||
TRACE("Int31/DPMI dispatch(%08x)\n", callnum);
|
TRACE("Int31/DPMI dispatch(%08lx)\n", callnum);
|
||||||
|
|
||||||
context->Eax = callnum;
|
context->Eax = callnum;
|
||||||
context->Ecx = parm;
|
context->Ecx = parm;
|
||||||
|
@ -217,7 +217,7 @@ DWORD WINAPI VWIN32_VxDCall( DWORD service, CONTEXT *context )
|
||||||
return callnum; /* FIXME: should really call INT_Int41Handler() */
|
return callnum; /* FIXME: should really call INT_Int41Handler() */
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
FIXME("Unknown service %08x\n", service);
|
FIXME("Unknown service %08lx\n", service);
|
||||||
return 0xffffffff;
|
return 0xffffffff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue