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
d82d5d66
Commit
d82d5d66
authored
Sep 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rasapi32: Fix several failing tests in win98.
parent
b5812e00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
rasapi.c
dlls/rasapi32/tests/rasapi.c
+12
-6
No files found.
dlls/rasapi32/tests/rasapi.c
View file @
d82d5d66
...
...
@@ -77,28 +77,32 @@ static void test_rasenum(void)
/* test first parameter */
cb
=
bufsize
;
result
=
pRasEnumDevicesA
(
NULL
,
&
cb
,
&
cDevices
);
ok
(
result
==
ERROR_BUFFER_TOO_SMALL
,
ok
(
result
==
ERROR_BUFFER_TOO_SMALL
||
result
==
ERROR_INVALID_USER_BUFFER
,
/* win98 */
"Expected ERROR_BUFFER_TOO_SMALL, got %08d
\n
"
,
result
);
rasDevInfo
[
0
].
dwSize
=
0
;
cb
=
bufsize
;
result
=
pRasEnumDevicesA
(
rasDevInfo
,
&
cb
,
&
cDevices
);
todo_wine
ok
(
result
==
ERROR_INVALID_SIZE
,
ok
(
result
==
ERROR_INVALID_SIZE
||
result
==
ERROR_INVALID_USER_BUFFER
,
/* win98 */
"Expected ERROR_INVALID_SIZE, got %08d
\n
"
,
result
);
rasDevInfo
[
0
].
dwSize
=
sizeof
(
RASDEVINFOA
)
-
1
;
cb
=
bufsize
;
result
=
pRasEnumDevicesA
(
rasDevInfo
,
&
cb
,
&
cDevices
);
todo_wine
ok
(
result
==
ERROR_INVALID_SIZE
,
ok
(
result
==
ERROR_INVALID_SIZE
||
result
==
ERROR_INVALID_USER_BUFFER
,
/* win98 */
"Expected ERROR_INVALID_SIZE, got %08d
\n
"
,
result
);
rasDevInfo
[
0
].
dwSize
=
sizeof
(
RASDEVINFOA
)
+
1
;
cb
=
bufsize
;
result
=
pRasEnumDevicesA
(
rasDevInfo
,
&
cb
,
&
cDevices
);
todo_wine
ok
(
result
==
ERROR_INVALID_SIZE
,
ok
(
result
==
ERROR_INVALID_SIZE
||
result
==
ERROR_INVALID_USER_BUFFER
,
/* win98 */
"Expected ERROR_INVALID_SIZE, got %08d
\n
"
,
result
);
/* test second parameter */
...
...
@@ -139,14 +143,16 @@ static void test_rasenum(void)
"Expected ERROR_INVALID_PARAMETER, got %08d
\n
"
,
result
);
result
=
pRasEnumDevicesA
(
NULL
,
&
cb
,
NULL
);
ok
(
result
==
ERROR_INVALID_PARAMETER
,
ok
(
result
==
ERROR_INVALID_PARAMETER
||
result
==
ERROR_INVALID_USER_BUFFER
,
/* win98 */
"Expected ERROR_INVALID_PARAMETER, got %08d
\n
"
,
result
);
cb
=
0
;
rasDevInfo
[
0
].
dwSize
=
0
;
result
=
pRasEnumDevicesA
(
rasDevInfo
,
&
cb
,
&
cDevices
);
todo_wine
ok
(
result
==
ERROR_INVALID_SIZE
,
ok
(
result
==
ERROR_INVALID_SIZE
||
broken
(
result
==
ERROR_BUFFER_TOO_SMALL
),
/* win98 */
"Expected ERROR_INVALID_SIZE, got %08d
\n
"
,
result
);
HeapFree
(
GetProcessHeap
(),
0
,
rasDevInfo
);
...
...
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