Andrew Talbot : user32: Make function definitions and declarations
agree.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 16 07:08:44 CDT 2007
Module: wine
Branch: master
Commit: b0418622c8b462c0de6c241762a695751ef75c42
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b0418622c8b462c0de6c241762a695751ef75c42
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Sat Apr 14 15:19:01 2007 +0100
user32: Make function definitions and declarations agree.
---
dlls/user32/network.c | 4 ++--
include/wine/winnet16.h | 2 +-
include/wine/winuser16.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/user32/network.c b/dlls/user32/network.c
index e9a9078..105d016 100644
--- a/dlls/user32/network.c
+++ b/dlls/user32/network.c
@@ -162,8 +162,8 @@ WORD WINAPI WNetUnlockQueueData16( LPSTR szQueue )
* 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 --git a/include/wine/winnet16.h b/include/wine/winnet16.h
index 9ca3a65..8f04860 100644
--- a/include/wine/winnet16.h
+++ b/include/wine/winnet16.h
@@ -105,7 +105,7 @@ WORD WINAPI WNetUnlockQueueData16(LPSTR);
* 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 --git a/include/wine/winuser16.h b/include/wine/winuser16.h
index db936ef..0a05bdd 100644
--- a/include/wine/winuser16.h
+++ b/include/wine/winuser16.h
@@ -948,7 +948,7 @@ VOID WINAPI ValidateRgn16(HWND16,HRGN16);
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-cvs
mailing list