RpcMgmtInqDefaultProtectLevel function (rpcdce.h)

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

Syntax

RPC_STATUS RpcMgmtInqDefaultProtectLevel(
  unsigned long AuthnSvc,
  unsigned long *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

Value Meaning
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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header rpcdce.h (include Rpc.h)
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

RpcMgmtInqComTimeout

RpcMgmtInqIfIds