From 6ff1325128c54e19ab8fbbc751f4cddc07da6a7a Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 22 Oct 2002 00:45:56 +0000 Subject: [PATCH] Compile the mpr dll with STRICT defined. --- dlls/mpr/Makefile.in | 2 -- dlls/mpr/auth.c | 9 ++++----- dlls/mpr/wnet.c | 23 +++++++++++------------ 3 files changed, 15 insertions(+), 19 deletions(-) diff --git a/dlls/mpr/Makefile.in b/dlls/mpr/Makefile.in index dfc052d730e..99bed33197e 100644 --- a/dlls/mpr/Makefile.in +++ b/dlls/mpr/Makefile.in @@ -1,4 +1,3 @@ -EXTRADEFS = -DWINE_NO_STRICT TOPSRCDIR = @top_srcdir@ TOPOBJDIR = ../.. SRCDIR = @srcdir@ @@ -20,4 +19,3 @@ C_SRCS = \ @MAKE_DLL_RULES@ ### Dependencies: - diff --git a/dlls/mpr/auth.c b/dlls/mpr/auth.c index 53980ecefa5..53a35448a52 100644 --- a/dlls/mpr/auth.c +++ b/dlls/mpr/auth.c @@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mpr); */ DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner ) { - FIXME( "(%s, %04x): stub\n", debugstr_a(lpProvider), hwndOwner ); + FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -41,7 +41,7 @@ DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner ) */ DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner ) { - FIXME( "(%s, %04x): stub\n", debugstr_w(lpProvider), hwndOwner ); + FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -52,7 +52,7 @@ DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner ) */ DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner ) { - FIXME( "(%s, %04x): stub\n", debugstr_a(lpProvider), hwndOwner ); + FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -63,7 +63,7 @@ DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner ) */ DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner ) { - FIXME( "(%s, %04x): stub\n", debugstr_w(lpProvider), hwndOwner ); + FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -90,4 +90,3 @@ DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch ) SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; } - diff --git a/dlls/mpr/wnet.c b/dlls/mpr/wnet.c index f09b52ad059..2c68bcfd562 100644 --- a/dlls/mpr/wnet.c +++ b/dlls/mpr/wnet.c @@ -71,7 +71,7 @@ DWORD WINAPI WNetOpenEnumW( DWORD dwScope, DWORD dwType, DWORD dwUsage, DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize ) { - FIXME( "(%04X, %p, %p, %p): stub\n", + FIXME( "(%p, %p, %p, %p): stub\n", hEnum, lpcCount, lpBuffer, lpBufferSize ); SetLastError(WN_NO_NETWORK); @@ -84,7 +84,7 @@ DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount, DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount, LPVOID lpBuffer, LPDWORD lpBufferSize ) { - FIXME( "(%04X, %p, %p, %p): stub\n", + FIXME( "(%p, %p, %p, %p): stub\n", hEnum, lpcCount, lpBuffer, lpBufferSize ); SetLastError(WN_NO_NETWORK); @@ -96,7 +96,7 @@ DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount, */ DWORD WINAPI WNetCloseEnum( HANDLE hEnum ) { - FIXME( "(%04X): stub\n", hEnum ); + FIXME( "(%p): stub\n", hEnum ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -223,7 +223,7 @@ DWORD WINAPI WNetAddConnection3A( HWND hwndOwner, LPNETRESOURCEA lpNetResource, LPCSTR lpPassword, LPCSTR lpUserID, DWORD dwFlags ) { - FIXME( "(%04x, %p, %p, %s, 0x%08lX), stub\n", + FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n", hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags ); SetLastError(WN_NO_NETWORK); @@ -237,7 +237,7 @@ DWORD WINAPI WNetAddConnection3W( HWND hwndOwner, LPNETRESOURCEW lpNetResource, LPCWSTR lpPassword, LPCWSTR lpUserID, DWORD dwFlags ) { - FIXME( "(%04x, %p, %p, %s, 0x%08lX), stub\n", + FIXME( "(%p, %p, %p, %s, 0x%08lX), stub\n", hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags ); SetLastError(WN_NO_NETWORK); @@ -252,7 +252,7 @@ DWORD WINAPI WNetUseConnectionA( HWND hwndOwner, LPNETRESOURCEA lpNetResource, LPSTR lpAccessName, LPDWORD lpBufferSize, LPDWORD lpResult ) { - FIXME( "(%04x, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n", + FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n", hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags, debugstr_a(lpAccessName), lpBufferSize, lpResult ); @@ -268,7 +268,7 @@ DWORD WINAPI WNetUseConnectionW( HWND hwndOwner, LPNETRESOURCEW lpNetResource, LPWSTR lpAccessName, LPDWORD lpBufferSize, LPDWORD lpResult ) { - FIXME( "(%04x, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n", + FIXME( "(%p, %p, %p, %s, 0x%08lX, %s, %p, %p), stub\n", hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags, debugstr_w(lpAccessName), lpBufferSize, lpResult ); @@ -321,7 +321,7 @@ DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce */ DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice ) { - FIXME( "(%04X, %s), stub\n", hwndOwner, debugstr_a(lpszDevice) ); + FIXME( "(%p, %s), stub\n", hwndOwner, debugstr_a(lpszDevice) ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -332,7 +332,7 @@ DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice ) */ DWORD WINAPI WNetRestoreConnectionW( HWND hwndOwner, LPWSTR lpszDevice ) { - FIXME( "(%04X, %s), stub\n", hwndOwner, debugstr_w(lpszDevice) ); + FIXME( "(%p, %s), stub\n", hwndOwner, debugstr_w(lpszDevice) ); SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; @@ -492,7 +492,7 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize */ DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType ) { - FIXME( "(%04x, %08lX): stub\n", hwnd, dwType ); + FIXME( "(%p, %08lX): stub\n", hwnd, dwType ); SetLastError(WN_NO_NETWORK); return ERROR_NO_NETWORK; @@ -525,7 +525,7 @@ DWORD WINAPI WNetConnectionDialog1W( LPCONNECTDLGSTRUCTW lpConnDlgStruct ) */ DWORD WINAPI WNetDisconnectDialog( HWND hwnd, DWORD dwType ) { - FIXME( "(%04x, %08lX): stub\n", hwnd, dwType ); + FIXME( "(%p, %08lX): stub\n", hwnd, dwType ); SetLastError(WN_NO_NETWORK); return ERROR_NO_NETWORK; @@ -628,4 +628,3 @@ DWORD WINAPI WNetGetProviderNameW( DWORD dwNetType, SetLastError(WN_NO_NETWORK); return WN_NO_NETWORK; } -