Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RpcNetworkIsProtseqValid function

The RpcNetworkIsProtseqValid function tells whether the specified protocol sequence is supported by both the RPC run-time library and the operating system. Server applications often use RpcNetworkInqProtseqs.

Syntax


RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValid(
  unsigned char *Protseq
);

Parameters

Protseq

Pointer to a string identifier of the protocol sequence to be checked.

If the Protseq parameter is not a valid protocol sequence string, RpcNetworkIsProtseqValid returns RPC_S_INVALID_RPC_PROTSEQ.

Return value

ValueMeaning
RPC_S_OK

The call succeeded.; protocol sequence supported

RPC_S_PROTSEQ_NOT_SUPPORTED

Protocol sequence not supported on this host.

RPC_S_INVALID_RPC_PROTSEQ

Invalid protocol sequence.

 

Note  For a list of valid error codes, see RPC Return Values.

Remarks

An application calls the RpcNetworkIsProtseqValid function to determine whether an individual protocol sequence is available for making remote procedure calls.

A protocol sequence is valid if both the RPC run-time library and the operating system support the specified protocols. For a list of Microsoft RPC's supported protocol sequences, see String Binding. An application calls RpcNetworkInqProtseqs to see all of the supported protocol sequences.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

Unicode and ANSI names

RpcNetworkIsProtseqValidW (Unicode) and RpcNetworkIsProtseqValidA (ANSI)

See also

RpcNetworkInqProtseqs

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.