rasapi32/tests: Fix some test failures on Win9x.

This commit is contained in:
Paul Vriens 2010-01-19 16:44:22 +01:00 committed by Alexandre Julliard
parent 83c422e111
commit c5112d9f6f
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -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