mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
Fix the case of RpcNetworkIsProtseqValid[AW] (was
RpcNetworkIsProtSeqValid[AW]) names.
This commit is contained in:
parent
5307b3f598
commit
2493529750
|
@ -1021,22 +1021,22 @@ RPC_STATUS WINAPI I_RpcBindingSetAsync( RPC_BINDING_HANDLE Binding, RPC_BLOCKING
|
|||
}
|
||||
|
||||
/***********************************************************************
|
||||
* RpcNetworkIsProtSeqValidA (RPCRT4.@)
|
||||
* RpcNetworkIsProtseqValidA (RPCRT4.@)
|
||||
*/
|
||||
RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidA(unsigned char *protseq) {
|
||||
RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA(unsigned char *protseq) {
|
||||
UNICODE_STRING protseqW;
|
||||
|
||||
if (!protseq) return RPC_S_INVALID_RPC_PROTSEQ; /* ? */
|
||||
|
||||
if (RtlCreateUnicodeStringFromAsciiz(&protseqW, protseq)) {
|
||||
RPC_STATUS ret = RpcNetworkIsProtSeqValidW(protseqW.Buffer);
|
||||
RPC_STATUS ret = RpcNetworkIsProtseqValidW(protseqW.Buffer);
|
||||
RtlFreeUnicodeString(&protseqW);
|
||||
return ret;
|
||||
} else return RPC_S_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* RpcNetworkIsProtSeqValidW (RPCRT4.@)
|
||||
* RpcNetworkIsProtseqValidW (RPCRT4.@)
|
||||
*
|
||||
* 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.
|
||||
|
@ -1045,7 +1045,7 @@ RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidA(unsigned char *protseq) {
|
|||
* ncalrpc local-only rpc over LPC (LPC is not really used)
|
||||
* ncacn_np rpc over named pipes
|
||||
*/
|
||||
RPC_STATUS RPC_ENTRY RpcNetworkIsProtSeqValidW(LPWSTR protseq) {
|
||||
RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidW(LPWSTR protseq) {
|
||||
static const WCHAR protseqsW[][15] = {
|
||||
{'n','c','a','l','r','p','c',0},
|
||||
{'n','c','a','c','n','_','n','p',0}
|
||||
|
|
|
@ -100,8 +100,8 @@
|
|||
@ stdcall RpcMgmtWaitServerListen()
|
||||
@ stub RpcNetworkInqProtseqsA
|
||||
@ stub RpcNetworkInqProtseqsW
|
||||
@ stub RpcNetworkIsProtseqValidA
|
||||
@ stub RpcNetworkIsProtseqValidW
|
||||
@ stdcall RpcNetworkIsProtseqValidA(ptr)
|
||||
@ stdcall RpcNetworkIsProtseqValidW(ptr)
|
||||
@ stub RpcNsBindingInqEntryNameA
|
||||
@ stub RpcNsBindingInqEntryNameW
|
||||
@ stub RpcObjectInqType
|
||||
|
|
|
@ -238,10 +238,10 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
|
|||
#define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
|
||||
|
||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||
RpcNetworkIsProtSeqValidA( unsigned char *protseq );
|
||||
RpcNetworkIsProtseqValidA( unsigned char *protseq );
|
||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||
RpcNetworkIsProtSeqValidW( LPWSTR protseq );
|
||||
#define RpcNetworkIsProtSeqValid WINELIB_NAME_AW(RpcNetworkIsProtSeqValid)
|
||||
RpcNetworkIsProtseqValidW( LPWSTR protseq );
|
||||
#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid)
|
||||
|
||||
RPCRTAPI RPC_STATUS RPC_ENTRY
|
||||
RpcStringFreeA(unsigned char** String);
|
||||
|
|
Loading…
Reference in a new issue