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
6141cc80
Commit
6141cc80
authored
Apr 15, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Added RpcServerRegisterIf3 implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
91f89b4f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
rpc_server.c
dlls/rpcrt4/rpc_server.c
+17
-4
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+1
-0
rpcdce.h
include/rpcdce.h
+5
-0
No files found.
dlls/rpcrt4/rpc_server.c
View file @
6141cc80
...
...
@@ -1101,7 +1101,7 @@ void RPCRT4_destroy_all_protseqs(void)
RPC_STATUS
WINAPI
RpcServerRegisterIf
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
)
{
TRACE
(
"(%p,%s,%p)
\n
"
,
IfSpec
,
debugstr_guid
(
MgrTypeUuid
),
MgrEpv
);
return
RpcServerRegisterIf
2
(
IfSpec
,
MgrTypeUuid
,
MgrEpv
,
0
,
RPC_C_LISTEN_MAX_CALLS_DEFAULT
,
(
UINT
)
-
1
,
NULL
);
return
RpcServerRegisterIf
3
(
IfSpec
,
MgrTypeUuid
,
MgrEpv
,
0
,
RPC_C_LISTEN_MAX_CALLS_DEFAULT
,
(
UINT
)
-
1
,
NULL
,
NULL
);
}
/***********************************************************************
...
...
@@ -1111,7 +1111,7 @@ RPC_STATUS WINAPI RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid
UINT
Flags
,
UINT
MaxCalls
,
RPC_IF_CALLBACK_FN
*
IfCallbackFn
)
{
TRACE
(
"(%p,%s,%p,%u,%u,%p)
\n
"
,
IfSpec
,
debugstr_guid
(
MgrTypeUuid
),
MgrEpv
,
Flags
,
MaxCalls
,
IfCallbackFn
);
return
RpcServerRegisterIf
2
(
IfSpec
,
MgrTypeUuid
,
MgrEpv
,
Flags
,
MaxCalls
,
(
UINT
)
-
1
,
IfCallbackFn
);
return
RpcServerRegisterIf
3
(
IfSpec
,
MgrTypeUuid
,
MgrEpv
,
Flags
,
MaxCalls
,
(
UINT
)
-
1
,
IfCallbackFn
,
NULL
);
}
/***********************************************************************
...
...
@@ -1120,12 +1120,25 @@ RPC_STATUS WINAPI RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid
RPC_STATUS
WINAPI
RpcServerRegisterIf2
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
,
UINT
Flags
,
UINT
MaxCalls
,
UINT
MaxRpcSize
,
RPC_IF_CALLBACK_FN
*
IfCallbackFn
)
{
return
RpcServerRegisterIf3
(
IfSpec
,
MgrTypeUuid
,
MgrEpv
,
Flags
,
MaxCalls
,
MaxRpcSize
,
IfCallbackFn
,
NULL
);
}
/***********************************************************************
* RpcServerRegisterIf3 (RPCRT4.@)
*/
RPC_STATUS
WINAPI
RpcServerRegisterIf3
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
,
UINT
Flags
,
UINT
MaxCalls
,
UINT
MaxRpcSize
,
RPC_IF_CALLBACK_FN
*
IfCallbackFn
,
void
*
SecurityDescriptor
)
{
PRPC_SERVER_INTERFACE
If
=
IfSpec
;
RpcServerInterface
*
sif
;
unsigned
int
i
;
TRACE
(
"(%p,%s,%p,%u,%u,%u,%p)
\n
"
,
IfSpec
,
debugstr_guid
(
MgrTypeUuid
),
MgrEpv
,
Flags
,
MaxCalls
,
MaxRpcSize
,
IfCallbackFn
);
TRACE
(
"(%p,%s,%p,%u,%u,%u,%p,%p)
\n
"
,
IfSpec
,
debugstr_guid
(
MgrTypeUuid
),
MgrEpv
,
Flags
,
MaxCalls
,
MaxRpcSize
,
IfCallbackFn
,
SecurityDescriptor
);
if
(
SecurityDescriptor
)
FIXME
(
"Unsupported SecurityDescriptor argument.
\n
"
);
TRACE
(
" interface id: %s %d.%d
\n
"
,
debugstr_guid
(
&
If
->
InterfaceId
.
SyntaxGUID
),
If
->
InterfaceId
.
SyntaxVersion
.
MajorVersion
,
If
->
InterfaceId
.
SyntaxVersion
.
MinorVersion
);
...
...
dlls/rpcrt4/rpcrt4.spec
View file @
6141cc80
...
...
@@ -434,6 +434,7 @@
@ stdcall RpcServerRegisterAuthInfoA(str long ptr ptr)
@ stdcall RpcServerRegisterAuthInfoW(wstr long ptr ptr)
@ stdcall RpcServerRegisterIf2(ptr ptr ptr long long long ptr)
@ stdcall RpcServerRegisterIf3(ptr ptr ptr long long long ptr ptr)
@ stdcall RpcServerRegisterIf(ptr ptr ptr)
@ stdcall RpcServerRegisterIfEx(ptr ptr ptr long long ptr)
@ stub RpcServerTestCancel
...
...
include/rpcdce.h
View file @
6141cc80
...
...
@@ -453,6 +453,11 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
unsigned
int
Flags
,
unsigned
int
MaxCalls
,
unsigned
int
MaxRpcSize
,
RPC_IF_CALLBACK_FN
*
IfCallbackFn
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerRegisterIf3
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
RPC_MGR_EPV
*
MgrEpv
,
unsigned
int
Flags
,
unsigned
int
MaxCalls
,
unsigned
int
MaxRpcSize
,
RPC_IF_CALLBACK_FN
*
IfCallbackFn
,
void
*
SecurityDescriptor
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
RpcServerUnregisterIf
(
RPC_IF_HANDLE
IfSpec
,
UUID
*
MgrTypeUuid
,
unsigned
int
WaitForCallsToComplete
);
RPCRTAPI
RPC_STATUS
RPC_ENTRY
...
...
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