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
147dbf63
Commit
147dbf63
authored
Dec 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Added AtlWinModuleAddCreateWndData implementation (based on AtlModuleAddCreateWndData).
parent
55b0de21
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletion
+35
-1
atl.c
dlls/atl100/atl.c
+16
-0
atl100.spec
dlls/atl100/atl100.spec
+1
-1
atlbase.h
include/atlbase.h
+18
-0
No files found.
dlls/atl100/atl.c
View file @
147dbf63
...
...
@@ -288,6 +288,22 @@ HRESULT WINAPI AtlLoadTypeLib(HINSTANCE inst, LPCOLESTR lpszIndex,
}
/***********************************************************************
* AtlWinModuleAddCreateWndData [atl100.43]
*/
void
WINAPI
AtlWinModuleAddCreateWndData
(
_ATL_WIN_MODULE
*
pM
,
_AtlCreateWndData
*
pData
,
void
*
pvObject
)
{
TRACE
(
"(%p, %p, %p)
\n
"
,
pM
,
pData
,
pvObject
);
pData
->
m_pThis
=
pvObject
;
pData
->
m_dwThreadID
=
GetCurrentThreadId
();
EnterCriticalSection
(
&
pM
->
m_csWindowCreate
);
pData
->
m_pNext
=
pM
->
m_pCreateWndList
;
pM
->
m_pCreateWndList
=
pData
;
LeaveCriticalSection
(
&
pM
->
m_csWindowCreate
);
}
/***********************************************************************
* AtlGetVersion [atl100.@]
*/
DWORD
WINAPI
AtlGetVersion
(
void
*
pReserved
)
...
...
dlls/atl100/atl100.spec
View file @
147dbf63
...
...
@@ -26,7 +26,7 @@
40 stdcall AtlAxCreateControlEx(ptr ptr ptr ptr ptr ptr ptr)
41 stdcall AtlAxAttachControl(ptr ptr ptr)
42 stdcall AtlAxWinInit()
43 st
ub AtlWinModuleAddCreateWndData
43 st
dcall AtlWinModuleAddCreateWndData(ptr ptr ptr)
44 stub AtlWinModuleExtractCreateWndData
45 stub AtlWinModuleRegisterWndClassInfoW
46 stub AtlWinModuleRegisterWndClassInfoA
...
...
include/atlbase.h
View file @
147dbf63
...
...
@@ -160,6 +160,13 @@ typedef struct _ATL_MODULEW_TAG
_ATL_TERMFUNC_ELEM
*
m_pTermFuncs
;
}
_ATL_MODULEW
;
typedef
struct
{
void
*
m_aT
;
int
m_nSize
;
int
m_nAllocSize
;
}
CSimpleArray
;
typedef
struct
_ATL_MODULE70
{
UINT
cbSize
;
...
...
@@ -168,10 +175,20 @@ typedef struct _ATL_MODULE70
CComCriticalSection
m_csStaticDataInitAndTypeInfo
;
}
_ATL_MODULE70
;
typedef
struct
_ATL_WIN_MODULE70
{
UINT
cbSize
;
CComCriticalSection
m_csWindowCreate
;
_AtlCreateWndData
*
m_pCreateWndList
;
CSimpleArray
/* <ATOM> */
m_rgWindowClassAtoms
;
}
_ATL_WIN_MODULE70
;
#if _ATL_VER >= _ATL_VER_70
typedef
_ATL_MODULE70
_ATL_MODULE
;
typedef
_ATL_WIN_MODULE70
_ATL_WIN_MODULE
;
#else
typedef
_ATL_MODULEW
_ATL_MODULE
;
typedef
_ATL_MODULEW
_ATL_WIN_MODULE
;
#endif
typedef
struct
_ATL_INTMAP_ENTRY_TAG
...
...
@@ -195,6 +212,7 @@ HRESULT WINAPI AtlFreeMarshalStream(IStream *pStream);
HRESULT
WINAPI
AtlInternalQueryInterface
(
void
*
pThis
,
const
_ATL_INTMAP_ENTRY
*
pEntries
,
REFIID
iid
,
void
**
ppvObject
);
HRESULT
WINAPI
AtlMarshalPtrInProc
(
IUnknown
*
pUnk
,
const
IID
*
iid
,
IStream
**
ppStream
);
void
WINAPI
AtlModuleAddCreateWndData
(
_ATL_MODULEW
*
pM
,
_AtlCreateWndData
*
pData
,
void
*
pvObject
);
void
WINAPI
AtlWinModuleAddCreateWndData
(
_ATL_WIN_MODULE
*
,
_AtlCreateWndData
*
,
void
*
);
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