DrtCreateNullSecurityProvider function

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

Syntax


 WINAPI DrtCreateNullSecurityProvider(
  _Out_ DRT_SECURITY_PROVIDER **ppSecurityProvider
);

Parameters

ppSecurityProvider [out]

Pointer to the DRT_SECURITY_PROVIDER module to be included in the DRT_SETTINGS structure.

Return value

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

Return codeDescription
E_OUTOFMEMORY

The system cannot allocate memory for the provider.

DRT_E_INVALID_ARG

ppDrtSecurityProvider is NULL.

 

Requirements

Minimum supported client

Windows 7 Professional [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Drt.h

Library

Drtprov.lib

DLL

Drt.dll

See also

DrtDeleteNullSecurityProvider
DRT_SECURITY_PROVIDER

 

 

Community Additions

ADD
Show: