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
ab085d66
Commit
ab085d66
authored
Mar 24, 2011
by
David Hedberg
Committed by
Alexandre Julliard
Mar 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Add stub implementation of the Common Item dialogs.
parent
55c717e8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
Makefile.in
dlls/comdlg32/Makefile.in
+1
-0
cdlg.h
dlls/comdlg32/cdlg.h
+4
-0
cdlg32.c
dlls/comdlg32/cdlg32.c
+9
-0
itemdlg.c
dlls/comdlg32/itemdlg.c
+0
-0
No files found.
dlls/comdlg32/Makefile.in
View file @
ab085d66
...
...
@@ -11,6 +11,7 @@ C_SRCS = \
filedlgbrowser.c
\
finddlg.c
\
fontdlg.c
\
itemdlg.c
\
printdlg.c
RC_SRCS
=
\
...
...
dlls/comdlg32/cdlg.h
View file @
ab085d66
...
...
@@ -169,6 +169,10 @@ typedef struct {
#include "shlobj.h"
#include "shellapi.h"
/* Constructors */
HRESULT
FileOpenDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
);
HRESULT
FileSaveDialog_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
);
/* ITEMIDLIST */
extern
LPITEMIDLIST
(
WINAPI
*
COMDLG32_PIDL_ILClone
)
(
LPCITEMIDLIST
);
...
...
dlls/comdlg32/cdlg32.c
View file @
ab085d66
...
...
@@ -260,7 +260,16 @@ static const IClassFactoryVtbl CDLGCF_Vtbl =
*/
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
riid
,
void
**
ppv
)
{
static
IClassFactoryImpl
FileOpenDlgClassFactory
=
{{
&
CDLGCF_Vtbl
},
FileOpenDialog_Constructor
};
static
IClassFactoryImpl
FileSaveDlgClassFactory
=
{{
&
CDLGCF_Vtbl
},
FileSaveDialog_Constructor
};
TRACE
(
"%s, %s, %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
if
(
IsEqualGUID
(
&
CLSID_FileOpenDialog
,
rclsid
))
return
IClassFactory_QueryInterface
(
&
FileOpenDlgClassFactory
.
IClassFactory_iface
,
riid
,
ppv
);
if
(
IsEqualGUID
(
&
CLSID_FileSaveDialog
,
rclsid
))
return
IClassFactory_QueryInterface
(
&
FileSaveDlgClassFactory
.
IClassFactory_iface
,
riid
,
ppv
);
return
CLASS_E_CLASSNOTAVAILABLE
;
}
dlls/comdlg32/itemdlg.c
0 → 100644
View file @
ab085d66
This diff is collapsed.
Click to expand it.
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