Wine-20041201 vendor drop
Added: vendor/wine/dlls/mpr/
Added: vendor/wine/dlls/mpr/current/
Added: vendor/wine/dlls/mpr/current/Makefile.in
Added: vendor/wine/dlls/mpr/current/auth.c
Added: vendor/wine/dlls/mpr/current/mpr.rc
Added: vendor/wine/dlls/mpr/current/mpr.spec
Added: vendor/wine/dlls/mpr/current/mpr_Cs.rc
Added: vendor/wine/dlls/mpr/current/mpr_De.rc
Added: vendor/wine/dlls/mpr/current/mpr_En.rc
Added: vendor/wine/dlls/mpr/current/mpr_Es.rc
Added: vendor/wine/dlls/mpr/current/mpr_It.rc
Added: vendor/wine/dlls/mpr/current/mpr_Ja.rc
Added: vendor/wine/dlls/mpr/current/mpr_Nl.rc
Added: vendor/wine/dlls/mpr/current/mpr_Pt.rc
Added: vendor/wine/dlls/mpr/current/mpr_main.c
Added: vendor/wine/dlls/mpr/current/mprres.h
Added: vendor/wine/dlls/mpr/current/multinet.c
Added: vendor/wine/dlls/mpr/current/nps.c
Added: vendor/wine/dlls/mpr/current/pwcache.c
Added: vendor/wine/dlls/mpr/current/version.rc
Added: vendor/wine/dlls/mpr/current/wnet.c
Added: vendor/wine/dlls/mpr/current/wnetpriv.h
_____
Added: vendor/wine/dlls/mpr/current/Makefile.in
--- vendor/wine/dlls/mpr/current/Makefile.in 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/Makefile.in 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,21 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = mpr.dll
+IMPORTS = user32 advapi32 kernel32
+EXTRALIBS = $(LIBUNICODE)
+
+C_SRCS = \
+ auth.c \
+ mpr_main.c \
+ multinet.c \
+ nps.c \
+ pwcache.c \
+ wnet.c
+
+RC_SRCS = mpr.rc
+
+@MAKE_DLL_RULES@
+
+### Dependencies:
_____
Added: vendor/wine/dlls/mpr/current/auth.c
--- vendor/wine/dlls/mpr/current/auth.c 2004-12-31 15:02:50 UTC (rev
12540)
+++ vendor/wine/dlls/mpr/current/auth.c 2004-12-31 15:02:54 UTC (rev
12541)
@@ -0,0 +1,95 @@
+/*
+ * MPR Authentication and Logon functions
+ *
+ * Copyright 1999 Ulrich Weigand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winnetwk.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+
+/*****************************************************************
+ * WNetLogoffA [MPR.@]
+ */
+DWORD WINAPI WNetLogoffA( LPCSTR lpProvider, HWND hwndOwner )
+{
+ FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * WNetLogoffW [MPR.@]
+ */
+DWORD WINAPI WNetLogoffW( LPCWSTR lpProvider, HWND hwndOwner )
+{
+ FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * WNetLogonA [MPR.@]
+ */
+DWORD WINAPI WNetLogonA( LPCSTR lpProvider, HWND hwndOwner )
+{
+ FIXME( "(%s, %p): stub\n", debugstr_a(lpProvider), hwndOwner );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * WNetLogonW [MPR.@]
+ */
+DWORD WINAPI WNetLogonW( LPCWSTR lpProvider, HWND hwndOwner )
+{
+ FIXME( "(%s, %p): stub\n", debugstr_w(lpProvider), hwndOwner );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * WNetVerifyPasswordA [MPR.@]
+ */
+DWORD WINAPI WNetVerifyPasswordA( LPCSTR lpszPassword, BOOL *pfMatch )
+{
+ FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * WNetVerifyPasswordW [MPR.@]
+ */
+DWORD WINAPI WNetVerifyPasswordW( LPCWSTR lpszPassword, BOOL *pfMatch )
+{
+ FIXME( "(%p, %p): stub\n", lpszPassword, pfMatch );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr.rc
--- vendor/wine/dlls/mpr/current/mpr.rc 2004-12-31 15:02:50 UTC (rev
12540)
+++ vendor/wine/dlls/mpr/current/mpr.rc 2004-12-31 15:02:54 UTC (rev
12541)
@@ -0,0 +1,33 @@
+/*
+ * MPR dll resources
+ *
+ * Copyright (C) 2004 Juan Lang
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+#include "windef.h"
+#include "winbase.h"
+#include "mprres.h"
+
+#include "version.rc"
+
+#include "mpr_Cs.rc"
+#include "mpr_De.rc"
+#include "mpr_En.rc"
+#include "mpr_Nl.rc"
+#include "mpr_Es.rc"
+#include "mpr_It.rc"
+#include "mpr_Ja.rc"
+#include "mpr_Pt.rc"
_____
Added: vendor/wine/dlls/mpr/current/mpr.spec
--- vendor/wine/dlls/mpr/current/mpr.spec 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr.spec 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,116 @@
+# ordinal exports
+ 1 stub @
+ 2 stub @
+ 3 stub @
+ 4 stub @
+ 5 stub @
+ 6 stub @
+ 7 stub @
+ 8 stub @
+ 9 stub @
+12 stub @
+13 stub @
+14 stub @
+15 stub @
+16 stub @
+17 stub @
+18 stub @
+19 stub @
+20 stub @
+21 stub @
+22 stdcall @(long) MPR_Alloc
+23 stdcall @(ptr long) MPR_ReAlloc
+24 stdcall @(ptr) MPR_Free
+25 stdcall @(ptr long) _MPR_25
+
+@ stdcall -private DllCanUnloadNow() MPR_DllCanUnloadNow
+@ stub DllGetClassObject
+@ stdcall MultinetGetConnectionPerformanceA(ptr ptr)
+@ stdcall MultinetGetConnectionPerformanceW(ptr ptr)
+@ stdcall MultinetGetErrorTextA(long ptr long)
+@ stdcall MultinetGetErrorTextW(long ptr long)
+@ stdcall NPSAuthenticationDialogA(ptr)
+@ stdcall NPSCopyStringA(str ptr ptr)
+@ stdcall NPSDeviceGetNumberA(str ptr ptr)
+@ stdcall NPSDeviceGetStringA(long long ptr long)
+@ stdcall NPSGetProviderHandleA(ptr)
+@ stdcall NPSGetProviderNameA(long ptr)
+@ stdcall NPSGetSectionNameA(long ptr)
+@ stdcall NPSNotifyGetContextA(ptr)
+@ stdcall NPSNotifyRegisterA(long ptr)
+@ stdcall NPSSetCustomTextA(str)
+@ stdcall NPSSetExtendedErrorA(long str)
+@ stub PwdChangePasswordA
+@ stub PwdChangePasswordW
+@ stub PwdGetPasswordStatusA
+@ stub PwdGetPasswordStatusW
+@ stub PwdSetPasswordStatusA
+@ stub PwdSetPasswordStatusW
+@ stdcall WNetAddConnection2A(ptr str str long)
+@ stdcall WNetAddConnection2W(ptr wstr wstr long)
+@ stdcall WNetAddConnection3A(long ptr str str long)
+@ stdcall WNetAddConnection3W(long ptr wstr wstr long)
+@ stdcall WNetAddConnectionA(str str str)
+@ stdcall WNetAddConnectionW(wstr wstr wstr)
+@ stdcall WNetCachePassword(str long str long long long)
+@ stdcall WNetCancelConnection2A(str long long)
+@ stdcall WNetCancelConnection2W(wstr long long)
+@ stdcall WNetCancelConnectionA(str long)
+@ stdcall WNetCancelConnectionW(wstr long)
+@ stdcall WNetCloseEnum(long)
+@ stdcall WNetConnectionDialog1A(ptr)
+@ stdcall WNetConnectionDialog1W(ptr)
+@ stdcall WNetConnectionDialog(long long)
+@ stdcall WNetDisconnectDialog1A(ptr)
+@ stdcall WNetDisconnectDialog1W(ptr)
+@ stdcall WNetDisconnectDialog(long long)
+@ stdcall WNetEnumCachedPasswords(str long long ptr long)
+@ stdcall WNetEnumResourceA(long ptr ptr ptr)
+@ stdcall WNetEnumResourceW(long ptr ptr ptr)
+@ stub WNetFormatNetworkNameA
+@ stub WNetFormatNetworkNameW
+@ stdcall WNetGetCachedPassword(ptr long ptr ptr long)
+@ stdcall WNetGetConnectionA(str ptr ptr)
+@ stdcall WNetGetConnectionW(wstr ptr ptr)
+@ stub WNetGetHomeDirectoryA
+@ stub WNetGetHomeDirectoryW
+@ stdcall WNetGetLastErrorA(ptr ptr long ptr long)
+@ stdcall WNetGetLastErrorW(ptr ptr long ptr long)
+@ stdcall WNetGetNetworkInformationA(str ptr)
+@ stdcall WNetGetNetworkInformationW(wstr ptr)
+@ stdcall WNetGetProviderNameA(long ptr ptr)
+@ stdcall WNetGetProviderNameW(long ptr ptr)
+@ stdcall WNetGetResourceInformationA(ptr ptr ptr ptr)
+@ stdcall WNetGetResourceInformationW(ptr ptr ptr ptr)
+@ stdcall WNetGetResourceParentA(ptr ptr ptr)
+@ stdcall WNetGetResourceParentW(ptr ptr ptr)
+@ stdcall WNetGetUniversalNameA (str long ptr ptr)
+@ stdcall WNetGetUniversalNameW (wstr long ptr ptr)
+@ stdcall WNetGetUserA(str ptr ptr)
+@ stdcall WNetGetUserW(wstr wstr ptr)
+@ stdcall WNetLogoffA(str long)
+@ stdcall WNetLogoffW(wstr long)
+@ stdcall WNetLogonA(str long)
+@ stdcall WNetLogonW(wstr long)
+@ stdcall WNetOpenEnumA(long long long ptr ptr)
+@ stdcall WNetOpenEnumW(long long long ptr ptr)
+@ stdcall WNetRemoveCachedPassword(long long long)
+@ stdcall WNetRestoreConnectionA(long str)
+@ stdcall WNetRestoreConnectionW(long wstr)
+@ stdcall WNetSetConnectionA(str long ptr)
+@ stdcall WNetSetConnectionW(wstr long ptr)
+@ stdcall WNetUseConnectionA(long ptr str str long str ptr ptr)
+@ stdcall WNetUseConnectionW(long ptr wstr wstr long wstr ptr ptr)
+@ stdcall WNetVerifyPasswordA(str ptr)
+@ stdcall WNetVerifyPasswordW(wstr ptr)
+
+#additions, not in win95 mpr.dll
+@ stub WNetRestoreConnection
+@ stub WNetLogonNotify
+@ stub WNetPasswordChangeNotify
+@ stub WNetGetPropertyTextA
+@ stub WNetPropertyDialogA
+@ stub WNetGetDirectoryTypeA
+@ stub WNetFMXGetPermHelp
+@ stub WNetFMXEditPerm
+@ stub WNetFMXGetPermCaps
_____
Added: vendor/wine/dlls/mpr/current/mpr_Cs.rc
--- vendor/wine/dlls/mpr/current/mpr_Cs.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_Cs.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * Czech MPR dll resources
+ * Copyright (C) 2004 Juan Lang
+ * Copyright (C) 2004 David Kredba
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Celá sí»"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_De.rc
--- vendor/wine/dlls/mpr/current/mpr_De.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_De.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll resources
+ *
+ * Copyright (C) 2004 Henning Gerhardt
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Gesamtes Netzwerk"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_En.rc
--- vendor/wine/dlls/mpr/current/mpr_En.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_En.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll resources
+ *
+ * Copyright (C) 2004 Juan Lang
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Entire Network"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_Es.rc
--- vendor/wine/dlls/mpr/current/mpr_Es.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_Es.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll Spanish resources
+ *
+ * Copyright (C) 2004 José Manuel Ferrer Ortiz
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Toda la red"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_It.rc
--- vendor/wine/dlls/mpr/current/mpr_It.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_It.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll Italian resources
+ *
+ * Copyright 2004 Ivan Leo Puoti
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Tutta la rete"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_Ja.rc
--- vendor/wine/dlls/mpr/current/mpr_Ja.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_Ja.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll resources
+ *
+ * Copyright (C) 2004 Hajime Segawa
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "flfbfgf[fN'S'Ì"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_Nl.rc
--- vendor/wine/dlls/mpr/current/mpr_Nl.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_Nl.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * Dutch resources for MPR
+ *
+ * Copyright (C) 2004 Hans Leidekker
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Gehele netwerk"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_Pt.rc
--- vendor/wine/dlls/mpr/current/mpr_Pt.rc 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_Pt.rc 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,26 @@
+/*
+ * MPR dll resources
+ *
+ * Copyright (C) 2004 Marcelo Duarte
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
+
+STRINGTABLE DISCARDABLE
+{
+ IDS_ENTIRENETWORK "Toda a rede"
+}
_____
Added: vendor/wine/dlls/mpr/current/mpr_main.c
--- vendor/wine/dlls/mpr/current/mpr_main.c 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mpr_main.c 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,100 @@
+/*
+ * MPR undocumented functions
+ *
+ * Copyright 1999 Ulrich Weigand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winnetwk.h"
+#include "wine/debug.h"
+#include "wnetpriv.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+ /*
+ * FIXME: The following routines should use a private heap ...
+ */
+
+/*****************************************************************
+ * @ [MPR.22]
+ */
+LPVOID WINAPI MPR_Alloc( DWORD dwSize )
+{
+ return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, dwSize );
+}
+
+/*****************************************************************
+ * @ [MPR.23]
+ */
+LPVOID WINAPI MPR_ReAlloc( LPVOID lpSrc, DWORD dwSize )
+{
+ if ( lpSrc )
+ return HeapReAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, lpSrc,
dwSize );
+ else
+ return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, dwSize );
+}
+
+/*****************************************************************
+ * @ [MPR.24]
+ */
+BOOL WINAPI MPR_Free( LPVOID lpMem )
+{
+ if ( lpMem )
+ return HeapFree( GetProcessHeap(), 0, lpMem );
+ else
+ return FALSE;
+}
+
+/*****************************************************************
+ * @ [MPR.25]
+ */
+BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
+{
+ FIXME( "(%p, %d): stub\n", lpMem, len );
+
+ return FALSE;
+}
+
+/*****************************************************************
+ * DllCanUnloadNow [MPR.@]
+ */
+DWORD WINAPI MPR_DllCanUnloadNow(void)
+{
+ FIXME("Stub\n");
+ return S_OK;
+}
+
+/*****************************************************************
+ * DllMain [MPR.init]
+ */
+BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID
lpvReserved)
+{
+ switch (fdwReason) {
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinstDLL );
+ wnetInit(hinstDLL);
+ break;
+
+ case DLL_PROCESS_DETACH:
+ wnetFree();
+ break;
+ }
+ return TRUE;
+}
_____
Added: vendor/wine/dlls/mpr/current/mprres.h
--- vendor/wine/dlls/mpr/current/mprres.h 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/mprres.h 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2004 Juan Lang
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+#ifndef __WINE_MPRRES_H__
+#define __WINE_MPRRES_H__
+
+#define IDS_ENTIRENETWORK 1
+
+#endif /* ndef __WINE_MPRRES_H__ */
_____
Added: vendor/wine/dlls/mpr/current/multinet.c
--- vendor/wine/dlls/mpr/current/multinet.c 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/multinet.c 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,81 @@
+/*
+ * MPR Multinet functions
+ *
+ * Copyright 1999 Ulrich Weigand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winnetwk.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+
+/*****************************************************************
+ * MultinetGetConnectionPerformanceA [MPR.@]
+ *
+ * RETURNS
+ * Success: NO_ERROR
+ * Failure: ERROR_NOT_SUPPORTED, ERROR_NOT_CONNECTED,
+ * ERROR_NO_NET_OR_BAD_PATH, ERROR_BAD_DEVICE,
+ * ERROR_BAD_NET_NAME, ERROR_INVALID_PARAMETER,
+ * ERROR_NO_NETWORK, ERROR_EXTENDED_ERROR
+ */
+DWORD WINAPI MultinetGetConnectionPerformanceA(
+ LPNETRESOURCEA lpNetResource,
+ LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
+{
+ FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * MultinetGetConnectionPerformanceW [MPR.@]
+ */
+DWORD WINAPI MultinetGetConnectionPerformanceW(
+ LPNETRESOURCEW lpNetResource,
+ LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct )
+{
+ FIXME( "(%p, %p): stub\n", lpNetResource, lpNetConnectInfoStruct );
+
+ SetLastError(WN_NO_NETWORK);
+ return WN_NO_NETWORK;
+}
+
+/*****************************************************************
+ * MultinetGetErrorTextA [MPR.@]
+ */
+DWORD WINAPI MultinetGetErrorTextA( DWORD x, DWORD y, DWORD z )
+{
+ FIXME( "(%lx, %lx, %lx): stub\n", x, y, z );
+ return 0;
+}
+
+/*****************************************************************
+ * MultinetGetErrorTextW [MPR.@]
+ */
+DWORD WINAPI MultinetGetErrorTextW( DWORD x, DWORD y, DWORD z )
+{
+ FIXME( "(%lx, %lx, %lx ): stub\n", x, y, z );
+ return 0;
+}
+
_____
Added: vendor/wine/dlls/mpr/current/nps.c
--- vendor/wine/dlls/mpr/current/nps.c 2004-12-31 15:02:50 UTC (rev
12540)
+++ vendor/wine/dlls/mpr/current/nps.c 2004-12-31 15:02:54 UTC (rev
12541)
@@ -0,0 +1,129 @@
+/*
+ * MPR Network Provider Services functions
+ *
+ * Copyright 1999 Ulrich Weigand
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winnetwk.h"
+#include "netspi.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+
+/*****************************************************************
+ * NPSAuthenticationDialogA [MPR.@]
+ */
+DWORD WINAPI NPSAuthenticationDialogA( LPAUTHDLGSTRUCTA lpAuthDlgStruct
)
+{
+ FIXME( "(%p): stub\n", lpAuthDlgStruct );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSGetProviderHandleA [MPR.@]
+ */
+DWORD WINAPI NPSGetProviderHandleA( PHPROVIDER phProvider )
+{
+ FIXME( "(%p): stub\n", phProvider );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSGetProviderNameA [MPR.@]
+ */
+DWORD WINAPI NPSGetProviderNameA( HPROVIDER hProvider, LPCSTR
*lpszProviderName )
+{
+ FIXME( "(%p, %p): stub\n", hProvider, lpszProviderName );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSGetSectionNameA [MPR.@]
+ */
+DWORD WINAPI NPSGetSectionNameA( HPROVIDER hProvider, LPCSTR
*lpszSectionName )
+{
+ FIXME( "(%p, %p): stub\n", hProvider, lpszSectionName );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSSetExtendedErrorA [MPR.@]
+ */
+DWORD WINAPI NPSSetExtendedErrorA( DWORD NetSpecificError, LPSTR
lpExtendedErrorText )
+{
+ FIXME( "(%08lx, %s): stub\n", NetSpecificError,
debugstr_a(lpExtendedErrorText) );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSSetCustomTextA [MPR.@]
+ */
+VOID WINAPI NPSSetCustomTextA( LPSTR lpCustomErrorText )
+{
+ FIXME( "(%s): stub\n", debugstr_a(lpCustomErrorText) );
+}
+
+/*****************************************************************
+ * NPSCopyStringA [MPR.@]
+ */
+DWORD WINAPI NPSCopyStringA( LPCSTR lpString, LPVOID lpBuffer, LPDWORD
lpdwBufferSize )
+{
+ FIXME( "(%s, %p, %p): stub\n", debugstr_a(lpString), lpBuffer,
lpdwBufferSize );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSDeviceGetNumberA [MPR.@]
+ */
+DWORD WINAPI NPSDeviceGetNumberA( LPSTR lpLocalName, LPDWORD
lpdwNumber, LPDWORD lpdwType )
+{
+ FIXME( "(%s, %p, %p): stub\n", debugstr_a(lpLocalName), lpdwNumber,
lpdwType );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSDeviceGetStringA [MPR.@]
+ */
+DWORD WINAPI NPSDeviceGetStringA( DWORD dwNumber, DWORD dwType, LPSTR
lpLocalName, LPDWORD lpdwBufferSize )
+{
+ FIXME( "(%ld, %ld, %p, %p): stub\n", dwNumber, dwType, lpLocalName,
lpdwBufferSize );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSNotifyRegisterA [MPR.@]
+ */
+DWORD WINAPI NPSNotifyRegisterA( enum NOTIFYTYPE NotifyType,
NOTIFYCALLBACK pfNotifyCallBack )
+{
+ FIXME( "(%d, %p): stub\n", NotifyType, pfNotifyCallBack );
+ return WN_NOT_SUPPORTED;
+}
+
+/*****************************************************************
+ * NPSNotifyGetContextA [MPR.@]
+ */
+LPVOID WINAPI NPSNotifyGetContextA( NOTIFYCALLBACK pfNotifyCallBack )
+{
+ FIXME( "(%p): stub\n", pfNotifyCallBack );
+ return NULL;
+}
+
_____
Added: vendor/wine/dlls/mpr/current/pwcache.c
--- vendor/wine/dlls/mpr/current/pwcache.c 2004-12-31 15:02:50 UTC
(rev 12540)
+++ vendor/wine/dlls/mpr/current/pwcache.c 2004-12-31 15:02:54 UTC
(rev 12541)
@@ -0,0 +1,315 @@
+/*
+ * MPR Password Cache functions
+ *
+ * Copyright 1999 Ulrich Weigand
+ * Copyright 2003,2004 Mike McCormack for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
+ */
+
+#include <stdarg.h>
+#include <stdio.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winnetwk.h"
+#include "winreg.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+static const char mpr_key[] = "Software\\Wine\\Wine\\Mpr\\";
+
+static inline BYTE hex( BYTE x )
+{
+ if( x <= 9 )
+ return x + '0';
+ return x + 'A' - 10;
+}
+
+static inline CHAR ctox( CHAR x )
+{
+ if( ( x >= '0' ) && ( x <= '9' ) )
+ return x - '0';
+ if( ( x >= 'A' ) && ( x <= 'F' ) )
+ return x - 'A' + 10;
+ if( ( x >= 'a' ) && ( x <= 'a' ) )
+ return x - 'a' + 10;
+ return -1;
+}
+
+static LPSTR MPR_GetValueName( LPSTR pbResource, WORD cbResource, BYTE
nType )
+{
+ LPSTR name;
+ DWORD i;
+
+ name = HeapAlloc( GetProcessHeap(), 0, 6+cbResource*2 );
+ if( name )
+ sprintf( name, "X-%02X-", nType );
+ for(i=0; i<cbResource; i++)
+ {
+ name[5+i*2]=hex((pbResource[i]&0xf0)>>4);
+ name[6+i*2]=hex(pbResource[i]&0x0f);
+ }
+ name[5+i*2]=0;
+ TRACE( "Value is %s\n", name );
+ return name;
+}
+
+
+/**********************************************************************
****
+ * WNetCachePassword [MPR.@] Saves password in cache
+ *
+ * NOTES
+ * only the parameter count is verifyed
+ *
+ * ---- everything below this line might be wrong (js) -----
+ * RETURNS
+ * Success: WN_SUCCESS
+ * Failure: WN_ACCESS_DENIED, WN_BAD_PASSWORD, WN_BADVALUE,
WN_NET_ERROR,
+ * WN_NOT_SUPPORTED, WN_OUT_OF_MEMORY
+ */
+DWORD WINAPI WNetCachePassword(
+ LPSTR pbResource, /* [in] Name of workgroup, computer, or resource
*/
+ WORD cbResource, /* [in] Size of name */
+ LPSTR pbPassword, /* [in] Buffer containing password */
+ WORD cbPassword, /* [in] Size of password */
+ BYTE nType, /* [in] Type of password to cache */
+ WORD x)
+
+{
+ HKEY hkey;
+ DWORD r;
+ LPSTR valname;
+
+ WARN( "(%p(%s), %d, %p(%s), %d, %d, 0x%08x): totally insecure\n",
+ pbResource, debugstr_a(pbResource), cbResource,
+ pbPassword, debugstr_a(pbPassword), cbPassword,
+ nType, x );
+
+ r = RegCreateKeyA( HKEY_CURRENT_USER, mpr_key, &hkey );
+ if( r )
+ return WN_ACCESS_DENIED;
+
+ valname = MPR_GetValueName( pbResource, cbResource, nType );
+ if( valname )
+ {
+ r = RegSetValueExA( hkey, valname, 0, REG_BINARY,
[truncated at 1000 lines; 2320 more skipped]