Bruno Jesus : wlanapi: Normalize input and trace parameters.

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:50 CST 2017


Module: wine
Branch: master
Commit: f9d14b18b1195c78b123949ae07f29dfb647d56f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f9d14b18b1195c78b123949ae07f29dfb647d56f

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Mon Jan 30 04:59:38 2017 -0200

wlanapi: Normalize input and trace parameters.

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wlanapi/main.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dlls/wlanapi/main.c b/dlls/wlanapi/main.c
index c9fbae0..cf6a684 100644
--- a/dlls/wlanapi/main.c
+++ b/dlls/wlanapi/main.c
@@ -28,31 +28,30 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(wlanapi);
 
-DWORD WINAPI WlanEnumInterfaces(HANDLE client, void *reserved, WLAN_INTERFACE_INFO_LIST **interface_list)
+DWORD WINAPI WlanEnumInterfaces(HANDLE handle, void *reserved, WLAN_INTERFACE_INFO_LIST **interface_list)
 {
-    FIXME("(%p, %p, %p) stub\n", client, reserved, interface_list);
+    FIXME("(%p, %p, %p) stub\n", handle, reserved, interface_list);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
 
-DWORD WINAPI WlanCloseHandle(HANDLE client_handle, VOID *reserved)
+DWORD WINAPI WlanCloseHandle(HANDLE handle, void *reserved)
 {
-    FIXME("(%p, %p) stub\n", client_handle, reserved);
+    FIXME("(%p, %p) stub\n", handle, reserved);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
 
-DWORD WINAPI WlanOpenHandle(DWORD clientVersion, PVOID reserved,
-        PDWORD negotiatedVersion, PHANDLE clientHandle)
+DWORD WINAPI WlanOpenHandle(DWORD client_version, void *reserved, DWORD *negotiated_version, HANDLE *handle)
 {
-    FIXME("(%d, %p, %p, %p) stub\n",clientVersion, reserved, negotiatedVersion, clientHandle);
+    FIXME("(%u, %p, %p, %p) stub\n", client_version, reserved, negotiated_version, handle);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
 
 
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *reserved)
 {
-    TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
+    TRACE("(0x%p, %u, %p)\n", hinstDLL, reason, reserved);
 
-    switch (fdwReason)
+    switch (reason)
     {
         case DLL_WINE_PREATTACH:
             return FALSE;    /* prefer native version */




More information about the wine-cvs mailing list