Module: wine Branch: master Commit: c5112d9f6f75d0160645829c466cb83ae1786b12 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5112d9f6f75d0160645829c46...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Tue Jan 19 16:44:22 2010 +0100
rasapi32/tests: Fix some test failures on Win9x.
---
dlls/rasapi32/tests/rasapi.c | 3 ++- include/raserror.h | 1 + 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/rasapi32/tests/rasapi.c b/dlls/rasapi32/tests/rasapi.c index 1bc684c..d25c741 100644 --- a/dlls/rasapi32/tests/rasapi.c +++ b/dlls/rasapi32/tests/rasapi.c @@ -55,7 +55,8 @@ static void test_rasenum(void)
/* create the return buffer */ result = pRasEnumDevicesA(NULL, &bufsize, &cDevices); - if(ERROR_RASMAN_CANNOT_INITIALIZE == result) { + if(ERROR_RASMAN_CANNOT_INITIALIZE == result || + ERROR_STATE_MACHINES_NOT_STARTED == result) { win_skip("RAS configuration problem\n"); return; } diff --git a/include/raserror.h b/include/raserror.h index 694dfe9..1735936 100644 --- a/include/raserror.h +++ b/include/raserror.h @@ -23,6 +23,7 @@ #define ERROR_BUFFER_TOO_SMALL (RASBASE+3) #define ERROR_BUFFER_INVALID (RASBASE+10) #define ERROR_INVALID_SIZE (RASBASE+32) +#define ERROR_STATE_MACHINES_NOT_STARTED (RASBASE+95) #define ERROR_RASMAN_CANNOT_INITIALIZE (RASBASE+111)
#endif