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
60f8bde7
Commit
60f8bde7
authored
Apr 16, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Support IShellView in ::CreateViewObject() for printers folder.
parent
738ca2f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
shfldr_printers.c
dlls/shell32/shfldr_printers.c
+15
-2
No files found.
dlls/shell32/shfldr_printers.c
View file @
60f8bde7
...
...
@@ -156,8 +156,9 @@ static HRESULT WINAPI IShellFolder_Printers_fnCreateViewObject(IShellFolder2 *if
HWND
hwndOwner
,
REFIID
riid
,
LPVOID
*
ppvOut
)
{
IPrintersFolderImpl
*
This
=
(
IPrintersFolderImpl
*
)
iface
;
HRESULT
hr
=
E_NOTIMPL
;
FIXME
(
"(%p)->(hwnd=%p,%s,%p) stub
\n
"
,
This
,
TRACE
(
"(%p)->(hwnd=%p,%s,%p)
\n
"
,
This
,
hwndOwner
,
shdebugstr_guid
(
riid
),
ppvOut
);
if
(
!
ppvOut
)
...
...
@@ -165,7 +166,19 @@ static HRESULT WINAPI IShellFolder_Printers_fnCreateViewObject(IShellFolder2 *if
*
ppvOut
=
NULL
;
return
E_NOTIMPL
;
if
(
IsEqualIID
(
riid
,
&
IID_IShellView
))
{
IShellView
*
pShellView
=
IShellView_Constructor
((
IShellFolder
*
)
iface
);
if
(
pShellView
)
{
hr
=
IShellView_QueryInterface
(
pShellView
,
riid
,
ppvOut
);
IShellView_Release
(
pShellView
);
}
}
else
WARN
(
"unsupported interface %s
\n
"
,
shdebugstr_guid
(
riid
));
return
hr
;
}
static
HRESULT
WINAPI
IShellFolder_Printers_fnGetAttributesOf
(
IShellFolder2
*
iface
,
...
...
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