Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
17a39490
Commit
17a39490
authored
Sep 14, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Remove calls to unicode functions that aren't implemented in win9x.
parent
e3e11338
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
appbar.c
dlls/shell32/tests/appbar.c
+8
-8
No files found.
dlls/shell32/tests/appbar.c
View file @
17a39490
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#define MSG_APPBAR WM_APP
#define MSG_APPBAR WM_APP
static
const
WCHAR
testwindow_class
[]
=
{
't'
,
'e'
,
's'
,
't'
,
'w'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
0
}
;
static
const
CHAR
testwindow_class
[]
=
"testwindow"
;
static
HMONITOR
(
WINAPI
*
pMonitorFromWindow
)(
HWND
,
DWORD
);
static
HMONITOR
(
WINAPI
*
pMonitorFromWindow
)(
HWND
,
DWORD
);
...
@@ -107,16 +107,16 @@ static void do_events(void)
...
@@ -107,16 +107,16 @@ static void do_events(void)
{
{
MSG
msg
;
MSG
msg
;
while
(
PeekMessage
W
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
while
(
PeekMessage
A
(
&
msg
,
NULL
,
0
,
0
,
PM_REMOVE
))
{
{
TranslateMessage
(
&
msg
);
TranslateMessage
(
&
msg
);
DispatchMessage
W
(
&
msg
);
DispatchMessage
A
(
&
msg
);
}
}
}
}
static
void
register_testwindow_class
(
void
)
static
void
register_testwindow_class
(
void
)
{
{
WNDCLASSEX
W
cls
;
WNDCLASSEX
A
cls
;
ZeroMemory
(
&
cls
,
sizeof
(
cls
));
ZeroMemory
(
&
cls
,
sizeof
(
cls
));
cls
.
cbSize
=
sizeof
(
cls
);
cls
.
cbSize
=
sizeof
(
cls
);
...
@@ -127,7 +127,7 @@ static void register_testwindow_class(void)
...
@@ -127,7 +127,7 @@ static void register_testwindow_class(void)
cls
.
hbrBackground
=
(
HBRUSH
)
COLOR_WINDOW
;
cls
.
hbrBackground
=
(
HBRUSH
)
COLOR_WINDOW
;
cls
.
lpszClassName
=
testwindow_class
;
cls
.
lpszClassName
=
testwindow_class
;
RegisterClassEx
W
(
&
cls
);
RegisterClassEx
A
(
&
cls
);
}
}
static
void
test_setpos
(
void
)
static
void
test_setpos
(
void
)
...
@@ -143,7 +143,7 @@ static void test_setpos(void)
...
@@ -143,7 +143,7 @@ static void test_setpos(void)
screen_height
=
GetSystemMetrics
(
SM_CYSCREEN
);
screen_height
=
GetSystemMetrics
(
SM_CYSCREEN
);
/* create and register window1 */
/* create and register window1 */
window1
=
CreateWindowEx
W
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
window1
=
CreateWindowEx
A
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
window1
!=
NULL
,
"couldn't create window
\n
"
);
ok
(
window1
!=
NULL
,
"couldn't create window
\n
"
);
...
@@ -170,7 +170,7 @@ static void test_setpos(void)
...
@@ -170,7 +170,7 @@ static void test_setpos(void)
do_events
();
do_events
();
/* create and register window2 */
/* create and register window2 */
window2
=
CreateWindowEx
W
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
window2
=
CreateWindowEx
A
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
window2
!=
NULL
,
"couldn't create window
\n
"
);
ok
(
window2
!=
NULL
,
"couldn't create window
\n
"
);
...
@@ -204,7 +204,7 @@ static void test_setpos(void)
...
@@ -204,7 +204,7 @@ static void test_setpos(void)
window2_info
.
allocated_rect
.
left
,
window2_info
.
allocated_rect
.
top
,
window2_info
.
allocated_rect
.
right
,
window2_info
.
allocated_rect
.
bottom
);
window2_info
.
allocated_rect
.
left
,
window2_info
.
allocated_rect
.
top
,
window2_info
.
allocated_rect
.
right
,
window2_info
.
allocated_rect
.
bottom
);
/* create and register window3 */
/* create and register window3 */
window3
=
CreateWindowEx
W
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
window3
=
CreateWindowEx
A
(
WS_EX_TOOLWINDOW
|
WS_EX_TOPMOST
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
testwindow_class
,
testwindow_class
,
WS_POPUP
|
WS_VISIBLE
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
);
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
window3
!=
NULL
,
"couldn't create window
\n
"
);
ok
(
window3
!=
NULL
,
"couldn't create window
\n
"
);
...
...
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