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
ef601fcb
Commit
ef601fcb
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: Fixed register class names in AtlAxWinInit.
parent
c02bf881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
atl_ax.c
dlls/atl100/atl_ax.c
+7
-2
atl.c
dlls/atl100/tests/atl.c
+2
-2
No files found.
dlls/atl100/atl_ax.c
View file @
ef601fcb
...
...
@@ -86,7 +86,8 @@ static LRESULT CALLBACK AtlAxWin_wndproc( HWND hWnd, UINT wMsg, WPARAM wParam, L
BOOL
WINAPI
AtlAxWinInit
(
void
)
{
WNDCLASSEXW
wcex
;
const
WCHAR
AtlAxWin
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
0
};
const
WCHAR
AtlAxWin100
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'1'
,
'0'
,
'0'
,
0
};
const
WCHAR
AtlAxWinLic100
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'L'
,
'i'
,
'c'
,
'1'
,
'0'
,
'0'
,
0
};
FIXME
(
"semi-stub
\n
"
);
...
...
@@ -105,7 +106,11 @@ BOOL WINAPI AtlAxWinInit(void)
wcex
.
hIconSm
=
0
;
wcex
.
lpfnWndProc
=
AtlAxWin_wndproc
;
wcex
.
lpszClassName
=
AtlAxWin
;
wcex
.
lpszClassName
=
AtlAxWin100
;
if
(
!
RegisterClassExW
(
&
wcex
)
)
return
FALSE
;
wcex
.
lpszClassName
=
AtlAxWinLic100
;
if
(
!
RegisterClassExW
(
&
wcex
)
)
return
FALSE
;
...
...
dlls/atl100/tests/atl.c
View file @
ef601fcb
...
...
@@ -582,12 +582,12 @@ static void test_ax_win(void)
memset
(
&
wcex
,
0
,
sizeof
(
wcex
));
wcex
.
cbSize
=
sizeof
(
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
AtlAxWin100
,
&
wcex
);
todo_wine
ok
(
ret
,
"AtlAxWin100 has not registered
\n
"
);
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
"
);
ok
(
ret
,
"AtlAxWinLic100 has not registered
\n
"
);
}
START_TEST
(
atl
)
...
...
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