Modified: trunk/reactos/subsys/system/winefile/Makefile
Modified: trunk/reactos/subsys/system/winefile/Sv.rc
Modified: trunk/reactos/subsys/system/winefile/cz.rc
Modified: trunk/reactos/subsys/system/winefile/de.rc
Modified: trunk/reactos/subsys/system/winefile/en.rc
Modified: trunk/reactos/subsys/system/winefile/es.rc
Modified: trunk/reactos/subsys/system/winefile/fr.rc
Modified: trunk/reactos/subsys/system/winefile/hu.rc
Modified: trunk/reactos/subsys/system/winefile/it.rc
Modified: trunk/reactos/subsys/system/winefile/nl.rc
Modified: trunk/reactos/subsys/system/winefile/pt.rc
Modified: trunk/reactos/subsys/system/winefile/resource.h
Modified: trunk/reactos/subsys/system/winefile/ru.rc
Modified: trunk/reactos/subsys/system/winefile/si.rc
Modified: trunk/reactos/subsys/system/winefile/winefile.c
Modified: trunk/reactos/subsys/system/winefile/winefile.dsp
Modified: trunk/reactos/subsys/system/winefile/zh.rc
--- trunk/reactos/subsys/system/winefile/Makefile 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/Makefile 2005-05-13 14:48:10 UTC (rev 15261)
@@ -28,7 +28,8 @@
comdlg32.a \
ole32.a \
oleaut32.a \
- shell32.a
+ shell32.a \
+ mpr.a
TARGET_GCCLIBS := uuid
--- trunk/reactos/subsys/system/winefile/Sv.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/Sv.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -64,8 +64,8 @@
MENUITEM "&Skapa systemdisk...", -1 /*TODO*/
#endif
MENUITEM SEPARATOR
- MENUITEM "Anslut &Nõtverksenhet", 252
- MENUITEM "&Koppla ifrÕn Nõtverksenhet", 253
+ MENUITEM "Anslut &Nõtverksenhet", ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Koppla ifrÕn Nõtverksenhet", ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Dela ut...", 254
MENUITEM "&Ta bort utdelning...", 255
--- trunk/reactos/subsys/system/winefile/cz.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/cz.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -63,8 +63,8 @@
MENUITEM "&Vytvo°it systemov² disk...", -1 /*TODO*/
#endif
MENUITEM SEPARATOR
- MENUITEM "P°ipojit &sÝØovÚ za°ÝzenÝ" , 252
- MENUITEM "&Odpojit &sÝØovÚ za°ÝzenÝ" , 253
+ MENUITEM "P°ipojit &sÝØovÚ za°ÝzenÝ" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Odpojit &sÝØovÚ za°ÝzenÝ" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "SdÝlet jako..." , 254
MENUITEM "&Odstranit sdÝlenÝ..." , 255
--- trunk/reactos/subsys/system/winefile/de.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/de.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -61,8 +61,8 @@
MENUITEM "...", -1 /*TODO*/
#endif
MENUITEM SEPARATOR
- MENUITEM "Netzwerklaufwerk &verbinden..." , 252
- MENUITEM "Netzwerklaufwerk &trennen..." , 253
+ MENUITEM "Netzwerklaufwerk &verbinden..." , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "Netzwerklaufwerk &trennen..." , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "F&reigeben als..." , 254
MENUITEM "Freigabe been&den..." , 255
--- trunk/reactos/subsys/system/winefile/en.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/en.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -65,8 +65,8 @@
MENUITEM "&Make System Disk...", -1 /*TODO*/
#endif
MENUITEM SEPARATOR
- MENUITEM "Connect &Network Drive" , 252
- MENUITEM "&Disconnect Network Drive" , 253
+ MENUITEM "Connect &Network Drive" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Disconnect Network Drive" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Share as..." , 254
MENUITEM "&Remove Share..." , 255
--- trunk/reactos/subsys/system/winefile/es.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/es.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -61,8 +61,8 @@
MENUITEM "&Hacer disco de sistema...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "C&onectar unidad de red" , 252
- MENUITEM "&Desconectar unidad de red" , 253
+ MENUITEM "C&onectar unidad de red" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Desconectar unidad de red" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Co&mpartir como..." , 254
MENUITEM "&Eliminar compartido..." , 255
--- trunk/reactos/subsys/system/winefile/fr.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/fr.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -64,8 +64,8 @@
MENUITEM "CrÚer un disque *systÞme...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Connecter un lecteur &rÚseau" , 252
- MENUITEM "&DÚconnecter un lecteur rÚseau" , 253
+ MENUITEM "Connecter un lecteur &rÚseau" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&DÚconnecter un lecteur rÚseau" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "&Partager..." , 254
MENUITEM "Cesser de parta&ger" , 255
--- trunk/reactos/subsys/system/winefile/hu.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/hu.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -64,8 +64,8 @@
MENUITEM "&Rendszerlemez kÚszÝtÚse...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "&Hßl¾zati meghajt¾ csatlakoztatßsa" , 252
- MENUITEM "Hßl¾zati meghajt¾ levßlasztßsa" , 253
+ MENUITEM "&Hßl¾zati meghajt¾ csatlakoztatßsa" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "Hßl¾zati meghajt¾ levßlasztßsa" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Megosztßs..." , 254
MENUITEM "Megosztßs &megsz³ntetÚse..." , 255
--- trunk/reactos/subsys/system/winefile/it.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/it.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -64,8 +64,8 @@
MENUITEM "&Crea Disco di Sistema...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Connetti & Drive di Rete" , 252
- MENUITEM "&Disconnetti Drive di Rete" , 253
+ MENUITEM "Connetti & Drive di Rete" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Disconnetti Drive di Rete" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Condividi come..." , 254
MENUITEM "&Rimuovi condivisione..." , 255
--- trunk/reactos/subsys/system/winefile/nl.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/nl.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -60,8 +60,8 @@
MENUITEM "Systeemdisk maken...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Verbinding &maken met netwerkchijf" , 252
- MENUITEM "Verbinding &verbreken met netwerkschijf" , 253
+ MENUITEM "Verbinding &maken met netwerkchijf" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "Verbinding &verbreken met netwerkschijf" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Schijf &delen..." , 254
MENUITEM "Delen &ongedaan maken..." , 255
--- trunk/reactos/subsys/system/winefile/pt.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/pt.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -63,8 +63,8 @@
MENUITEM "&Gerar disco de sistema...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Conecta&r unidade de rede" , 252
- MENUITEM "&Desconectar unidade de rede" , 253
+ MENUITEM "Conecta&r unidade de rede" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Desconectar unidade de rede" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "C&ompartilhar como..." , 254
MENUITEM "&Remover compartilhamento..." , 255
@@ -191,8 +191,8 @@
MENUITEM "&Gerar disco de sistema...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Conecta&r unidade de rede" , 252
- MENUITEM "&Desconectar unidade de rede" , 253
+ MENUITEM "Conecta&r unidade de rede" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Desconectar unidade de rede" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "&Partilhar como..." , 254
MENUITEM "&Remover partilha..." , 255
--- trunk/reactos/subsys/system/winefile/resource.h 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/resource.h 2005-05-13 14:48:10 UTC (rev 15261)
@@ -43,6 +43,8 @@
#define ID_EXECUTE 105
#define ID_FILE_MOVE 106
#define ID_FILE_EXIT 115
+#define ID_CONNECT_NETWORK_DRIVE 252
+#define ID_DISCONNECT_NETWORK_DRIVE 253
#define ID_VIEW_NAME 401
#define ID_VIEW_ALL_ATTRIBUTES 402
#define ID_VIEW_SELECTED_ATTRIBUTES 403
--- trunk/reactos/subsys/system/winefile/ru.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/ru.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -60,8 +60,8 @@
MENUITEM "&ЯþõÓ?³ ±Þ±?ÕýÝ¹Ú õÞ±Û...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "¤¯õÛÙ?&¸Þ?³ ±Õ?ÕÔ¯Ú õÞ±Û" , 252
- MENUITEM "??Û&Ù?¸Þ?³ ±Õ?ÕÔ¯Ú õÞ±Û" , 253
+ MENUITEM "¤¯õÛÙ?&¸Þ?³ ±Õ?ÕÔ¯Ú õÞ±Û" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "??Û&Ù?¸Þ?³ ±Õ?ÕÔ¯Ú õÞ±Û" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "ÐõÕÙÓ?³ ¯&ߨÞý ÛÓÛ..." , 254
MENUITEM "&ÃÓÛ¹?³ ¯ß¨ÞÚ õ¯±?¾´..." , 255
--- trunk/reactos/subsys/system/winefile/si.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/si.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -61,8 +61,8 @@
MENUITEM "&Make System Disk...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "Connect &Network Drive" , 252
- MENUITEM "&Disconnect Network Drive" , 253
+ MENUITEM "Connect &Network Drive" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "&Disconnect Network Drive" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "Share as..." , 254
MENUITEM "&Remove Share..." , 255
--- trunk/reactos/subsys/system/winefile/winefile.c 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/winefile.c 2005-05-13 14:48:10 UTC (rev 15261)
@@ -2000,6 +2000,14 @@
}
break;}
+ case ID_CONNECT_NETWORK_DRIVE:
+ WNetConnectionDialog(hwnd, RESOURCETYPE_DISK);
+ break;
+
+ case ID_DISCONNECT_NETWORK_DRIVE:
+ WNetDisconnectDialog(hwnd, RESOURCETYPE_DISK);
+ break;
+
case ID_HELP:
WinHelp(hwnd, RS(b1,IDS_WINEFILE), HELP_INDEX, 0);
break;
--- trunk/reactos/subsys/system/winefile/winefile.dsp 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/winefile.dsp 2005-05-13 14:48:10 UTC (rev 15261)
@@ -55,7 +55,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib mpr.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
!ELSEIF "$(CFG)" == "winefile - Win32 Unicode Debug"
@@ -81,7 +81,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib mpr.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
!ELSEIF "$(CFG)" == "winefile - Win32 UNICODE Release"
@@ -108,7 +108,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib mpr.lib /nologo /subsystem:windows /machine:I386
!ELSEIF "$(CFG)" == "winefile - Win32 Release"
@@ -135,7 +135,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib /nologo /subsystem:windows /machine:I386
+# ADD LINK32 user32.lib gdi32.lib advapi32.lib comctl32.lib shell32.lib comdlg32.lib ole32.lib mpr.lib /nologo /subsystem:windows /machine:I386
!ENDIF
--- trunk/reactos/subsys/system/winefile/zh.rc 2005-05-13 14:21:37 UTC (rev 15260)
+++ trunk/reactos/subsys/system/winefile/zh.rc 2005-05-13 14:48:10 UTC (rev 15261)
@@ -61,8 +61,8 @@
MENUITEM "¢¿?ó¤Á????ú¿&Mú®...", -1 /*@@ */
#endif
MENUITEM SEPARATOR
- MENUITEM "?¼¢Ë?°?þò»ã¸ú¿&Nú®" , 252
- MENUITEM "¤?¬?°?þò»ã¸?¼¢Ëú¿&Dú®" , 253
+ MENUITEM "?¼¢Ë?°?þò»ã¸ú¿&Nú®" , ID_CONNECT_NETWORK_DRIVE
+ MENUITEM "¤?¬?°?þò»ã¸?¼¢Ëú¿&Dú®" , ID_DISCONNECT_NETWORK_DRIVE
MENUITEM SEPARATOR
MENUITEM "??¤Ý?¬..." , 254
MENUITEM "?¥?²??¤Ýú¿&Rú®..." , 255