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
7a513d27
Commit
7a513d27
authored
Jan 26, 2004
by
Gregory M. Turner
Committed by
Alexandre Julliard
Jan 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wine also supports the ncacn_np protocol sequence.
parent
516b50f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
rpc_binding.c
dlls/rpcrt4/rpc_binding.c
+13
-3
No files found.
dlls/rpcrt4/rpc_binding.c
View file @
7a513d27
...
...
@@ -1038,13 +1038,23 @@ RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidA(unsigned char *protseq) {
* Checks if the given protocol sequence is known by the RPC system.
* If it is, returns RPC_S_OK, otherwise RPC_S_PROTSEQ_NOT_SUPPORTED.
*
* We currently only support ncalrpc.
* We currently support:
* ncalrpc local-only rpc over LPC (LPC is not really used)
* ncacn_np rpc over named pipes
*/
RPC_STATUS
RPC_ENTRY
RpcNetworkIsProtSeqValidW
(
LPWSTR
protseq
)
{
static
const
WCHAR
ncalrpcW
[]
=
{
'n'
,
'c'
,
'a'
,
'l'
,
'r'
,
'p'
,
'c'
,
0
};
static
const
WCHAR
protseqsW
[][
15
]
=
{
{
'n'
,
'c'
,
'a'
,
'l'
,
'r'
,
'p'
,
'c'
,
0
},
{
'n'
,
'c'
,
'a'
,
'c'
,
'n'
,
'_'
,
'n'
,
'p'
,
0
}
};
static
const
int
count
=
sizeof
(
protseqsW
)
/
sizeof
(
protseqsW
[
0
]);
int
i
;
if
(
!
protseq
)
return
RPC_S_INVALID_RPC_PROTSEQ
;
/* ? */
if
(
!
strcmpW
(
protseq
,
ncalrpcW
))
return
RPC_S_OK
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
if
(
!
strcmpW
(
protseq
,
protseqsW
[
i
]))
return
RPC_S_OK
;
}
FIXME
(
"Unknown protseq %s - we probably need to implement it one day"
,
debugstr_w
(
protseq
));
return
RPC_S_PROTSEQ_NOT_SUPPORTED
;
...
...
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