Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
276bbb9f
Commit
276bbb9f
authored
Jun 02, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Jun 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove the now unused SHELL_DeleteFileA and SHELL_DeleteDirectoryA.
parent
b84f3093
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
shlfileop.c
dlls/shell32/shlfileop.c
+1
-22
No files found.
dlls/shell32/shlfileop.c
View file @
276bbb9f
...
...
@@ -156,19 +156,6 @@ static void SHELL32_FreeUnicodeBuf(LPWSTR wPath)
* Asks for confirmation when bShowUI is true and deletes the directory and
* all its subdirectories and files if necessary.
*/
BOOL
SHELL_DeleteDirectoryA
(
LPCSTR
pszDir
,
BOOL
bShowUI
)
{
LPWSTR
wPath
;
BOOL
ret
=
FALSE
;
if
(
!
SHELL32_AnsiToUnicodeBuf
(
pszDir
,
&
wPath
,
0
))
{
ret
=
SHELL_DeleteDirectoryW
(
wPath
,
bShowUI
);
SHELL32_FreeUnicodeBuf
(
wPath
);
}
return
ret
;
}
BOOL
SHELL_DeleteDirectoryW
(
LPCWSTR
pszDir
,
BOOL
bShowUI
)
{
BOOL
ret
=
TRUE
;
...
...
@@ -205,16 +192,8 @@ BOOL SHELL_DeleteDirectoryW(LPCWSTR pszDir, BOOL bShowUI)
}
/**************************************************************************
* SHELL_DeleteFile
A
() [internal]
* SHELL_DeleteFile
W
() [internal]
*/
BOOL
SHELL_DeleteFileA
(
LPCSTR
pszFile
,
BOOL
bShowUI
)
{
if
(
bShowUI
&&
!
SHELL_ConfirmDialog
(
ASK_DELETE_FILE
,
pszFile
))
return
FALSE
;
return
(
SHNotifyDeleteFileA
(
pszFile
)
==
ERROR_SUCCESS
);
}
BOOL
SHELL_DeleteFileW
(
LPCWSTR
pszFile
,
BOOL
bShowUI
)
{
if
(
bShowUI
&&
!
SHELL_ConfirmDialogW
(
ASK_DELETE_FILE
,
pszFile
))
...
...
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