Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c02bf881
Commit
c02bf881
authored
Mar 15, 2013
by
Qian Hong
Committed by
Alexandre Julliard
Mar 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100/tests: Added class name test for AtlAxWinInit.
parent
c61df085
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
Makefile.in
dlls/atl100/tests/Makefile.in
+1
-1
atl.c
dlls/atl100/tests/atl.c
+29
-0
No files found.
dlls/atl100/tests/Makefile.in
View file @
c02bf881
TESTDLL
=
atl100.dll
IMPORTS
=
uuid atl100 oleaut32 ole32 advapi32
IMPORTS
=
uuid atl100 oleaut32 ole32 advapi32
user32
EXTRADEFS
=
-D_ATL_VER
=
_ATL_VER_100
C_SRCS
=
\
...
...
dlls/atl100/tests/atl.c
View file @
c02bf881
...
...
@@ -22,6 +22,10 @@
#define COBJMACROS
#define CONST_VTABLE
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <atlbase.h>
#include <mshtml.h>
...
...
@@ -562,6 +566,30 @@ static void test_source_iface(void)
ok
(
maj_ver
==
4
&&
min_ver
==
0
,
"ver = %d.%d
\n
"
,
maj_ver
,
min_ver
);
}
static
void
test_ax_win
(
void
)
{
BOOL
ret
;
WNDCLASSEXW
wcex
;
static
const
WCHAR
AtlAxWin100
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'1'
,
'0'
,
'0'
,
0
};
static
const
WCHAR
AtlAxWinLic100
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'L'
,
'i'
,
'c'
,
'1'
,
'0'
,
'0'
,
0
};
static
HMODULE
hinstance
=
0
;
ret
=
AtlAxWinInit
();
ok
(
ret
,
"AtlAxWinInit failed
\n
"
);
hinstance
=
GetModuleHandleA
(
NULL
);
memset
(
&
wcex
,
0
,
sizeof
(
wcex
));
wcex
.
cbSize
=
sizeof
(
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
AtlAxWin100
,
&
wcex
);
todo_wine
ok
(
ret
,
"AtlAxWin100 has not registered
\n
"
);
memset
(
&
wcex
,
0
,
sizeof
(
wcex
));
wcex
.
cbSize
=
sizeof
(
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
AtlAxWinLic100
,
&
wcex
);
todo_wine
ok
(
ret
,
"AtlAxWinLic100 has not registered
\n
"
);
}
START_TEST
(
atl
)
{
CoInitialize
(
NULL
);
...
...
@@ -571,6 +599,7 @@ START_TEST(atl)
test_typelib
();
test_cp
();
test_source_iface
();
test_ax_win
();
CoUninitialize
();
}
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