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

RpcMgmtInqDefaultProtectLevel function

The RpcMgmtInqDefaultProtectLevel function returns the default authentication level for an authentication service.

Syntax


RPC_STATUS RPC_ENTRY RpcMgmtInqDefaultProtectLevel(
  unsigned int AuthnSvc,
  unsigned int *AuthnLevel
);

Parameters

AuthnSvc

Authentication service for which to return the default authentication level. Valid values are the constant for any valid security provider.

AuthnLevel

Returns the default authentication level for the specified authentication service. The authentication level determines the degree to which authenticated communications between the client and server are protected. For more information, see Authentication Level Constants.

Return value

ValueMeaning
RPC_S_OK

The call succeeded.

RPC_S_UNKNOWN_AUTH_SERVICE

Unknown authentication service.

 

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

Remarks

An application calls the RpcMgmtInqDefaultProtectLevel function to obtain the default authentication level for a specified authentication service.

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

See also

RpcMgmtInqComTimeout
RpcMgmtInqIfIds

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.