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
48a63f29
Commit
48a63f29
authored
Oct 23, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add a test showing a problem in GetClassNameA.
parent
f6c7ae6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
class.c
dlls/user/tests/class.c
+6
-0
No files found.
dlls/user/tests/class.c
View file @
48a63f29
...
...
@@ -300,6 +300,8 @@ static void test_instances(void)
HINSTANCE
kernel32
=
GetModuleHandleA
(
"kernel32"
);
HINSTANCE
user32
=
GetModuleHandleA
(
"user32"
);
HINSTANCE
main_module
=
GetModuleHandleA
(
NULL
);
DWORD
r
;
char
buffer
[
0x10
];
memset
(
&
cls
,
0
,
sizeof
(
cls
)
);
cls
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
...
...
@@ -411,6 +413,10 @@ static void test_instances(void)
"Didn't get kernel32 class for null instance
\n
"
);
DestroyWindow
(
hwnd2
);
r
=
GetClassName
(
hwnd
,
buffer
,
4
);
todo_wine
ok
(
r
==
3
,
"return wrong
\n
"
);
ok
(
!
strcmp
(
buffer
,
"__t"
),
"name wrong
\n
"
);
ok
(
UnregisterClassA
(
name
,
kernel32
),
"Unregister failed for kernel32
\n
"
);
hwnd2
=
CreateWindowExA
(
0
,
name
,
"test_window"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
NULL
,
0
);
...
...
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