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
38fb5396
Commit
38fb5396
authored
Mar 24, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd/tests: Use __HRESULT_FROM_WIN32() to initialize constants.
It is a macro and thus constant unlike HRESULT_FROM_WIN32().
parent
2212e663
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scheduler.c
dlls/taskschd/tests/scheduler.c
+3
-3
No files found.
dlls/taskschd/tests/scheduler.c
View file @
38fb5396
...
@@ -722,7 +722,7 @@ static void test_GetTask(void)
...
@@ -722,7 +722,7 @@ static void test_GetTask(void)
{
{
{
0
,
S_OK
},
{
0
,
S_OK
},
{
TASK_CREATE
,
S_OK
},
{
TASK_CREATE
,
S_OK
},
{
TASK_UPDATE
,
0x80070002
/* HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) */
},
{
TASK_UPDATE
,
__HRESULT_FROM_WIN32
(
ERROR_FILE_NOT_FOUND
)
},
{
TASK_CREATE
|
TASK_UPDATE
,
S_OK
}
{
TASK_CREATE
|
TASK_UPDATE
,
S_OK
}
};
};
static
const
struct
static
const
struct
...
@@ -730,8 +730,8 @@ static void test_GetTask(void)
...
@@ -730,8 +730,8 @@ static void test_GetTask(void)
DWORD
flags
,
hr
;
DWORD
flags
,
hr
;
}
open_existing_task
[]
=
}
open_existing_task
[]
=
{
{
{
0
,
0x800700b7
/* HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS) */
},
{
0
,
__HRESULT_FROM_WIN32
(
ERROR_ALREADY_EXISTS
)
},
{
TASK_CREATE
,
0x800700b7
/* HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS) */
},
{
TASK_CREATE
,
__HRESULT_FROM_WIN32
(
ERROR_ALREADY_EXISTS
)
},
{
TASK_UPDATE
,
S_OK
},
{
TASK_UPDATE
,
S_OK
},
{
TASK_CREATE
|
TASK_UPDATE
,
S_OK
}
{
TASK_CREATE
|
TASK_UPDATE
,
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