DrtCreateNullSecurityProvider function (drt.h)

The DrtCreateNullSecurityProvider function creates a null security provider. This security provider does not require nodes to authenticate keys.

Syntax

HRESULT DrtCreateNullSecurityProvider(
  [out] DRT_SECURITY_PROVIDER **ppSecurityProvider
);

Parameters

[out] ppSecurityProvider

Pointer to the DRT_SETTINGS structure.

Return value

This function returns S_OK on success. Other possible values include:

Return code Description
E_OUTOFMEMORY
The system cannot allocate memory for the provider.
DRT_E_INVALID_ARG
ppDrtSecurityProvider is NULL.

Requirements

Requirement Value
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header drt.h
Library Drtprov.lib
DLL Drt.dll

See also

DRT_SECURITY_PROVIDER

DrtDeleteNullSecurityProvider