Release 2.1.
[wine.git] / include / dhcpcsdk.h
blob93c7af6e083631bb24df06cddabc1f3d56d678a4
1 /*
2 * Copyright (C) 2017 Alistair Leslie-Hughes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef _DHCPCSDK_
19 #define _DHCPCSDK_
21 typedef struct _DHCPAPI_PARAMS
23 ULONG Flags;
24 ULONG OptionId;
25 BOOL IsVendor;
26 BYTE *Data;
27 DWORD nBytesData;
28 } DHCPAPI_PARAMS, *PDHCPAPI_PARAMS, *LPDHCPAPI_PARAMS;
30 typedef struct _DHCPAPI_PARAMS DHCPCAPI_PARAMS, *PDHCPCAPI_PARAMS, *LPDHCPCAPI_PARAMS;
32 typedef struct _DHCPCAPI_PARAMS_ARARAY
34 ULONG nParams;
35 LPDHCPCAPI_PARAMS Params;
36 } DHCPCAPI_PARAMS_ARRAY, *PDHCPCAPI_PARAMS_ARRAY, *LPDHCPCAPI_PARAMS_ARRAY;
38 typedef struct _DHCPCAPI_CLASSID
40 ULONG Flags;
41 BYTE *Data;
42 ULONG nBytesData;
43 } DHCPCAPI_CLASSID, *PDHCPCAPI_CLASSID, *LPDHCPCAPI_CLASSID;
46 DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adaptername, DHCPCAPI_CLASSID *classid,
47 DHCPCAPI_PARAMS_ARRAY sendparams, DHCPCAPI_PARAMS_ARRAY recdparams,
48 BYTE *buffer, DWORD *size, WCHAR *requestidstr );
50 #endif