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
c0456aea
Commit
c0456aea
authored
Dec 19, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlWinModuleExtractCreateWndData implementation.
parent
8ca7a068
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
1 deletion
+30
-1
atl.c
dlls/atl100/atl.c
+28
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atlbase.h
include/atlbase.h
+1
-0
No files found.
dlls/atl100/atl.c
View file @
c0456aea
...
...
@@ -319,6 +319,34 @@ void WINAPI AtlWinModuleAddCreateWndData(_ATL_WIN_MODULE *pM, _AtlCreateWndData
}
/***********************************************************************
* AtlWinModuleExtractCreateWndData [atl100.44]
*/
void
*
WINAPI
AtlWinModuleExtractCreateWndData
(
_ATL_WIN_MODULE
*
winmod
)
{
_AtlCreateWndData
*
iter
,
*
prev
=
NULL
;
DWORD
thread_id
;
TRACE
(
"(%p)
\n
"
,
winmod
);
thread_id
=
GetCurrentThreadId
();
EnterCriticalSection
(
&
winmod
->
m_csWindowCreate
);
for
(
iter
=
winmod
->
m_pCreateWndList
;
iter
&&
iter
->
m_dwThreadID
!=
thread_id
;
iter
=
iter
->
m_pNext
)
prev
=
iter
;
if
(
iter
)
{
if
(
prev
)
prev
->
m_pNext
=
iter
->
m_pNext
;
else
winmod
->
m_pCreateWndList
=
iter
->
m_pNext
;
}
LeaveCriticalSection
(
&
winmod
->
m_csWindowCreate
);
return
iter
?
iter
->
m_pThis
:
NULL
;
}
/***********************************************************************
* AtlComModuleGetClassObject [atl100.15]
*/
HRESULT
WINAPI
AtlComModuleGetClassObject
(
_ATL_COM_MODULE
*
pm
,
REFCLSID
rclsid
,
REFIID
riid
,
void
**
ppv
)
...
...
dlls/atl100/atl100.spec
View file @
c0456aea
...
...
@@ -27,7 +27,7 @@
41 stdcall AtlAxAttachControl(ptr ptr ptr)
42 stdcall AtlAxWinInit()
43 stdcall AtlWinModuleAddCreateWndData(ptr ptr ptr)
44 st
ub AtlWinModuleExtractCreateWndData
44 st
dcall AtlWinModuleExtractCreateWndData(ptr)
45 stub AtlWinModuleRegisterWndClassInfoW
46 stub AtlWinModuleRegisterWndClassInfoA
47 stdcall AtlAxGetControl(long ptr)
...
...
include/atlbase.h
View file @
c0456aea
...
...
@@ -223,6 +223,7 @@ HRESULT WINAPI AtlMarshalPtrInProc(IUnknown *pUnk, const IID *iid, IStream **ppS
void
WINAPI
AtlModuleAddCreateWndData
(
_ATL_MODULEW
*
pM
,
_AtlCreateWndData
*
pData
,
void
*
pvObject
);
HRESULT
WINAPI
AtlWinModuleInit
(
_ATL_WIN_MODULE
*
);
void
WINAPI
AtlWinModuleAddCreateWndData
(
_ATL_WIN_MODULE
*
,
_AtlCreateWndData
*
,
void
*
);
void
*
WINAPI
AtlWinModuleExtractCreateWndData
(
_ATL_WIN_MODULE
*
);
HRESULT
WINAPI
AtlModuleAddTermFunc
(
_ATL_MODULE
*
pM
,
_ATL_TERMFUNC
*
pFunc
,
DWORD_PTR
dw
);
void
WINAPI
AtlCallTermFunc
(
_ATL_MODULE
*
);
void
*
WINAPI
AtlModuleExtractCreateWndData
(
_ATL_MODULEW
*
pM
);
...
...
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