63{
68
69 winmod.
cbSize =
sizeof(winmod);
77
79 ok(winmod.
m_pCreateWndList == create_data,
"winmod.m_pCreateWndList != create_data\n");
80 ok(create_data[0].m_pThis == (
void*)0xdead0001,
"unexpected create_data[0].m_pThis %p\n", create_data[0].m_pThis);
81 ok(create_data[0].m_dwThreadID ==
GetCurrentThreadId(),
"unexpected create_data[0].m_dwThreadID %x\n",
82 create_data[0].m_dwThreadID);
83 ok(!create_data[0].m_pNext,
"unexpected create_data[0].m_pNext %p\n", create_data[0].m_pNext);
84
86 ok(winmod.
m_pCreateWndList == create_data+1,
"winmod.m_pCreateWndList != create_data\n");
87 ok(create_data[1].m_pThis == (
void*)0xdead0002,
"unexpected create_data[1].m_pThis %p\n", create_data[1].m_pThis);
88 ok(create_data[1].m_dwThreadID ==
GetCurrentThreadId(),
"unexpected create_data[1].m_dwThreadID %x\n",
89 create_data[1].m_dwThreadID);
90 ok(create_data[1].m_pNext == create_data,
"unexpected create_data[1].m_pNext %p\n", create_data[1].m_pNext);
91
93 ok(winmod.
m_pCreateWndList == create_data+2,
"winmod.m_pCreateWndList != create_data\n");
94 ok(create_data[2].m_pThis == (
void*)0xdead0003,
"unexpected create_data[2].m_pThis %p\n", create_data[2].m_pThis);
95 ok(create_data[2].m_dwThreadID ==
GetCurrentThreadId(),
"unexpected create_data[2].m_dwThreadID %x\n",
96 create_data[2].m_dwThreadID);
97 ok(create_data[2].m_pNext == create_data+1,
"unexpected create_data[2].m_pNext %p\n", create_data[2].m_pNext);
98
100 ok(
p == (
void*)0xdead0003,
"unexpected AtlModuleExtractCreateWndData result %p\n",
p);
101 ok(winmod.
m_pCreateWndList == create_data+1,
"winmod.m_pCreateWndList != create_data\n");
102 ok(create_data[2].m_pNext == create_data+1,
"unexpected create_data[2].m_pNext %p\n", create_data[2].m_pNext);
103
105
107 ok(
p == (
void*)0xdead0001,
"unexpected AtlModuleExtractCreateWndData result %p\n",
p);
108 ok(winmod.
m_pCreateWndList == create_data+1,
"winmod.m_pCreateWndList != create_data\n");
109 ok(!create_data[0].m_pNext,
"unexpected create_data[0].m_pNext %p\n", create_data[0].m_pNext);
110 ok(!create_data[1].m_pNext,
"unexpected create_data[1].m_pNext %p\n", create_data[1].m_pNext);
111
113 ok(!
p,
"unexpected AtlModuleExtractCreateWndData result %p\n",
p);
114 ok(winmod.
m_pCreateWndList == create_data+1,
"winmod.m_pCreateWndList != create_data\n");
115}
void *WINAPI AtlModuleExtractCreateWndData(_ATL_MODULEW *pM)
void WINAPI AtlModuleAddCreateWndData(_ATL_MODULEW *pM, _AtlCreateWndData *pData, void *pvObject)
CRITICAL_SECTION m_csWindowCreate
DWORD WINAPI GetCurrentThreadId(void)