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
61b2fba9
Commit
61b2fba9
authored
Aug 15, 2005
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added CoCreateInstance16, CoGetClassObject16, OleLoad16 stubs.
parent
43bc613f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
5 deletions
+51
-5
compobj.c
dlls/ole32/compobj.c
+35
-2
compobj.spec
dlls/ole32/compobj.spec
+2
-2
ole2.spec
dlls/ole32/ole2.spec
+1
-1
ole2_16.c
dlls/ole32/ole2_16.c
+13
-0
No files found.
dlls/ole32/compobj.c
View file @
61b2fba9
...
...
@@ -1562,7 +1562,6 @@ HRESULT COM_RegReadPath(HKEY hkeyroot, const WCHAR *keyname, const WCHAR *valuen
}
/***********************************************************************
* CoGetClassObject [COMPOBJ.7]
* CoGetClassObject [OLE32.@]
*
* FIXME. If request allows of several options and there is a failure
...
...
@@ -1664,6 +1663,23 @@ HRESULT WINAPI CoGetClassObject(
return
hres
;
}
/***********************************************************************
* CoGetClassObject [COMPOBJ.7]
*
*/
HRESULT
WINAPI
CoGetClassObject16
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
)
{
FIXME
(
", stub!
\n\t
CLSID:
\t
%s,
\n\t
IID:
\t
%s
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
));
if
(
pServerInfo
)
{
FIXME
(
"
\t
pServerInfo: name=%s
\n
"
,
debugstr_w
(
pServerInfo
->
pwszName
));
FIXME
(
"
\t\t
pAuthInfo=%p
\n
"
,
pServerInfo
->
pAuthInfo
);
}
return
E_NOTIMPL
;
}
/***********************************************************************
* CoResumeClassObjects (OLE32.@)
*
...
...
@@ -1772,8 +1788,8 @@ HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid)
return
MK_E_INVALIDEXTENSION
;
}
/***********************************************************************
* CoCreateInstance [COMPOBJ.13]
* CoCreateInstance [OLE32.@]
*/
HRESULT
WINAPI
CoCreateInstance
(
...
...
@@ -1841,6 +1857,23 @@ HRESULT WINAPI CoCreateInstance(
}
/***********************************************************************
* CoCreateInstance [COMPOBJ.13]
*/
HRESULT
WINAPI
CoCreateInstance16
(
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
REFIID
iid
,
LPVOID
*
ppv
)
{
FIXME
(
"(%s, %p, %lx, %s, %p), stub!
\n
"
,
debugstr_guid
(
rclsid
),
pUnkOuter
,
dwClsContext
,
debugstr_guid
(
iid
),
ppv
);
return
E_NOTIMPL
;
}
/***********************************************************************
* CoCreateInstanceEx [OLE32.@]
*/
HRESULT
WINAPI
CoCreateInstanceEx
(
...
...
dlls/ole32/compobj.spec
View file @
61b2fba9
...
...
@@ -4,13 +4,13 @@
4 pascal CoGetMalloc(long ptr) CoGetMalloc16
5 pascal CoRegisterClassObject(ptr ptr long long ptr) CoRegisterClassObject16
6 pascal CoRevokeClassObject(long) CoRevokeClassObject16
7 pascal CoGetClassObject(ptr long ptr ptr ptr) CoGetClassObject
7 pascal CoGetClassObject(ptr long ptr ptr ptr) CoGetClassObject
16
8 stub COMARSHALINTERFACE
9 stub COUNMARSHALINTERFACE
10 stub COLOADLIBRARY
11 stub COFREELIBRARY
12 stub COFREEALLLIBRARIES
13 pascal CoCreateInstance(ptr ptr long ptr ptr) CoCreateInstance
13 pascal CoCreateInstance(ptr ptr long ptr ptr) CoCreateInstance
16
14 stub STRINGFROMIID
15 pascal CoDisconnectObject(ptr long) CoDisconnectObject
16 stub CORELEASEMARSHALDATA
...
...
dlls/ole32/ole2.spec
View file @
61b2fba9
...
...
@@ -9,7 +9,7 @@
9 stub OLECREATELINKFROMDATA
10 stub OLECREATE
11 stub OLECREATELINK
12
stub OLELOAD
12
pascal OleLoad(segptr ptr segptr ptr) OleLoad16
13 stub OLESAVE
14 stub OLERUN
#15 ___EXPORTEDSTUB
...
...
dlls/ole32/ole2_16.c
View file @
61b2fba9
...
...
@@ -192,3 +192,16 @@ BOOL WINAPI IsValidInterface16(SEGPTR punk)
return
FALSE
;
return
TRUE
;
}
/******************************************************************************
* OleLoad [OLE2.12]
*/
HRESULT
WINAPI
OleLoad16
(
/*LPSTORAGE16*/
SEGPTR
pStg
,
REFIID
riid
,
/*LPOLECLIENTSITE16*/
SEGPTR
pClientSite
,
LPVOID
*
ppvObj
)
{
FIXME
(
"(%lx,%s,%lx,%p), stub!
\n
"
,
pStg
,
debugstr_guid
(
riid
),
pClientSite
,
ppvObj
);
return
E_NOTIMPL
;
}
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