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
548abf36
Commit
548abf36
authored
Jul 26, 2008
by
Stefan Leichter
Committed by
Alexandre Julliard
Jul 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rasapi32: Skip RasEnumDevicesA tests on configuration problems.
parent
cc494c48
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
rasapi.c
dlls/rasapi32/tests/rasapi.c
+5
-1
raserror.h
include/raserror.h
+1
-0
No files found.
dlls/rasapi32/tests/rasapi.c
View file @
548abf36
...
...
@@ -55,7 +55,11 @@ static void test_rasenum(void)
/* create the return buffer */
result
=
pRasEnumDevicesA
(
NULL
,
&
bufsize
,
&
cDevices
);
trace
(
"RasEnumDevicesA: buffersize %d
\n
"
,
cb
);
if
(
ERROR_RASMAN_CANNOT_INITIALIZE
==
result
)
{
win_skip
(
"RAS configuration problem
\n
"
);
return
;
}
trace
(
"RasEnumDevicesA: returned %d buffersize %d
\n
"
,
result
,
cb
);
ok
(
result
==
ERROR_BUFFER_TOO_SMALL
,
"Expected ERROR_BUFFER_TOO_SMALL, got %08d
\n
"
,
result
);
...
...
include/raserror.h
View file @
548abf36
...
...
@@ -22,5 +22,6 @@
#define RASBASE 600
#define ERROR_BUFFER_TOO_SMALL (RASBASE+3)
#define ERROR_INVALID_SIZE (RASBASE+32)
#define ERROR_RASMAN_CANNOT_INITIALIZE (RASBASE+111)
#endif
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