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
97861a52
Commit
97861a52
authored
Oct 14, 2013
by
Austin English
Committed by
Alexandre Julliard
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe/tests: Build with -D__WINESRC__.
parent
f906be9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Makefile.in
dlls/explorerframe/tests/Makefile.in
+0
-1
nstc.c
dlls/explorerframe/tests/nstc.c
+7
-7
No files found.
dlls/explorerframe/tests/Makefile.in
View file @
97861a52
TESTDLL
=
explorerframe.dll
IMPORTS
=
uuid shell32 ole32 user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
nstc.c
...
...
dlls/explorerframe/tests/nstc.c
View file @
97861a52
...
...
@@ -418,10 +418,10 @@ static void process_msgs(void)
do
{
got_msg
=
FALSE
;
Sleep
(
100
);
while
(
PeekMessage
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
while
(
PeekMessage
W
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
W
(
&
msg
);
got_msg
=
TRUE
;
}
}
while
(
got_msg
);
...
...
@@ -432,10 +432,10 @@ static void process_msgs(void)
sending WM_TIMER manually does not seem to help us.) */
Sleep
(
500
);
while
(
PeekMessage
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
while
(
PeekMessage
W
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
TranslateMessage
(
&
msg
);
DispatchMessage
(
&
msg
);
DispatchMessage
W
(
&
msg
);
}
}
...
...
@@ -1928,17 +1928,17 @@ static void test_events(void)
/* Test On*Expand */
hroot
=
(
HTREEITEM
)
SendMessageW
(
hwnd_tv
,
TVM_GETNEXTITEM
,
TVGN_ROOT
,
0
);
SendMessage
(
hwnd_tv
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
hroot
);
SendMessage
W
(
hwnd_tv
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
hroot
);
process_msgs
();
ok_event_count
(
pnstceimpl
,
OnBeforeExpand
,
1
);
ok_event_count
(
pnstceimpl
,
OnAfterExpand
,
1
);
ok_event_broken
(
pnstceimpl
,
OnItemAdded
);
/* No event on Vista */
todo_wine
ok_event_count
(
pnstceimpl
,
OnSelectionChanged
,
1
);
ok_no_events
(
pnstceimpl
);
SendMessage
(
hwnd_tv
,
TVM_EXPAND
,
TVE_COLLAPSE
,
(
LPARAM
)
hroot
);
SendMessage
W
(
hwnd_tv
,
TVM_EXPAND
,
TVE_COLLAPSE
,
(
LPARAM
)
hroot
);
process_msgs
();
ok_no_events
(
pnstceimpl
);
SendMessage
(
hwnd_tv
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
hroot
);
SendMessage
W
(
hwnd_tv
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
hroot
);
process_msgs
();
ok_no_events
(
pnstceimpl
);
...
...
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