diff --git a/reactos/baseaddress.rbuild b/reactos/baseaddress.rbuild index 567666925f2..ca9b987e67d 100644 --- a/reactos/baseaddress.rbuild +++ b/reactos/baseaddress.rbuild @@ -10,6 +10,7 @@ + diff --git a/reactos/boot/bootdata/packages/reactos.dff b/reactos/boot/bootdata/packages/reactos.dff index 67f62e4172d..a3504535d5d 100644 --- a/reactos/boot/bootdata/packages/reactos.dff +++ b/reactos/boot/bootdata/packages/reactos.dff @@ -410,6 +410,7 @@ dll\win32\wininet\wininet.dll 1 dll\win32\winmm\winmm.dll 1 dll\win32\winspool\winspool.drv 1 dll\win32\winsta\winsta.dll 1 +dll\win32\wlanapi\wlanapi.dll 1 dll\win32\wintrust\wintrust.dll 1 dll\win32\wldap32\wldap32.dll 1 dll\win32\wmi\wmi.dll 1 diff --git a/reactos/dll/win32/win32.rbuild b/reactos/dll/win32/win32.rbuild index 657de9b9563..bbeaec32642 100644 --- a/reactos/dll/win32/win32.rbuild +++ b/reactos/dll/win32/win32.rbuild @@ -538,6 +538,9 @@ + + + diff --git a/reactos/dll/win32/wlanapi/main.c b/reactos/dll/win32/wlanapi/main.c new file mode 100644 index 00000000000..d81f14b0905 --- /dev/null +++ b/reactos/dll/win32/wlanapi/main.c @@ -0,0 +1,38 @@ +/* + * Wireless LAN API (wlanapi.dll) + * + * Copyright 2009 Christoph von Wittich (Christoph@ApiViewer.de) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include +#include + + +PVOID +WINAPI +WlanAllocateMemory(IN DWORD dwSize) +{ + return HeapAlloc(GetProcessHeap(), 0, dwSize); +} + +VOID +WINAPI +WlanFreeMemory(IN PVOID pMem) +{ + HeapFree(GetProcessHeap(), 0, pMem); +} + diff --git a/reactos/dll/win32/wlanapi/wlanapi.rbuild b/reactos/dll/win32/wlanapi/wlanapi.rbuild new file mode 100644 index 00000000000..8a1c6433a77 --- /dev/null +++ b/reactos/dll/win32/wlanapi/wlanapi.rbuild @@ -0,0 +1,9 @@ + + + . + kernel32 + ntdll + main.c + + -fno-unit-at-a-time + diff --git a/reactos/dll/win32/wlanapi/wlanapi.spec b/reactos/dll/win32/wlanapi/wlanapi.spec new file mode 100644 index 00000000000..e94dd532867 --- /dev/null +++ b/reactos/dll/win32/wlanapi/wlanapi.spec @@ -0,0 +1,36 @@ +@ stdcall WlanAllocateMemory (long) +@ stub WlanCloseHandle +@ stub WlanConnect +@ stub WlanDeleteProfile +@ stub WlanDisconnect +@ stub WlanEnumInterfaces +@ stub WlanExtractPsdIEDataList +@ stdcall WlanFreeMemory (ptr) +@ stub WlanGetAvailableNetworkList +@ stub WlanGetFilterList +@ stub WlanGetInterfaceCapability +@ stub WlanGetNetworkBssList +@ stub WlanGetProfile +@ stub WlanGetProfileCustomUserData +@ stub WlanGetProfileList +@ stub WlanGetSecuritySettings +@ stub WlanIhvControl +@ stub WlanOpenHandle +@ stub WlanQueryAutoConfigParameter +@ stub WlanQueryInterface +@ stub WlanReasonCodeToString +@ stub WlanRegisterNotification +@ stub WlanRenameProfile +@ stub WlanSaveTemporaryProfile +@ stub WlanScan +@ stub WlanSetAutoConfigParameter +@ stub WlanSetFilterList +@ stub WlanSetInterface +@ stub WlanSetProfile +@ stub WlanSetProfileCustomUserData +@ stub WlanSetProfileEapUserData +@ stub WlanSetProfileEapXmlUserData +@ stub WlanSetProfileList +@ stub WlanSetProfilePosition +@ stub WlanSetPsdIEDataList +@ stub WlanSetSecuritySettings diff --git a/reactos/include/psdk/wlanapi.h b/reactos/include/psdk/wlanapi.h new file mode 100644 index 00000000000..5ba7628628e --- /dev/null +++ b/reactos/include/psdk/wlanapi.h @@ -0,0 +1,16 @@ +#ifndef _WLANAPI_H +#define _WLANAPI_H + +#ifdef __cplusplus +extern "C" { +#endif + +PVOID WINAPI WlanAllocateMemory(DWORD dwSize); +VOID WINAPI WlanFreeMemory(PVOID pMemory); + +#ifdef __cplusplus +} +#endif + + +#endif // _WLANAPI_H