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
5d2fe518
Commit
5d2fe518
authored
Mar 24, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schedsvc/tests: Use __HRESULT_FROM_WIN32() to initialize constants.
It is a macro and thus constant unlike HRESULT_FROM_WIN32().
parent
a2d56447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rpcapi.c
dlls/schedsvc/tests/rpcapi.c
+3
-3
No files found.
dlls/schedsvc/tests/rpcapi.c
View file @
5d2fe518
...
...
@@ -65,7 +65,7 @@ START_TEST(rpcapi)
{
{
0
,
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
}
};
static
const
struct
...
...
@@ -73,8 +73,8 @@ START_TEST(rpcapi)
DWORD
flags
,
hr
;
}
open_existing_task
[]
=
{
{
0
,
0x800700b7
/* HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS) */
},
{
TASK_CREATE
,
0x800700b7
/* HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS) */
},
{
0
,
__HRESULT_FROM_WIN32
(
ERROR_ALREADY_EXISTS
)
},
{
TASK_CREATE
,
__HRESULT_FROM_WIN32
(
ERROR_ALREADY_EXISTS
)
},
{
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