Commit 6ff13251 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Compile the mpr dll with STRICT defined.

parent 9a7bc34c
EXTRADEFS = -DWINE_NO_STRICT
TOPSRCDIR = @top_srcdir@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
...@@ -20,4 +19,3 @@ C_SRCS = \ ...@@ -20,4 +19,3 @@ C_SRCS = \
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
### Dependencies: ### Dependencies:
...@@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mpr); ...@@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mpr);
*/ */
DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner ) 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -41,7 +41,7 @@ DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner ) ...@@ -41,7 +41,7 @@ DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
*/ */
DWORD WINAPI WNetLogoffW( LPCWSTR 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -52,7 +52,7 @@ DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner ) ...@@ -52,7 +52,7 @@ DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
*/ */
DWORD WINAPI WNetLogonA( LPCSTR 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -63,7 +63,7 @@ DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner ) ...@@ -63,7 +63,7 @@ DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
*/ */
DWORD WINAPI WNetLogonW( LPCWSTR 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -90,4 +90,3 @@ DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch ) ...@@ -90,4 +90,3 @@ DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
} }
...@@ -71,7 +71,7 @@ DWORD WINAPI WNetOpenEnumW( DWORD dwScope, DWORD dwType, DWORD dwUsage, ...@@ -71,7 +71,7 @@ DWORD WINAPI WNetOpenEnumW( DWORD dwScope, DWORD dwType, DWORD dwUsage,
DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount, DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount,
LPVOID lpBuffer, LPDWORD lpBufferSize ) LPVOID lpBuffer, LPDWORD lpBufferSize )
{ {
FIXME( "(%04X, %p, %p, %p): stub\n", FIXME( "(%p, %p, %p, %p): stub\n",
hEnum, lpcCount, lpBuffer, lpBufferSize ); hEnum, lpcCount, lpBuffer, lpBufferSize );
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
...@@ -84,7 +84,7 @@ DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount, ...@@ -84,7 +84,7 @@ DWORD WINAPI WNetEnumResourceA( HANDLE hEnum, LPDWORD lpcCount,
DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount, DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount,
LPVOID lpBuffer, LPDWORD lpBufferSize ) LPVOID lpBuffer, LPDWORD lpBufferSize )
{ {
FIXME( "(%04X, %p, %p, %p): stub\n", FIXME( "(%p, %p, %p, %p): stub\n",
hEnum, lpcCount, lpBuffer, lpBufferSize ); hEnum, lpcCount, lpBuffer, lpBufferSize );
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
...@@ -96,7 +96,7 @@ DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount, ...@@ -96,7 +96,7 @@ DWORD WINAPI WNetEnumResourceW( HANDLE hEnum, LPDWORD lpcCount,
*/ */
DWORD WINAPI WNetCloseEnum( HANDLE hEnum ) DWORD WINAPI WNetCloseEnum( HANDLE hEnum )
{ {
FIXME( "(%04X): stub\n", hEnum ); FIXME( "(%p): stub\n", hEnum );
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -223,7 +223,7 @@ DWORD WINAPI WNetAddConnection3A( HWND hwndOwner, LPNETRESOURCEA lpNetResource, ...@@ -223,7 +223,7 @@ DWORD WINAPI WNetAddConnection3A( HWND hwndOwner, LPNETRESOURCEA lpNetResource,
LPCSTR lpPassword, LPCSTR lpUserID, LPCSTR lpPassword, LPCSTR lpUserID,
DWORD dwFlags ) 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 ); hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags );
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
...@@ -237,7 +237,7 @@ DWORD WINAPI WNetAddConnection3W( HWND hwndOwner, LPNETRESOURCEW lpNetResource, ...@@ -237,7 +237,7 @@ DWORD WINAPI WNetAddConnection3W( HWND hwndOwner, LPNETRESOURCEW lpNetResource,
LPCWSTR lpPassword, LPCWSTR lpUserID, LPCWSTR lpPassword, LPCWSTR lpUserID,
DWORD dwFlags ) 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 ); hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags );
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
...@@ -252,7 +252,7 @@ DWORD WINAPI WNetUseConnectionA( HWND hwndOwner, LPNETRESOURCEA lpNetResource, ...@@ -252,7 +252,7 @@ DWORD WINAPI WNetUseConnectionA( HWND hwndOwner, LPNETRESOURCEA lpNetResource,
LPSTR lpAccessName, LPDWORD lpBufferSize, LPSTR lpAccessName, LPDWORD lpBufferSize,
LPDWORD lpResult ) 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, hwndOwner, lpNetResource, lpPassword, debugstr_a(lpUserID), dwFlags,
debugstr_a(lpAccessName), lpBufferSize, lpResult ); debugstr_a(lpAccessName), lpBufferSize, lpResult );
...@@ -268,7 +268,7 @@ DWORD WINAPI WNetUseConnectionW( HWND hwndOwner, LPNETRESOURCEW lpNetResource, ...@@ -268,7 +268,7 @@ DWORD WINAPI WNetUseConnectionW( HWND hwndOwner, LPNETRESOURCEW lpNetResource,
LPWSTR lpAccessName, LPDWORD lpBufferSize, LPWSTR lpAccessName, LPDWORD lpBufferSize,
LPDWORD lpResult ) 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, hwndOwner, lpNetResource, lpPassword, debugstr_w(lpUserID), dwFlags,
debugstr_w(lpAccessName), lpBufferSize, lpResult ); debugstr_w(lpAccessName), lpBufferSize, lpResult );
...@@ -321,7 +321,7 @@ DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce ...@@ -321,7 +321,7 @@ DWORD WINAPI WNetCancelConnection2W( LPCWSTR lpName, DWORD dwFlags, BOOL fForce
*/ */
DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice ) 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -332,7 +332,7 @@ DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice ) ...@@ -332,7 +332,7 @@ DWORD WINAPI WNetRestoreConnectionA( HWND hwndOwner, LPSTR lpszDevice )
*/ */
DWORD WINAPI WNetRestoreConnectionW( HWND hwndOwner, LPWSTR 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); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
...@@ -492,7 +492,7 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize ...@@ -492,7 +492,7 @@ DWORD WINAPI WNetGetUserW( LPCWSTR lpName, LPWSTR lpUserID, LPDWORD lpBufferSize
*/ */
DWORD WINAPI WNetConnectionDialog( HWND hwnd, DWORD dwType ) 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); SetLastError(WN_NO_NETWORK);
return ERROR_NO_NETWORK; return ERROR_NO_NETWORK;
...@@ -525,7 +525,7 @@ DWORD WINAPI WNetConnectionDialog1W( LPCONNECTDLGSTRUCTW lpConnDlgStruct ) ...@@ -525,7 +525,7 @@ DWORD WINAPI WNetConnectionDialog1W( LPCONNECTDLGSTRUCTW lpConnDlgStruct )
*/ */
DWORD WINAPI WNetDisconnectDialog( HWND hwnd, DWORD dwType ) 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); SetLastError(WN_NO_NETWORK);
return ERROR_NO_NETWORK; return ERROR_NO_NETWORK;
...@@ -628,4 +628,3 @@ DWORD WINAPI WNetGetProviderNameW( DWORD dwNetType, ...@@ -628,4 +628,3 @@ DWORD WINAPI WNetGetProviderNameW( DWORD dwNetType,
SetLastError(WN_NO_NETWORK); SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK; return WN_NO_NETWORK;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment