Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1d785798
Commit
1d785798
authored
Apr 15, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schedsvc/tests: Fix compilation with recent gcc/clang versions.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6ba6aac5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
atsvcapi.c
dlls/schedsvc/tests/atsvcapi.c
+3
-3
rpcapi.c
dlls/schedsvc/tests/rpcapi.c
+3
-3
task.c
dlls/taskschd/task.c
+2
-2
atsvc.idl
include/wine/atsvc.idl
+1
-1
schrpc.idl
include/wine/schrpc.idl
+1
-1
No files found.
dlls/schedsvc/tests/atsvcapi.c
View file @
1d785798
...
...
@@ -31,7 +31,7 @@
#define JOB_ADD_CURRENT_DATE 0x08
#define JOB_NONINTERACTIVE 0x10
extern
handle_t
rp
c_handle
;
extern
handle_t
atsv
c_handle
;
static
int
test_failures
,
test_skipped
;
...
...
@@ -69,7 +69,7 @@ START_TEST(atsvcapi)
hr
=
RpcStringBindingComposeA
(
NULL
,
ncalrpc
,
NULL
,
NULL
,
NULL
,
&
binding_str
);
ok
(
hr
==
RPC_S_OK
,
"RpcStringBindingCompose error %#x
\n
"
,
hr
);
hr
=
RpcBindingFromStringBindingA
(
binding_str
,
&
rp
c_handle
);
hr
=
RpcBindingFromStringBindingA
(
binding_str
,
&
atsv
c_handle
);
ok
(
hr
==
RPC_S_OK
,
"RpcBindingFromStringBinding error %#x
\n
"
,
hr
);
hr
=
RpcStringFreeA
(
&
binding_str
);
ok
(
hr
==
RPC_S_OK
,
"RpcStringFree error %#x
\n
"
,
hr
);
...
...
@@ -173,7 +173,7 @@ skip_tests_delete:
skip_tests
:
SetUnhandledExceptionFilter
(
old_exception_filter
);
hr
=
RpcBindingFree
(
&
rp
c_handle
);
hr
=
RpcBindingFree
(
&
atsv
c_handle
);
ok
(
hr
==
RPC_S_OK
,
"RpcBindingFree error %#x
\n
"
,
hr
);
}
...
...
dlls/schedsvc/tests/rpcapi.c
View file @
1d785798
...
...
@@ -25,7 +25,7 @@
#include "wine/test.h"
extern
handle_t
rpc_handle
;
extern
handle_t
sch
rpc_handle
;
static
LONG
CALLBACK
rpc_exception_filter
(
EXCEPTION_POINTERS
*
ptrs
)
{
...
...
@@ -103,7 +103,7 @@ START_TEST(rpcapi)
hr
=
RpcStringBindingComposeA
(
NULL
,
ncalrpc
,
NULL
,
NULL
,
NULL
,
&
binding_str
);
ok
(
hr
==
RPC_S_OK
,
"RpcStringBindingCompose error %#x
\n
"
,
hr
);
hr
=
RpcBindingFromStringBindingA
(
binding_str
,
&
rpc_handle
);
hr
=
RpcBindingFromStringBindingA
(
binding_str
,
&
sch
rpc_handle
);
ok
(
hr
==
RPC_S_OK
,
"RpcBindingFromStringBinding error %#x
\n
"
,
hr
);
hr
=
RpcStringFreeA
(
&
binding_str
);
ok
(
hr
==
RPC_S_OK
,
"RpcStringFree error %#x
\n
"
,
hr
);
...
...
@@ -537,7 +537,7 @@ todo_wine
MIDL_user_free
(
path
);
}
hr
=
RpcBindingFree
(
&
rpc_handle
);
hr
=
RpcBindingFree
(
&
sch
rpc_handle
);
ok
(
hr
==
RPC_S_OK
,
"RpcBindingFree error %#x
\n
"
,
hr
);
}
...
...
dlls/taskschd/task.c
View file @
1d785798
...
...
@@ -3843,7 +3843,7 @@ static HRESULT WINAPI TaskService_Connect(ITaskService *iface, VARIANT server, V
DWORD
len
;
HRESULT
hr
;
RPC_WSTR
binding_str
;
extern
handle_t
rpc_handle
;
extern
handle_t
sch
rpc_handle
;
TRACE
(
"%p,%s,%s,%s,%s
\n
"
,
iface
,
debugstr_variant
(
&
server
),
debugstr_variant
(
&
user
),
debugstr_variant
(
&
domain
),
debugstr_variant
(
&
password
));
...
...
@@ -3882,7 +3882,7 @@ static HRESULT WINAPI TaskService_Connect(ITaskService *iface, VARIANT server, V
hr
=
RpcStringBindingComposeW
(
NULL
,
ncalrpc
,
NULL
,
NULL
,
NULL
,
&
binding_str
);
if
(
hr
!=
RPC_S_OK
)
return
hr
;
hr
=
RpcBindingFromStringBindingW
(
binding_str
,
&
rpc_handle
);
hr
=
RpcBindingFromStringBindingW
(
binding_str
,
&
sch
rpc_handle
);
RpcStringFreeW
(
&
binding_str
);
if
(
hr
!=
RPC_S_OK
)
return
hr
;
...
...
include/wine/atsvc.idl
View file @
1d785798
...
...
@@ -23,7 +23,7 @@ import "ocidl.idl";
[
uuid
(
1
ff70682
-
0
a51
-
30
e8
-076d-740
be8cee98b
),
implicit_handle
(
handle_t
rp
c_handle
),
implicit_handle
(
handle_t
atsv
c_handle
),
version
(
1.0
),
pointer_default
(
unique
)
]
...
...
include/wine/schrpc.idl
View file @
1d785798
...
...
@@ -26,7 +26,7 @@ import "ocidl.idl";
[
uuid
(
86
d35949
-
83
c9
-
4044
-
b424
-
db363231fd0c
),
implicit_handle
(
handle_t
rpc_handle
),
implicit_handle
(
handle_t
sch
rpc_handle
),
version
(
1.0
),
pointer_default
(
unique
)
]
...
...
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