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
0a0b2ff0
Commit
0a0b2ff0
authored
Dec 10, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlCallTermFunc implementation (based on AtlModuleTerm).
parent
264f6dfe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
2 deletions
+22
-2
atl.c
dlls/atl100/atl.c
+19
-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 @
0a0b2ff0
...
...
@@ -246,6 +246,25 @@ HRESULT WINAPI AtlModuleAddTermFunc(_ATL_MODULE *pM, _ATL_TERMFUNC *pFunc, DWORD
}
/***********************************************************************
* AtlCallTermFunc [atl100.@]
*/
void
WINAPI
AtlCallTermFunc
(
_ATL_MODULE
*
pM
)
{
_ATL_TERMFUNC_ELEM
*
iter
=
pM
->
m_pTermFuncs
,
*
tmp
;
TRACE
(
"(%p)
\n
"
,
pM
);
while
(
iter
)
{
iter
->
pFunc
(
iter
->
dw
);
tmp
=
iter
;
iter
=
iter
->
pNext
;
HeapFree
(
GetProcessHeap
(),
0
,
tmp
);
}
pM
->
m_pTermFuncs
=
NULL
;
}
/***********************************************************************
* AtlGetVersion [atl100.@]
*/
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
...
...
dlls/atl100/atl100.spec
View file @
0a0b2ff0
...
...
@@ -45,7 +45,7 @@
61 stdcall AtlCreateRegistrar(ptr)
62 stub AtlWinModuleRegisterClassExW
63 stub AtlWinModuleRegisterClassExA
64 st
ub AtlCallTermFunc
64 st
dcall AtlCallTermFunc(ptr)
65 stub AtlWinModuleInit
66 stub AtlWinModuleTerm
67 stub AtlSetPerUserRegistration
...
...
dlls/atl80/atl80.spec
View file @
0a0b2ff0
...
...
@@ -51,6 +51,6 @@
61 stdcall AtlCreateRegistrar(ptr) atl100.AtlCreateRegistrar
62 stub AltWinModuleRegisterClassExW
63 stub AltWinModuleRegisterClassExA
64 st
ub
AltCallTermFunc
64 st
dcall AltCallTermFunc(ptr) atl100.
AltCallTermFunc
65 stub AltWinModuleInit
66 stub AltWinModuleTerm
include/atlbase.h
View file @
0a0b2ff0
...
...
@@ -196,6 +196,7 @@ HRESULT WINAPI AtlInternalQueryInterface(void* pThis, const _ATL_INTMAP_ENTRY* p
HRESULT
WINAPI
AtlMarshalPtrInProc
(
IUnknown
*
pUnk
,
const
IID
*
iid
,
IStream
**
ppStream
);
void
WINAPI
AtlModuleAddCreateWndData
(
_ATL_MODULEW
*
pM
,
_AtlCreateWndData
*
pData
,
void
*
pvObject
);
HRESULT
WINAPI
AtlModuleAddTermFunc
(
_ATL_MODULE
*
pM
,
_ATL_TERMFUNC
*
pFunc
,
DWORD_PTR
dw
);
void
WINAPI
AtlCallTermFunc
(
_ATL_MODULE
*
);
void
*
WINAPI
AtlModuleExtractCreateWndData
(
_ATL_MODULEW
*
pM
);
HRESULT
WINAPI
AtlModuleInit
(
_ATL_MODULEW
*
pM
,
_ATL_OBJMAP_ENTRYW
*
p
,
HINSTANCE
h
);
HRESULT
WINAPI
AtlModuleLoadTypeLib
(
_ATL_MODULEW
*
pM
,
LPCOLESTR
lpszIndex
,
BSTR
*
pbstrPath
,
ITypeLib
**
ppTypeLib
);
...
...
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