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
8a4f71c6
Commit
8a4f71c6
authored
May 08, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Add an implementation of class monikers.
parent
71a7393f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
12 deletions
+9
-12
Makefile.in
dlls/ole32/Makefile.in
+1
-0
classmoniker.c
dlls/ole32/classmoniker.c
+0
-0
moniker.c
dlls/ole32/moniker.c
+0
-11
moniker.h
dlls/ole32/moniker.h
+2
-0
oleproxy.c
dlls/ole32/oleproxy.c
+2
-0
moniker.c
dlls/ole32/tests/moniker.c
+4
-1
No files found.
dlls/ole32/Makefile.in
View file @
8a4f71c6
...
...
@@ -11,6 +11,7 @@ EXTRALIBS = -luuid $(LIBUNICODE)
C_SRCS
=
\
antimoniker.c
\
bindctx.c
\
classmoniker.c
\
clipboard.c
\
compobj.c
\
compositemoniker.c
\
...
...
dlls/ole32/classmoniker.c
0 → 100644
View file @
8a4f71c6
This diff is collapsed.
Click to expand it.
dlls/ole32/moniker.c
View file @
8a4f71c6
...
...
@@ -694,17 +694,6 @@ HRESULT WINAPI MkParseDisplayName(LPBC pbc, LPCOLESTR szUserName,
return
MK_E_SYNTAX
;
}
/******************************************************************************
* CreateClassMoniker [OLE32.@]
*/
HRESULT
WINAPI
CreateClassMoniker
(
REFCLSID
rclsid
,
IMoniker
**
ppmk
)
{
FIXME
(
"%s
\n
"
,
debugstr_guid
(
rclsid
));
if
(
ppmk
)
*
ppmk
=
NULL
;
return
E_NOTIMPL
;
}
/* Virtual function table for the IRunningObjectTable class. */
static
const
IRunningObjectTableVtbl
VT_RunningObjectTableImpl
=
{
...
...
dlls/ole32/moniker.h
View file @
8a4f71c6
...
...
@@ -5,11 +5,13 @@ extern const CLSID CLSID_FileMoniker;
extern
const
CLSID
CLSID_ItemMoniker
;
extern
const
CLSID
CLSID_AntiMoniker
;
extern
const
CLSID
CLSID_CompositeMoniker
;
extern
const
CLSID
CLSID_ClassMoniker
;
HRESULT
FileMonikerCF_Create
(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
ItemMonikerCF_Create
(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
AntiMonikerCF_Create
(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
CompositeMonikerCF_Create
(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
ClassMonikerCF_Create
(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
MonikerMarshal_Create
(
IMoniker
*
inner
,
IUnknown
**
outer
);
...
...
dlls/ole32/oleproxy.c
View file @
8a4f71c6
...
...
@@ -1018,6 +1018,8 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv)
return
AntiMonikerCF_Create
(
iid
,
ppv
);
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_CompositeMoniker
))
return
CompositeMonikerCF_Create
(
iid
,
ppv
);
if
(
IsEqualCLSID
(
rclsid
,
&
CLSID_ClassMoniker
))
return
ClassMonikerCF_Create
(
iid
,
ppv
);
FIXME
(
"
\n\t
CLSID:
\t
%s,
\n\t
IID:
\t
%s
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
));
return
CLASS_E_CLASSNOTAVAILABLE
;
...
...
dlls/ole32/tests/moniker.c
View file @
8a4f71c6
...
...
@@ -488,7 +488,7 @@ static void test_class_moniker(void)
FILETIME
filetime
;
hr
=
CreateClassMoniker
(
&
CLSID_StdComponentCategoriesMgr
,
&
moniker
);
todo_wine
ok_ole_success
(
hr
,
CreateClassMoniker
);
ok_ole_success
(
hr
,
CreateClassMoniker
);
if
(
!
moniker
)
return
;
test_moniker
(
"class moniker"
,
moniker
,
...
...
@@ -523,13 +523,16 @@ static void test_class_moniker(void)
ok
(
hr
==
E_NOTIMPL
,
"IMoniker_IsRunning should return E_NOTIMPL, not 0x%08lx
\n
"
,
hr
);
hr
=
IMoniker_GetTimeOfLastChange
(
moniker
,
bindctx
,
NULL
,
&
filetime
);
todo_wine
ok
(
hr
==
MK_E_UNAVAILABLE
,
"IMoniker_GetTimeOfLastChange should return MK_E_UNAVAILABLE, not 0x%08lx
\n
"
,
hr
);
hr
=
IMoniker_BindToObject
(
moniker
,
bindctx
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
unknown
);
todo_wine
ok_ole_success
(
hr
,
IMoniker_BindToStorage
);
IUnknown_Release
(
unknown
);
hr
=
IMoniker_BindToStorage
(
moniker
,
bindctx
,
NULL
,
&
IID_IUnknown
,
(
void
**
)
&
unknown
);
todo_wine
ok_ole_success
(
hr
,
IMoniker_BindToStorage
);
IUnknown_Release
(
unknown
);
...
...
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