dhcpcsvc: 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
a64d157928
commit
eb7a79f60a
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
MODULE = dhcpcsvc.dll
|
||||
DELAYIMPORTS = iphlpapi
|
||||
IMPORTLIB = dhcpcsvc
|
||||
|
|
|
@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC
|
|||
HANDLE mgr;
|
||||
char unix_name[IF_NAMESIZE];
|
||||
|
||||
TRACE( "(%08x, %p, %s, %p, %u, %u, %p, %p, %s)\n", flags, reserved, debugstr_w(adapter), class_id,
|
||||
TRACE( "(%08lx, %p, %s, %p, %lu, %lu, %p, %p, %s)\n", flags, reserved, debugstr_w(adapter), class_id,
|
||||
send_params.nParams, recv_params.nParams, buf, buflen, debugstr_w(request_id) );
|
||||
|
||||
if (!adapter || !buflen) return ERROR_INVALID_PARAMETER;
|
||||
if (flags != DHCPCAPI_REQUEST_SYNCHRONOUS) FIXME( "unsupported flags %08x\n", flags );
|
||||
if (flags != DHCPCAPI_REQUEST_SYNCHRONOUS) FIXME( "unsupported flags %08lx\n", flags );
|
||||
if ((err = get_adapter_name( adapter, unix_name, sizeof(unix_name) ))) return err;
|
||||
|
||||
for (i = 0; i < send_params.nParams; i++)
|
||||
FIXME( "send option %u not supported\n", send_params.Params->OptionId );
|
||||
FIXME( "send option %lu not supported\n", send_params.Params->OptionId );
|
||||
|
||||
mgr = CreateFileW( MOUNTMGR_DOS_DEVICE_NAME, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL,
|
||||
OPEN_EXISTING, 0, 0 );
|
||||
|
|
Loading…
Reference in New Issue