Author: cwittich
Date: Fri Mar 20 13:13:27 2015
New Revision: 66838
URL:
http://svn.reactos.org/svn/reactos?rev=66838&view=rev
Log:
[WLANAPI]
stub WlanRegisterNotification
Modified:
trunk/reactos/dll/win32/wlanapi/main.c
trunk/reactos/dll/win32/wlanapi/wlanapi.spec
trunk/reactos/include/psdk/wlanapi.h
Modified: trunk/reactos/dll/win32/wlanapi/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlanapi/main.c?r…
==============================================================================
--- trunk/reactos/dll/win32/wlanapi/main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wlanapi/main.c [iso-8859-1] Fri Mar 20 13:13:27 2015
@@ -281,6 +281,18 @@
return ERROR_SUCCESS;
}
+DWORD WINAPI WlanRegisterNotification(IN HANDLE hClientHandle,
+ IN DWORD dwNotifSource,
+ IN BOOL bIgnoreDuplicate,
+ WLAN_NOTIFICATION_CALLBACK funcCallback,
+ PVOID pCallbackContext,
+ PVOID pReserved,
+ PDWORD pdwPrevNotifSource)
+{
+ UNIMPLEMENTED;
+ return ERROR_SUCCESS;
+}
+
DWORD
WINAPI
WlanReasonCodeToString(IN DWORD dwReasonCode,
Modified: trunk/reactos/dll/win32/wlanapi/wlanapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wlanapi/wlanapi.…
==============================================================================
--- trunk/reactos/dll/win32/wlanapi/wlanapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wlanapi/wlanapi.spec [iso-8859-1] Fri Mar 20 13:13:27 2015
@@ -19,7 +19,7 @@
@ stub WlanQueryAutoConfigParameter
@ stdcall WlanQueryInterface (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall WlanReasonCodeToString (long long ptr ptr)
-@ stub WlanRegisterNotification
+@ stdcall WlanRegisterNotification (ptr long long ptr ptr ptr ptr)
@ stdcall WlanRenameProfile (ptr ptr ptr ptr ptr)
@ stub WlanSaveTemporaryProfile
@ stdcall WlanScan (ptr ptr ptr ptr ptr)
Modified: trunk/reactos/include/psdk/wlanapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wlanapi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/wlanapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/wlanapi.h [iso-8859-1] Fri Mar 20 13:13:27 2015
@@ -229,6 +229,8 @@
typedef L2_NOTIFICATION_DATA WLAN_NOTIFICATION_DATA, *PWLAN_NOTIFICATION_DATA;
+typedef void (__stdcall *WLAN_NOTIFICATION_CALLBACK) (PWLAN_NOTIFICATION_DATA, PVOID);
+
/* Functions */
#if !defined(__midl) && !defined(__WIDL__)
PVOID WINAPI WlanAllocateMemory(DWORD dwSize);
@@ -247,6 +249,7 @@
DWORD WINAPI WlanIhvControl(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN
WLAN_IHV_CONTROL_TYPE Type, IN DWORD dwInBufferSize, IN PVOID pInBuffer, IN DWORD
dwOutBufferSize, PVOID pOutBuffer, OUT PDWORD pdwBytesReturned);
DWORD WINAPI WlanQueryInterface(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid,
IN WLAN_INTF_OPCODE OpCode, PVOID pReserved, OUT PDWORD pdwDataSize, OUT PVOID *ppData,
WLAN_OPCODE_VALUE_TYPE *pWlanOpcodeValueType);
DWORD WINAPI WlanReasonCodeToString(IN DWORD dwReasonCode, IN DWORD dwBufferSize, IN
PWCHAR pStringBuffer, PVOID pReserved);
+DWORD WINAPI WlanRegisterNotification(IN HANDLE hClientHandle,IN DWORD dwNotifSource, IN
BOOL bIgnoreDuplicate, WLAN_NOTIFICATION_CALLBACK funcCallback, PVOID pCallbackContext,
PVOID pReserved, PDWORD pdwPrevNotifSource);
DWORD WINAPI WlanRenameProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN
LPCWSTR strOldProfileName, IN LPCWSTR strNewProfileName, PVOID pReserved);
DWORD WINAPI WlanSetProfile(IN HANDLE hClientHandle, IN const GUID *pInterfaceGuid, IN
DWORD dwFlags, IN LPCWSTR strProfileXml, LPCWSTR strAllUserProfileSecurity, IN BOOL
bOverwrite, PVOID pReserved, OUT DWORD *pdwReasonCode);
DWORD WINAPI WlanSetProfileCustomUserData(IN HANDLE hClientHandle, IN const GUID
*pInterfaceGuid, IN LPCWSTR strProfileName, IN DWORD dwDataSize, IN const PBYTE pData,
PVOID pReserved);