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
a4dd8fb6
Commit
a4dd8fb6
authored
Jan 08, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use S_OK as successful return code name.
parent
1e864366
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
24 deletions
+24
-24
folders.c
dlls/shell32/folders.c
+1
-1
pidl.c
dlls/shell32/pidl.c
+2
-2
shell32_main.c
dlls/shell32/shell32_main.c
+1
-1
shelllink.c
dlls/shell32/shelllink.c
+6
-6
shellole.c
dlls/shell32/shellole.c
+1
-1
shellord.c
dlls/shell32/shellord.c
+1
-1
shellpath.c
dlls/shell32/shellpath.c
+1
-1
shlfsbind.c
dlls/shell32/shlfsbind.c
+2
-2
shlmenu.c
dlls/shell32/shlmenu.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+2
-2
shv_bg_cmenu.c
dlls/shell32/shv_bg_cmenu.c
+2
-2
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+4
-4
No files found.
dlls/shell32/folders.c
View file @
a4dd8fb6
...
...
@@ -381,7 +381,7 @@ static HRESULT WINAPI IExtractIconW_fnGetIconLocation(
}
TRACE
(
"-- %s %x
\n
"
,
debugstr_w
(
szIconFile
),
*
piIndex
);
return
NOERROR
;
return
S_OK
;
}
/**************************************************************************
...
...
dlls/shell32/pidl.c
View file @
a4dd8fb6
...
...
@@ -1140,7 +1140,7 @@ HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl,
lstrcpynA
(
pfd
->
cAlternateFileName
,
shortname
,
sizeof
(
pfd
->
cAlternateFileName
));
else
pfd
->
cAlternateFileName
[
0
]
=
'\0'
;
return
NOERROR
;
return
S_OK
;
case
SHGDFIL_NETRESOURCE
:
case
SHGDFIL_DESCRIPTIONID
:
...
...
@@ -1199,7 +1199,7 @@ HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl,
pfd
->
cAlternateFileName
[
0
]
=
'\0'
;
else
if
(
!
MultiByteToWideChar
(
CP_ACP
,
0
,
shortname
,
-
1
,
pfd
->
cAlternateFileName
,
14
))
pfd
->
cAlternateFileName
[
13
]
=
0
;
return
NOERROR
;
return
S_OK
;
case
SHGDFIL_NETRESOURCE
:
case
SHGDFIL_DESCRIPTIONID
:
...
...
dlls/shell32/shell32_main.c
View file @
a4dd8fb6
...
...
@@ -932,7 +932,7 @@ HRESULT WINAPI SHLoadInProc (REFCLSID rclsid)
{
IUnknown
*
pUnk
=
ptr
;
IUnknown_Release
(
pUnk
);
return
NOERROR
;
return
S_OK
;
}
return
DISP_E_MEMBERNOTFOUND
;
}
...
...
dlls/shell32/shelllink.c
View file @
a4dd8fb6
...
...
@@ -509,11 +509,11 @@ static HRESULT WINAPI IPersistFile_fnSave(IPersistFile* iface, LPCOLESTR pszFile
return
r
;
}
static
HRESULT
WINAPI
IPersistFile_fnSaveCompleted
(
IPersistFile
*
iface
,
LPCOLESTR
pszFileN
ame
)
static
HRESULT
WINAPI
IPersistFile_fnSaveCompleted
(
IPersistFile
*
iface
,
LPCOLESTR
filen
ame
)
{
IShellLinkImpl
*
This
=
impl_from_IPersistFile
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
pszFileN
ame
));
return
NOERROR
;
IShellLinkImpl
*
This
=
impl_from_IPersistFile
(
iface
);
FIXME
(
"(%p)->(%s): stub
\n
"
,
This
,
debugstr_w
(
filen
ame
));
return
S_OK
;
}
static
HRESULT
WINAPI
IPersistFile_fnGetCurFile
(
IPersistFile
*
iface
,
LPOLESTR
*
filename
)
...
...
@@ -1597,7 +1597,7 @@ static HRESULT WINAPI IShellLinkA_fnSetShowCmd(IShellLinkA *iface, INT iShowCmd)
This
->
iShowCmd
=
iShowCmd
;
This
->
bDirty
=
TRUE
;
return
NOERROR
;
return
S_OK
;
}
static
HRESULT
WINAPI
IShellLinkA_fnGetIconLocation
(
IShellLinkA
*
iface
,
LPSTR
pszIconPath
,
...
...
@@ -1866,7 +1866,7 @@ static HRESULT WINAPI IShellLinkW_fnGetArguments(IShellLinkW * iface, LPWSTR psz
if
(
This
->
sArgs
)
lstrcpynW
(
pszArgs
,
This
->
sArgs
,
cchMaxPath
);
return
NOERROR
;
return
S_OK
;
}
static
HRESULT
WINAPI
IShellLinkW_fnSetArguments
(
IShellLinkW
*
iface
,
LPCWSTR
pszArgs
)
...
...
dlls/shell32/shellole.c
View file @
a4dd8fb6
...
...
@@ -507,7 +507,7 @@ HRESULT WINAPI SHCreateDefClassObject(
if
(
!
IsEqualCLSID
(
riid
,
&
IID_IClassFactory
)
)
return
E_NOINTERFACE
;
if
(
!
(
pcf
=
IDefClF_fnConstructor
(
lpfnCI
,
(
PLONG
)
pcRefDll
,
riidInst
)))
return
E_OUTOFMEMORY
;
*
ppv
=
pcf
;
return
NOERROR
;
return
S_OK
;
}
/*************************************************************************
...
...
dlls/shell32/shellord.c
View file @
a4dd8fb6
...
...
@@ -1162,7 +1162,7 @@ HRESULT WINAPI SHGetInstanceExplorer (IUnknown **lpUnknown)
return
E_FAIL
;
IUnknown_AddRef
(
SHELL32_IExplorerInterface
);
return
NOERROR
;
return
S_OK
;
}
/*************************************************************************
* SHFreeUnusedLibraries [SHELL32.123]
...
...
dlls/shell32/shellpath.c
View file @
a4dd8fb6
...
...
@@ -2961,7 +2961,7 @@ HRESULT WINAPI SHGetFolderLocation(
}
}
if
(
*
ppidl
)
hr
=
NOERROR
;
hr
=
S_OK
;
TRACE
(
"-- (new pidl %p)
\n
"
,
*
ppidl
);
return
hr
;
...
...
dlls/shell32/shlfsbind.c
View file @
a4dd8fb6
...
...
@@ -166,7 +166,7 @@ static HRESULT WINAPI IFileSystemBindData_fnGetFindData(
return
E_INVALIDARG
;
*
pfd
=
This
->
findFile
;
return
NOERROR
;
return
S_OK
;
}
static
HRESULT
WINAPI
IFileSystemBindData_fnSetFindData
(
...
...
@@ -179,5 +179,5 @@ static HRESULT WINAPI IFileSystemBindData_fnSetFindData(
This
->
findFile
=
*
pfd
;
else
memset
(
&
This
->
findFile
,
0
,
sizeof
(
WIN32_FIND_DATAW
));
return
NOERROR
;
return
S_OK
;
}
dlls/shell32/shlmenu.c
View file @
a4dd8fb6
...
...
@@ -184,7 +184,7 @@ static int FM_InitMenuPopup(HMENU hmenu, LPCITEMIDLIST pAlternatePidl)
LPITEMIDLIST
pidlTemp
=
NULL
;
ULONG
ulFetched
;
while
((
!
bAbortInit
)
&&
(
NOERROR
==
IEnumIDList_Next
(
lpe
,
1
,
&
pidlTemp
,
&
ulFetched
)))
while
((
!
bAbortInit
)
&&
(
S_OK
==
IEnumIDList_Next
(
lpe
,
1
,
&
pidlTemp
,
&
ulFetched
)))
{
if
(
SUCCEEDED
(
IShellFolder_GetAttributesOf
(
lpsf
,
1
,
(
LPCITEMIDLIST
*
)
&
pidlTemp
,
&
ulItemAttr
)))
{
...
...
dlls/shell32/shlview.c
View file @
a4dd8fb6
...
...
@@ -1998,7 +1998,7 @@ static HRESULT WINAPI IShellView_fnGetCurrentInfo(IShellView2 *iface, LPFOLDERSE
if
(
!
lpfs
)
return
E_INVALIDARG
;
*
lpfs
=
This
->
FolderSettings
;
return
NOERROR
;
return
S_OK
;
}
static
HRESULT
WINAPI
IShellView_fnAddPropertySheetPages
(
IShellView2
*
iface
,
DWORD
dwReserved
,
...
...
@@ -2559,7 +2559,7 @@ static HRESULT WINAPI ISVDropSource_QueryContinueDrag(
else
if
(
!
(
grfKeyState
&
MK_LBUTTON
)
&&
!
(
grfKeyState
&
MK_RBUTTON
))
return
DRAGDROP_S_DROP
;
else
return
NOERROR
;
return
S_OK
;
}
static
HRESULT
WINAPI
ISVDropSource_GiveFeedback
(
...
...
dlls/shell32/shv_bg_cmenu.c
View file @
a4dd8fb6
...
...
@@ -372,7 +372,7 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand(
if
(
lpSV
)
IShellView_Release
(
lpSV
);
/* QueryActiveShellView does AddRef */
return
NOERROR
;
return
S_OK
;
}
/**************************************************************************
...
...
@@ -401,7 +401,7 @@ static HRESULT WINAPI ISVBgCm_fnGetCommandString(
!
strcmp
((
LPSTR
)
idCommand
,
CMDSTR_VIEWDETAILSA
)
||
!
strcmp
((
LPSTR
)
idCommand
,
CMDSTR_NEWFOLDERA
))
{
return
NOERROR
;
return
S_OK
;
}
}
}
...
...
dlls/shell32/shv_item_cmenu.c
View file @
a4dd8fb6
...
...
@@ -535,7 +535,7 @@ static HRESULT WINAPI ISvItemCm_fnInvokeCommand(
return
E_FAIL
;
}
}
return
NOERROR
;
return
S_OK
;
}
/**************************************************************************
...
...
@@ -567,7 +567,7 @@ static HRESULT WINAPI ISvItemCm_fnGetCommandString(
{
case
FCIDM_SHVIEW_RENAME
:
strcpy
(
lpszName
,
"rename"
);
hr
=
NOERROR
;
hr
=
S_OK
;
break
;
}
break
;
...
...
@@ -579,14 +579,14 @@ static HRESULT WINAPI ISvItemCm_fnGetCommandString(
{
case
FCIDM_SHVIEW_RENAME
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"rename"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
NOERROR
;
hr
=
S_OK
;
break
;
}
break
;
case
GCS_VALIDATEA
:
case
GCS_VALIDATEW
:
hr
=
NOERROR
;
hr
=
S_OK
;
break
;
}
TRACE
(
"-- (%p)->(name=%s)
\n
"
,
This
,
lpszName
);
...
...
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