Commit 5d2fe518 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

schedsvc/tests: Use __HRESULT_FROM_WIN32() to initialize constants.

It is a macro and thus constant unlike HRESULT_FROM_WIN32().
parent a2d56447
......@@ -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 }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment