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
68a4c30e
Commit
68a4c30e
authored
Feb 08, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlComModuleRegisterClassObjects implementation (based on…
atl100: Added AtlComModuleRegisterClassObjects implementation (based on AtlModuleRegisterClassObjects).
parent
ac15301b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
atl.c
dlls/atl100/atl.c
+32
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atl80.spec
dlls/atl80/atl80.spec
+1
-1
atlbase.h
include/atlbase.h
+1
-0
No files found.
dlls/atl100/atl.c
View file @
68a4c30e
...
@@ -456,6 +456,38 @@ HRESULT WINAPI AtlComModuleGetClassObject(_ATL_COM_MODULE *pm, REFCLSID rclsid,
...
@@ -456,6 +456,38 @@ HRESULT WINAPI AtlComModuleGetClassObject(_ATL_COM_MODULE *pm, REFCLSID rclsid,
}
}
/***********************************************************************
/***********************************************************************
* AtlComModuleRegisterClassObjects [atl100.17]
*/
HRESULT
WINAPI
AtlComModuleRegisterClassObjects
(
_ATL_COM_MODULE
*
module
,
DWORD
context
,
DWORD
flags
)
{
_ATL_OBJMAP_ENTRY
**
iter
;
IUnknown
*
unk
;
HRESULT
hres
;
TRACE
(
"(%p %x %x)
\n
"
,
module
,
context
,
flags
);
if
(
!
module
)
return
E_INVALIDARG
;
for
(
iter
=
module
->
m_ppAutoObjMapFirst
;
iter
<
module
->
m_ppAutoObjMapLast
;
iter
++
)
{
if
(
!
(
*
iter
)
->
pfnGetClassObject
)
continue
;
hres
=
(
*
iter
)
->
pfnGetClassObject
((
*
iter
)
->
pfnCreateInstance
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
if
(
FAILED
(
hres
))
return
hres
;
hres
=
CoRegisterClassObject
((
*
iter
)
->
pclsid
,
unk
,
context
,
flags
,
&
(
*
iter
)
->
dwRegister
);
IUnknown_Release
(
unk
);
if
(
FAILED
(
hres
))
return
hres
;
}
return
S_OK
;
}
/***********************************************************************
* AtlComModuleUnregisterServer [atl100.22]
* AtlComModuleUnregisterServer [atl100.22]
*/
*/
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
mod
,
BOOL
bRegTypeLib
,
const
CLSID
*
clsid
)
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
mod
,
BOOL
bRegTypeLib
,
const
CLSID
*
clsid
)
...
...
dlls/atl100/atl100.spec
View file @
68a4c30e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
13 stdcall AtlMarshalPtrInProc(ptr ptr ptr)
13 stdcall AtlMarshalPtrInProc(ptr ptr ptr)
14 stdcall AtlUnmarshalPtr(ptr ptr ptr)
14 stdcall AtlUnmarshalPtr(ptr ptr ptr)
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr)
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr)
17 st
ub AtlComModuleRegisterClassObjects
17 st
dcall AtlComModuleRegisterClassObjects(ptr long long)
20 stub AtlComModuleRevokeClassObjects
20 stub AtlComModuleRevokeClassObjects
22 stdcall AtlComModuleUnregisterServer(ptr long ptr)
22 stdcall AtlComModuleUnregisterServer(ptr long ptr)
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr)
23 stdcall AtlUpdateRegistryFromResourceD(long wstr long ptr ptr)
...
...
dlls/atl80/atl80.spec
View file @
68a4c30e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
13 stdcall AtlMarshalPtrInProc(ptr ptr ptr) atl100.AtlMarshalPtrInProc
13 stdcall AtlMarshalPtrInProc(ptr ptr ptr) atl100.AtlMarshalPtrInProc
14 stdcall AtlUnmarshalPtr(ptr ptr ptr) atl100.AtlUnmarshalPtr
14 stdcall AtlUnmarshalPtr(ptr ptr ptr) atl100.AtlUnmarshalPtr
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr) atl100.AtlComModuleGetClassObject
15 stdcall AtlComModuleGetClassObject(ptr ptr ptr ptr) atl100.AtlComModuleGetClassObject
17 st
ub
AtlComModuleRegisterClassObjects
17 st
dcall AtlComModuleRegisterClassObjects(ptr long long) atl100.
AtlComModuleRegisterClassObjects
18 stdcall AtlComModuleRegisterServer(ptr long ptr)
18 stdcall AtlComModuleRegisterServer(ptr long ptr)
19 stdcall AtlRegisterTypeLib(ptr wstr)
19 stdcall AtlRegisterTypeLib(ptr wstr)
20 stub AtlComModuleRevokeClassObjects
20 stub AtlComModuleRevokeClassObjects
...
...
include/atlbase.h
View file @
68a4c30e
...
@@ -255,6 +255,7 @@ HRESULT WINAPI AtlLoadTypeLib(HINSTANCE,LPCOLESTR,BSTR*,ITypeLib**);
...
@@ -255,6 +255,7 @@ HRESULT WINAPI AtlLoadTypeLib(HINSTANCE,LPCOLESTR,BSTR*,ITypeLib**);
HRESULT
WINAPI
AtlRegisterTypeLib
(
HINSTANCE
,
LPCOLESTR
);
HRESULT
WINAPI
AtlRegisterTypeLib
(
HINSTANCE
,
LPCOLESTR
);
HRESULT
WINAPI
AtlRegisterClassCategoriesHelper
(
REFCLSID
,
const
struct
_ATL_CATMAP_ENTRY
*
,
BOOL
);
HRESULT
WINAPI
AtlRegisterClassCategoriesHelper
(
REFCLSID
,
const
struct
_ATL_CATMAP_ENTRY
*
,
BOOL
);
HRESULT
WINAPI
AtlComModuleGetClassObject
(
_ATL_COM_MODULE
*
,
REFCLSID
,
REFIID
,
void
**
);
HRESULT
WINAPI
AtlComModuleGetClassObject
(
_ATL_COM_MODULE
*
,
REFCLSID
,
REFIID
,
void
**
);
HRESULT
WINAPI
AtlComModuleRegisterClassObjects
(
_ATL_COM_MODULE
*
,
DWORD
,
DWORD
);
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
,
BOOL
,
const
CLSID
*
);
HRESULT
WINAPI
AtlComModuleUnregisterServer
(
_ATL_COM_MODULE
*
,
BOOL
,
const
CLSID
*
);
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
);
BOOL
WINAPI
AtlWaitWithMessageLoop
(
HANDLE
);
HRESULT
WINAPI
AtlGetObjectSourceInterface
(
IUnknown
*
,
GUID
*
,
IID
*
,
unsigned
short
*
,
unsigned
short
*
);
HRESULT
WINAPI
AtlGetObjectSourceInterface
(
IUnknown
*
,
GUID
*
,
IID
*
,
unsigned
short
*
,
unsigned
short
*
);
...
...
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