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
0f64ffd9
Commit
0f64ffd9
authored
Jan 10, 2013
by
Damjan Jovanovic
Committed by
Alexandre Julliard
Jan 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix non-BOOL returns in BOOL functions.
parent
b81eb2ee
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
19 deletions
+19
-19
brsfolder.c
dlls/shell32/brsfolder.c
+1
-1
changenotify.c
dlls/shell32/changenotify.c
+1
-1
shellord.c
dlls/shell32/shellord.c
+7
-7
shellpath.c
dlls/shell32/shellpath.c
+2
-2
shlfileop.c
dlls/shell32/shlfileop.c
+1
-1
shlmenu.c
dlls/shell32/shlmenu.c
+5
-5
shpolicy.c
dlls/shell32/shpolicy.c
+2
-2
No files found.
dlls/shell32/brsfolder.c
View file @
0f64ffd9
...
...
@@ -957,7 +957,7 @@ static BOOL BrsFolder_OnSetSelectionA(browse_info *info, LPVOID selection, BOOL
return
result
;
}
static
BOOL
BrsFolder_OnWindowPosChanging
(
browse_info
*
info
,
WINDOWPOS
*
pos
)
static
LRESULT
BrsFolder_OnWindowPosChanging
(
browse_info
*
info
,
WINDOWPOS
*
pos
)
{
if
((
info
->
lpBrowseInfo
->
ulFlags
&
BIF_NEWDIALOGSTYLE
)
&&
!
(
pos
->
flags
&
SWP_NOSIZE
))
{
...
...
dlls/shell32/changenotify.c
View file @
0f64ffd9
...
...
@@ -230,7 +230,7 @@ BOOL WINAPI SHChangeNotifyUpdateEntryList(DWORD unknown1, DWORD unknown2,
FIXME
(
"(0x%08x, 0x%08x, 0x%08x, 0x%08x)
\n
"
,
unknown1
,
unknown2
,
unknown3
,
unknown4
);
return
-
1
;
return
TRUE
;
}
struct
new_delivery_notification
...
...
dlls/shell32/shellord.c
View file @
0f64ffd9
...
...
@@ -1190,7 +1190,7 @@ void WINAPI SHFreeUnusedLibraries (void)
BOOL
WINAPI
DAD_AutoScroll
(
HWND
hwnd
,
AUTO_SCROLL_DATA
*
samples
,
LPPOINT
pt
)
{
FIXME
(
"hwnd = %p %p %p
\n
"
,
hwnd
,
samples
,
pt
);
return
0
;
return
FALSE
;
}
/*************************************************************************
* DAD_DragEnter [SHELL32.130]
...
...
@@ -1238,8 +1238,8 @@ BOOL WINAPI DAD_SetDragImage(
HIMAGELIST
himlTrack
,
LPPOINT
lppt
)
{
FIXME
(
"%p %p stub
\n
"
,
himlTrack
,
lppt
);
return
0
;
FIXME
(
"%p %p stub
\n
"
,
himlTrack
,
lppt
);
return
FALSE
;
}
/*************************************************************************
* DAD_ShowDragImage [SHELL32.137]
...
...
@@ -1249,8 +1249,8 @@ BOOL WINAPI DAD_SetDragImage(
*/
BOOL
WINAPI
DAD_ShowDragImage
(
BOOL
bShow
)
{
FIXME
(
"0x%08x stub
\n
"
,
bShow
);
return
0
;
FIXME
(
"0x%08x stub
\n
"
,
bShow
);
return
FALSE
;
}
static
const
WCHAR
szwCabLocation
[]
=
{
...
...
@@ -1344,7 +1344,7 @@ BOOL WINAPI WriteCabinetState(CABINETSTATE *cs)
*/
BOOL
WINAPI
FileIconInit
(
BOOL
bFullInit
)
{
FIXME
(
"(%s)
\n
"
,
bFullInit
?
"true"
:
"false"
);
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
@@ -1551,7 +1551,7 @@ BOOL WINAPI SHWaitForFileToOpen(
DWORD
dwTimeout
)
{
FIXME
(
"%p 0x%08x 0x%08x stub
\n
"
,
pidl
,
dwFlags
,
dwTimeout
);
return
0
;
return
FALSE
;
}
/************************************************************************
...
...
dlls/shell32/shellpath.c
View file @
0f64ffd9
...
...
@@ -647,7 +647,7 @@ int WINAPI PathCleanupSpec( LPCWSTR lpszPathW, LPWSTR lpszFileW )
static
BOOL
PathQualifyA
(
LPCSTR
pszPath
)
{
FIXME
(
"%s
\n
"
,
pszPath
);
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
@@ -656,7 +656,7 @@ static BOOL PathQualifyA(LPCSTR pszPath)
static
BOOL
PathQualifyW
(
LPCWSTR
pszPath
)
{
FIXME
(
"%s
\n
"
,
debugstr_w
(
pszPath
));
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
dlls/shell32/shlfileop.c
View file @
0f64ffd9
...
...
@@ -1134,7 +1134,7 @@ static BOOL copy_file_to_file(FILE_OPERATION *op, const WCHAR *szFrom, const WCH
if
(
!
(
op
->
req
->
fFlags
&
FOF_NOCONFIRMATION
)
&&
PathFileExistsW
(
szTo
))
{
if
(
!
SHELL_ConfirmDialogW
(
op
->
req
->
hwnd
,
ASK_OVERWRITE_FILE
,
PathFindFileNameW
(
szTo
),
op
))
return
0
;
return
FALSE
;
}
return
SHNotifyCopyFileW
(
szFrom
,
szTo
,
FALSE
)
==
0
;
...
...
dlls/shell32/shlmenu.c
View file @
0f64ffd9
...
...
@@ -372,7 +372,7 @@ static BOOL FileMenu_AppendItemW(
if
((
menudata
==
0
)
||
(
MenuInfo
.
cbSize
!=
sizeof
(
MENUINFO
)))
{
ERR
(
"menudata corrupt: %p %u
\n
"
,
menudata
,
MenuInfo
.
cbSize
);
return
0
;
return
FALSE
;
}
menudata
->
bFixedItems
=
TRUE
;
...
...
@@ -549,7 +549,7 @@ BOOL WINAPI FileMenu_GetLastSelectedItemPidls(
LPCITEMIDLIST
*
ppidlItem
)
{
FIXME
(
"0x%08x %p %p
\n
"
,
uReserved
,
ppidlFolder
,
ppidlItem
);
return
0
;
return
FALSE
;
}
#define FM_ICON_SIZE 16
...
...
@@ -758,7 +758,7 @@ BOOL WINAPI FileMenu_DeleteItemByFirstID(
UINT
uID
)
{
TRACE
(
"%p 0x%08x
\n
"
,
hMenu
,
uID
);
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
@@ -767,7 +767,7 @@ BOOL WINAPI FileMenu_DeleteItemByFirstID(
BOOL
WINAPI
FileMenu_DeleteSeparator
(
HMENU
hMenu
)
{
TRACE
(
"%p
\n
"
,
hMenu
);
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
@@ -779,7 +779,7 @@ BOOL WINAPI FileMenu_EnableItemByCmd(
BOOL
bEnable
)
{
TRACE
(
"%p 0x%08x 0x%08x
\n
"
,
hMenu
,
uID
,
bEnable
);
return
0
;
return
FALSE
;
}
/*************************************************************************
...
...
dlls/shell32/shpolicy.c
View file @
0f64ffd9
...
...
@@ -900,14 +900,14 @@ BOOL WINAPI SHInitRestricted(LPCVOID unused, LPCVOID inpRegKey)
if
(
lstrcmpiW
(
inpRegKey
,
strRegistryPolicyW
)
&&
lstrcmpiW
(
inpRegKey
,
strPolicyW
))
/* doesn't match, fail */
return
0
;
return
FALSE
;
}
else
{
if
(
lstrcmpiA
(
inpRegKey
,
strRegistryPolicyA
)
&&
lstrcmpiA
(
inpRegKey
,
strPolicyA
))
/* doesn't match, fail */
return
0
;
return
FALSE
;
}
}
...
...
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