Commit eb7a79f6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dhcpcsvc: Enable compilation with long types.

parent a64d1579
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = dhcpcsvc.dll MODULE = dhcpcsvc.dll
DELAYIMPORTS = iphlpapi DELAYIMPORTS = iphlpapi
IMPORTLIB = dhcpcsvc IMPORTLIB = dhcpcsvc
......
...@@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC ...@@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC
HANDLE mgr; HANDLE mgr;
char unix_name[IF_NAMESIZE]; 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) ); send_params.nParams, recv_params.nParams, buf, buflen, debugstr_w(request_id) );
if (!adapter || !buflen) return ERROR_INVALID_PARAMETER; 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; if ((err = get_adapter_name( adapter, unix_name, sizeof(unix_name) ))) return err;
for (i = 0; i < send_params.nParams; i++) 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, mgr = CreateFileW( MOUNTMGR_DOS_DEVICE_NAME, GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL,
OPEN_EXISTING, 0, 0 ); OPEN_EXISTING, 0, 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment