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
f9e27d37
Commit
f9e27d37
authored
Dec 31, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix messed up indentation.
parent
4d53055f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
shfldr_netplaces.c
dlls/shell32/shfldr_netplaces.c
+36
-36
No files found.
dlls/shell32/shfldr_netplaces.c
View file @
f9e27d37
...
@@ -272,31 +272,31 @@ static HRESULT WINAPI ISF_NetworkPlaces_fnCreateViewObject (IShellFolder2 * ifac
...
@@ -272,31 +272,31 @@ static HRESULT WINAPI ISF_NetworkPlaces_fnCreateViewObject (IShellFolder2 * ifac
HRESULT
hr
=
E_INVALIDARG
;
HRESULT
hr
=
E_INVALIDARG
;
TRACE
(
"(%p)->(hwnd=%p,%s,%p)
\n
"
,
This
,
TRACE
(
"(%p)->(hwnd=%p,%s,%p)
\n
"
,
This
,
hwndOwner
,
shdebugstr_guid
(
riid
),
ppvOut
);
hwndOwner
,
shdebugstr_guid
(
riid
),
ppvOut
);
if
(
!
ppvOut
)
if
(
!
ppvOut
)
return
hr
;
return
hr
;
*
ppvOut
=
NULL
;
*
ppvOut
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
))
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
))
{
{
WARN
(
"IDropTarget not implemented
\n
"
);
WARN
(
"IDropTarget not implemented
\n
"
);
hr
=
E_NOTIMPL
;
hr
=
E_NOTIMPL
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IContextMenu
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IContextMenu
))
{
{
WARN
(
"IContextMenu not implemented
\n
"
);
WARN
(
"IContextMenu not implemented
\n
"
);
hr
=
E_NOTIMPL
;
hr
=
E_NOTIMPL
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IShellView
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IShellView
))
{
{
pShellView
=
IShellView_Constructor
((
IShellFolder
*
)
iface
);
pShellView
=
IShellView_Constructor
((
IShellFolder
*
)
iface
);
if
(
pShellView
)
if
(
pShellView
)
{
{
hr
=
IShellView_QueryInterface
(
pShellView
,
riid
,
ppvOut
);
hr
=
IShellView_QueryInterface
(
pShellView
,
riid
,
ppvOut
);
IShellView_Release
(
pShellView
);
IShellView_Release
(
pShellView
);
}
}
}
}
TRACE
(
"-- (%p)->(interface=%p)
\n
"
,
This
,
ppvOut
);
TRACE
(
"-- (%p)->(interface=%p)
\n
"
,
This
,
ppvOut
);
return
hr
;
return
hr
;
...
@@ -380,43 +380,43 @@ static HRESULT WINAPI ISF_NetworkPlaces_fnGetUIObjectOf (IShellFolder2 * iface,
...
@@ -380,43 +380,43 @@ static HRESULT WINAPI ISF_NetworkPlaces_fnGetUIObjectOf (IShellFolder2 * iface,
if
(
!
ppvOut
)
if
(
!
ppvOut
)
return
hr
;
return
hr
;
*
ppvOut
=
NULL
;
*
ppvOut
=
NULL
;
if
(
IsEqualIID
(
riid
,
&
IID_IContextMenu
)
&&
(
cidl
>=
1
))
if
(
IsEqualIID
(
riid
,
&
IID_IContextMenu
)
&&
(
cidl
>=
1
))
{
{
pObj
=
(
LPUNKNOWN
)
ISvItemCm_Constructor
((
IShellFolder
*
)
iface
,
This
->
pidlRoot
,
apidl
,
cidl
);
pObj
=
(
LPUNKNOWN
)
ISvItemCm_Constructor
((
IShellFolder
*
)
iface
,
This
->
pidlRoot
,
apidl
,
cidl
);
hr
=
S_OK
;
hr
=
S_OK
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDataObject
)
&&
(
cidl
>=
1
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IDataObject
)
&&
(
cidl
>=
1
))
{
{
pObj
=
(
LPUNKNOWN
)
IDataObject_Constructor
(
hwndOwner
,
This
->
pidlRoot
,
apidl
,
cidl
);
pObj
=
(
LPUNKNOWN
)
IDataObject_Constructor
(
hwndOwner
,
This
->
pidlRoot
,
apidl
,
cidl
);
hr
=
S_OK
;
hr
=
S_OK
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconA
)
&&
(
cidl
==
1
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconA
)
&&
(
cidl
==
1
))
{
{
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pObj
=
(
LPUNKNOWN
)
IExtractIconA_Constructor
(
pidl
);
pObj
=
(
LPUNKNOWN
)
IExtractIconA_Constructor
(
pidl
);
SHFree
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
hr
=
S_OK
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconW
)
&&
(
cidl
==
1
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IExtractIconW
)
&&
(
cidl
==
1
))
{
{
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pidl
=
ILCombine
(
This
->
pidlRoot
,
apidl
[
0
]);
pObj
=
(
LPUNKNOWN
)
IExtractIconW_Constructor
(
pidl
);
pObj
=
(
LPUNKNOWN
)
IExtractIconW_Constructor
(
pidl
);
SHFree
(
pidl
);
SHFree
(
pidl
);
hr
=
S_OK
;
hr
=
S_OK
;
}
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
)
&&
(
cidl
>=
1
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IDropTarget
)
&&
(
cidl
>=
1
))
{
{
hr
=
IShellFolder_QueryInterface
(
iface
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
pObj
);
hr
=
IShellFolder_QueryInterface
(
iface
,
&
IID_IDropTarget
,
(
LPVOID
*
)
&
pObj
);
}
}
else
else
hr
=
E_NOINTERFACE
;
hr
=
E_NOINTERFACE
;
if
(
SUCCEEDED
(
hr
)
&&
!
pObj
)
if
(
SUCCEEDED
(
hr
)
&&
!
pObj
)
hr
=
E_OUTOFMEMORY
;
hr
=
E_OUTOFMEMORY
;
*
ppvOut
=
pObj
;
*
ppvOut
=
pObj
;
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
TRACE
(
"(%p)->hr=0x%08x
\n
"
,
This
,
hr
);
return
hr
;
return
hr
;
}
}
...
...
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