stub wlanapi

svn path=/trunk/; revision=40013
This commit is contained in:
Christoph von Wittich
2009-03-14 14:32:48 +00:00
parent fc574caf3c
commit b860e9cb67
7 changed files with 104 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@
<property name="BASEADDRESS_RSABASE" value="0x35700000" />
<property name="BASEADDRESS_RSAENH" value="0x35780000" />
<property name="BASEADDRESS_URL" value="0x42ea0000" />
<property name="BASEADDRESS_WLANAPI" value="0x470F0000" />
<property name="BASEADDRESS_DWMAPI" value="0x4A3F0000" />
<property name="BASEADDRESS_LOADPERF" value="0x4B920000" />
<property name="BASEADDRESS_MPRAPI" value="0x4C400000" />
@@ -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
+3
View File
@@ -538,6 +538,9 @@
<directory name="wintrust">
<xi:include href="wintrust/wintrust.rbuild" />
</directory>
<directory name="wlanapi">
<xi:include href="wlanapi/wlanapi.rbuild" />
</directory>
<directory name="wldap32">
<xi:include href="wldap32/wldap32.rbuild" />
</directory>
+38
View File
@@ -0,0 +1,38 @@
/*
* Wireless LAN API (wlanapi.dll)
*
* Copyright 2009 Christoph von Wittich ([email protected])
*
* 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 <windows.h>
#include <wlanapi.h>
PVOID
WINAPI
WlanAllocateMemory(IN DWORD dwSize)
{
return HeapAlloc(GetProcessHeap(), 0, dwSize);
}
VOID
WINAPI
WlanFreeMemory(IN PVOID pMem)
{
HeapFree(GetProcessHeap(), 0, pMem);
}
+9
View File
@@ -0,0 +1,9 @@
<module name="wlanapi" type="win32dll" baseaddress="${BASEADDRESS_WLANAPI}" installbase="system32" installname="wlanapi.dll" entrypoint="0">
<importlibrary definition="wlanapi.spec" />
<include base="wlanapi">.</include>
<library>kernel32</library>
<library>ntdll</library>
<file>main.c</file>
<!-- See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7 -->
<compilerflag>-fno-unit-at-a-time</compilerflag>
</module>
+36
View File
@@ -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
+16
View File
@@ -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