Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
08cf5a30
Commit
08cf5a30
authored
May 16, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
May 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement menu entry "format disk" (derived from Robert Dickenson's
code).
parent
efbea2e2
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
22 additions
and
14 deletions
+22
-14
Cs.rc
programs/winefile/Cs.rc
+1
-1
De.rc
programs/winefile/De.rc
+1
-1
En.rc
programs/winefile/En.rc
+1
-1
Es.rc
programs/winefile/Es.rc
+1
-1
Fr.rc
programs/winefile/Fr.rc
+1
-1
Hu.rc
programs/winefile/Hu.rc
+1
-1
It.rc
programs/winefile/It.rc
+1
-1
Nl.rc
programs/winefile/Nl.rc
+1
-1
Pl.rc
programs/winefile/Pl.rc
+1
-1
Pt.rc
programs/winefile/Pt.rc
+2
-2
Ru.rc
programs/winefile/Ru.rc
+1
-1
Si.rc
programs/winefile/Si.rc
+1
-1
Zh.rc
programs/winefile/Zh.rc
+1
-1
resource.h
programs/winefile/resource.h
+1
-0
winefile.c
programs/winefile/winefile.c
+7
-0
No files found.
programs/winefile/Cs.rc
View file @
08cf5a30
...
...
@@ -59,7 +59,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Koprovat disk..." , 201
MENUITEM "&Pojmenovat disk..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formtovat disk..." ,
203
MENUITEM "&Formtovat disk..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "Vytvoit syst&mov disk...", -1 /*@@ */
#endif
...
...
programs/winefile/De.rc
View file @
08cf5a30
...
...
@@ -58,7 +58,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Datentrger &kopieren..." , 201
MENUITEM "Datentrger &benennen..." , 202
MENUITEM SEPARATOR
MENUITEM "Datentrger &formatieren..." , 2
03
MENUITEM "Datentrger &formatieren..." , I
D_FORMAT_DISK
#ifdef _WIN95
MENUITEM "...", -1 /*@@ */
#endif
...
...
programs/winefile/En.rc
View file @
08cf5a30
...
...
@@ -58,7 +58,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copy Disk..." , 201
MENUITEM "&Label Disk..." , 202
MENUITEM SEPARATOR
MENUITEM "&Format Disk..." ,
203
MENUITEM "&Format Disk..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Make System Disk...", -1 /*TODO*/
#endif
...
...
programs/winefile/Es.rc
View file @
08cf5a30
...
...
@@ -56,7 +56,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copiar disco..." , 201
MENUITEM "E&tiquetar disco..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatear disco..." ,
203
MENUITEM "&Formatear disco..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Hacer disco de sistema...", -1 /*TODO*/
#endif
...
...
programs/winefile/Fr.rc
View file @
08cf5a30
...
...
@@ -59,7 +59,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copier Disque..." , 201
MENUITEM "&Nommer Disque..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formater Disque..." ,
203
MENUITEM "&Formater Disque..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "Crer un disque *systme...", -1 /*@@ */
#endif
...
...
programs/winefile/Hu.rc
View file @
08cf5a30
...
...
@@ -59,7 +59,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Lemez &msolsa..." , 201
MENUITEM "&Lemezcimke..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatls..." ,
203
MENUITEM "&Formatls..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Rendszerlemez ksztse...", -1 /*@@ */
#endif
...
...
programs/winefile/It.rc
View file @
08cf5a30
...
...
@@ -59,7 +59,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copia Disco..." , 201
MENUITEM "&Etichetta Disco..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatta Disco..." ,
203
MENUITEM "&Formatta Disco..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Crea Disco di Sistema...", -1 /*@@ */
#endif
...
...
programs/winefile/Nl.rc
View file @
08cf5a30
...
...
@@ -55,7 +55,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Disk &kopiren..." , 201
MENUITEM "Disklabel maken..." , 202
MENUITEM SEPARATOR
MENUITEM "Disk &formatteren..." ,
203
MENUITEM "Disk &formatteren..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "Systeemdisk maken...", -1 /*@@ */
#endif
...
...
programs/winefile/Pl.rc
View file @
08cf5a30
...
...
@@ -59,7 +59,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Kopiuj dusk..." , 201
MENUITEM "&Etykieta dysku..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatuj dysk..." ,
203
MENUITEM "&Formatuj dysk..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Stwrz dysk systemowy...", -1 /*@@ */
#endif
...
...
programs/winefile/Pt.rc
View file @
08cf5a30
...
...
@@ -58,7 +58,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copiar disco..." , 201
MENUITEM "&Nomear disco..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatar disco..." ,
203
MENUITEM "&Formatar disco..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Gerar disco de sistema...", -1 /*@@ */
#endif
...
...
@@ -185,7 +185,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copiar disco..." , 201
MENUITEM "&Nomear disco..." , 202
MENUITEM SEPARATOR
MENUITEM "&Formatar disco..." ,
203
MENUITEM "&Formatar disco..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Gerar disco de sistema...", -1 /*@@ */
#endif
...
...
programs/winefile/Ru.rc
View file @
08cf5a30
...
...
@@ -55,7 +55,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "& ..." , 201
MENUITEM "& ..." , 202
MENUITEM SEPARATOR
MENUITEM "&..." ,
203
MENUITEM "&..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "& ...", -1 /*@@ */
#endif
...
...
programs/winefile/Si.rc
View file @
08cf5a30
...
...
@@ -56,7 +56,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Copy Disk..." , 201
MENUITEM "&Label Disk..." , 202
MENUITEM SEPARATOR
MENUITEM "&Format Disk..." ,
203
MENUITEM "&Format Disk..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "&Make System Disk...", -1 /*@@ */
#endif
...
...
programs/winefile/Zh.rc
View file @
08cf5a30
...
...
@@ -56,7 +56,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "复制(&C)..." , 201
MENUITEM "命名(&L)..." , 202
MENUITEM SEPARATOR
MENUITEM "格式化(&)..." ,
203
MENUITEM "格式化(&)..." ,
ID_FORMAT_DISK
#ifdef _WIN95
MENUITEM "建立系统盘(&M)...", -1 /*@@ */
#endif
...
...
programs/winefile/resource.h
View file @
08cf5a30
...
...
@@ -41,6 +41,7 @@
#define ID_EXECUTE 105
#define ID_FILE_MOVE 106
#define ID_FILE_EXIT 115
#define ID_FORMAT_DISK 203
#define ID_VIEW_NAME 401
#define ID_VIEW_ALL_ATTRIBUTES 402
#define ID_VIEW_SELECTED_ATTRIBUTES 403
...
...
programs/winefile/winefile.c
View file @
08cf5a30
...
...
@@ -1970,6 +1970,13 @@ LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam
}
break
;}
case
ID_FORMAT_DISK
:
{
UINT
sem_org
=
SetErrorMode
(
0
);
/* Get the current Error Mode settings. */
SetErrorMode
(
sem_org
&
~
SEM_FAILCRITICALERRORS
);
/* Force O/S to handle */
SHFormatDrive
(
hwnd
,
0
/* A: */
,
SHFMT_ID_DEFAULT
,
0
);
SetErrorMode
(
sem_org
);
/* Put it back the way it was. */
break
;}
case
ID_HELP
:
WinHelp
(
hwnd
,
RS
(
b1
,
IDS_WINEFILE
),
HELP_INDEX
,
0
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment