user32: Make function definitions and declarations agree
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Apr 14 09:19:01 CDT 2007
Changelog:
user32: Make function definitions and declarations agree.
diff -urN a/dlls/user32/network.c b/dlls/user32/network.c
--- a/dlls/user32/network.c 2006-11-16 14:02:17.000000000 +0000
+++ b/dlls/user32/network.c 2007-04-14 14:57:56.000000000 +0100
@@ -162,8 +162,8 @@
* Redirects a local device (either a disk drive or printer port)
* to a shared device on a remote server.
*/
-WORD WINAPI WNetAddConnection16( LPSTR lpNetPath, LPSTR lpPassWord,
- LPSTR lpLocalName )
+WORD WINAPI WNetAddConnection16( LPCSTR lpNetPath, LPCSTR lpPassWord,
+ LPCSTR lpLocalName )
{
FIXME( "(%s, %p, %s): stub\n",
debugstr_a(lpNetPath), lpPassWord, debugstr_a(lpLocalName) );
diff -urN a/include/wine/winnet16.h b/include/wine/winnet16.h
--- a/include/wine/winnet16.h 2006-05-23 13:49:12.000000000 +0100
+++ b/include/wine/winnet16.h 2007-04-14 14:58:18.000000000 +0100
@@ -105,7 +105,7 @@
* Connections
*/
-WORD WINAPI WNetAddConnection16(LPSTR,LPSTR,LPSTR);
+WORD WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
WORD WINAPI WNetCancelConnection16(LPSTR,BOOL16);
WORD WINAPI WNetGetConnection16(LPSTR,LPSTR,UINT16 *);
WORD WINAPI WNetRestoreConnection16(HWND16,LPSTR);
diff -urN a/include/wine/winuser16.h b/include/wine/winuser16.h
--- a/include/wine/winuser16.h 2006-09-07 11:14:05.000000000 +0100
+++ b/include/wine/winuser16.h 2007-04-14 14:58:34.000000000 +0100
@@ -948,7 +948,7 @@
HWND16 WINAPI WindowFromDC16(HDC16);
HWND16 WINAPI WindowFromPoint16(POINT16);
BOOL16 WINAPI WinHelp16(HWND16,LPCSTR,UINT16,DWORD);
-UINT16 WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
+WORD WINAPI WNetAddConnection16(LPCSTR,LPCSTR,LPCSTR);
INT16 WINAPI wvsprintf16(LPSTR,LPCSTR,VA_LIST16);
BOOL16 WINAPI DrawState16A(HDC16,HBRUSH16,DRAWSTATEPROC16,LPARAM,WPARAM16,INT16,INT16,INT16,INT16,UINT16);
BOOL16 WINAPI IsDialogMessage16(HWND16,MSG16*);
More information about the wine-patches
mailing list