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
40af1a87
Commit
40af1a87
authored
Apr 09, 2001
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 09, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug.
parent
fd99bcb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
8 deletions
+20
-8
compobj.c
dlls/ole32/compobj.c
+19
-7
obj_base.h
include/wine/obj_base.h
+1
-1
No files found.
dlls/ole32/compobj.c
View file @
40af1a87
...
...
@@ -1150,9 +1150,10 @@ HRESULT WINAPI CoRevokeClassObject(
/***********************************************************************
* CoGetClassObject [COMPOBJ.7]
*/
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
LPVOID
pvReserved
,
REFIID
iid
,
LPVOID
*
ppv
)
{
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
)
{
LPUNKNOWN
regClassObject
;
HRESULT
hres
=
E_UNEXPECTED
;
char
xclsid
[
80
];
...
...
@@ -1170,6 +1171,11 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext,
debugstr_guid
(
iid
)
);
if
(
pServerInfo
)
{
FIXME
(
"
\t
pServerInfo: name=%s
\n
"
,
debugstr_w
(
pServerInfo
->
pwszName
));
FIXME
(
"
\t\t
pAuthInfo=%p
\n
"
,
pServerInfo
->
pAuthInfo
);
}
/*
* First, try and see if we can't match the class ID with one of the
* registered classes.
...
...
@@ -1192,9 +1198,13 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext,
}
/* out of process and remote servers not supported yet */
if
(((
CLSCTX_LOCAL_SERVER
|
CLSCTX_REMOTE_SERVER
)
&
dwClsContext
)
&&
!
((
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
)
&
dwClsContext
)){
FIXME
(
"CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER not supported!
\n
"
);
if
(
((
CLSCTX_LOCAL_SERVER
|
CLSCTX_REMOTE_SERVER
)
&
dwClsContext
)
&&
!
((
CLSCTX_INPROC_SERVER
|
CLSCTX_INPROC_HANDLER
)
&
dwClsContext
)
){
FIXME
(
"%s %s not supported!
\n
"
,
(
dwClsContext
&
CLSCTX_LOCAL_SERVER
)
?
"CLSCTX_LOCAL_SERVER"
:
""
,
(
dwClsContext
&
CLSCTX_REMOTE_SERVER
)
?
"CLSCTX_REMOTE_SERVER"
:
""
);
return
E_ACCESSDENIED
;
}
...
...
@@ -1383,8 +1393,10 @@ HRESULT WINAPI CoCreateInstance(
&
IID_IClassFactory
,
(
LPVOID
)
&
lpclf
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
{
FIXME
(
"no instance created for %s, hres is 0x%08lx
\n
"
,
debugstr_guid
(
iid
),
hres
);
return
hres
;
}
/*
* Create the object and don't forget to release the factory
...
...
include/wine/obj_base.h
View file @
40af1a87
...
...
@@ -628,7 +628,7 @@ void WINAPI CoFreeUnusedLibraries(void);
HRESULT
WINAPI
CoCreateInstance
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
LPVOID
pvReserved
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
CoInitialize
(
LPVOID
lpReserved
);
HRESULT
WINAPI
CoInitializeEx
(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
...
...
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