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
7e5da860
Commit
7e5da860
authored
Nov 30, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Dec 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Skip DDE tests on win9x.
parent
6fcca28b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
dde.c
dlls/user32/tests/dde.c
+9
-6
No files found.
dlls/user32/tests/dde.c
View file @
7e5da860
...
@@ -2043,12 +2043,6 @@ static void test_DdeCreateStringHandle(void)
...
@@ -2043,12 +2043,6 @@ static void test_DdeCreateStringHandle(void)
dde_inst
=
0xdeadbeef
;
dde_inst
=
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
DdeInitializeW
(
&
dde_inst
,
client_ddeml_callback
,
APPCMD_CLIENTONLY
,
0
);
ret
=
DdeInitializeW
(
&
dde_inst
,
client_ddeml_callback
,
APPCMD_CLIENTONLY
,
0
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"DdeInitializeW is unimplemented
\n
"
);
return
;
}
ok
(
ret
==
DMLERR_INVALIDPARAMETER
,
"DdeInitializeW should fail, but got %04x instead
\n
"
,
ret
);
ok
(
ret
==
DMLERR_INVALIDPARAMETER
,
"DdeInitializeW should fail, but got %04x instead
\n
"
,
ret
);
ok
(
DdeGetLastError
(
dde_inst
)
==
DMLERR_INVALIDPARAMETER
,
"expected DMLERR_INVALIDPARAMETER
\n
"
);
ok
(
DdeGetLastError
(
dde_inst
)
==
DMLERR_INVALIDPARAMETER
,
"expected DMLERR_INVALIDPARAMETER
\n
"
);
...
@@ -2696,6 +2690,7 @@ START_TEST(dde)
...
@@ -2696,6 +2690,7 @@ START_TEST(dde)
char
buffer
[
MAX_PATH
];
char
buffer
[
MAX_PATH
];
STARTUPINFO
startup
;
STARTUPINFO
startup
;
PROCESS_INFORMATION
proc
;
PROCESS_INFORMATION
proc
;
DWORD
dde_inst
=
0xdeadbeef
;
argc
=
winetest_get_mainargs
(
&
argv
);
argc
=
winetest_get_mainargs
(
&
argv
);
if
(
argc
==
3
)
if
(
argc
==
3
)
...
@@ -2714,6 +2709,14 @@ START_TEST(dde)
...
@@ -2714,6 +2709,14 @@ START_TEST(dde)
test_initialisation
();
test_initialisation
();
SetLastError
(
0xdeadbeef
);
DdeInitializeW
(
&
dde_inst
,
client_ddeml_callback
,
APPCMD_CLIENTONLY
,
0
);
if
(
GetLastError
()
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
win_skip
(
"Skipping tests on win9x because of brokenness
\n
"
);
return
;
}
ZeroMemory
(
&
startup
,
sizeof
(
STARTUPINFO
));
ZeroMemory
(
&
startup
,
sizeof
(
STARTUPINFO
));
sprintf
(
buffer
,
"%s dde ddeml"
,
argv
[
0
]);
sprintf
(
buffer
,
"%s dde ddeml"
,
argv
[
0
]);
startup
.
cb
=
sizeof
(
startup
);
startup
.
cb
=
sizeof
(
startup
);
...
...
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