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
f5c35b14
Commit
f5c35b14
authored
Feb 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask/tests: Add some error codes for Win2k.
parent
88cdfb9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
task.c
dlls/mstask/tests/task.c
+6
-3
No files found.
dlls/mstask/tests/task.c
View file @
f5c35b14
...
@@ -445,7 +445,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
...
@@ -445,7 +445,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
hres
==
SCHED_E_CANNOT_OPEN_TASK
||
hres
==
0x200
),
/* win2k */
"GetAccountInformation failed: %08x
\n
"
,
hres
);
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
if
(
hres
==
S_OK
)
{
{
...
@@ -464,7 +465,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
...
@@ -464,7 +465,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
hres
==
SCHED_E_CANNOT_OPEN_TASK
||
hres
==
0x200
),
/* win2k */
"GetAccountInformation failed: %08x
\n
"
,
hres
);
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
if
(
hres
==
S_OK
)
{
{
...
@@ -480,7 +482,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
...
@@ -480,7 +482,8 @@ static void test_SetAccountInformation_GetAccountInformation(void)
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
hres
=
ITask_GetAccountInformation
(
test_task
,
&
account_name
);
ok
(
hres
==
S_OK
||
ok
(
hres
==
S_OK
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
broken
(
hres
==
HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
||
hres
==
SCHED_E_CANNOT_OPEN_TASK
),
hres
==
SCHED_E_CANNOT_OPEN_TASK
||
hres
==
0x200
),
/* win2k */
"GetAccountInformation failed: %08x
\n
"
,
hres
);
"GetAccountInformation failed: %08x
\n
"
,
hres
);
if
(
hres
==
S_OK
)
if
(
hres
==
S_OK
)
{
{
...
...
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