Redigera

Dela via


SslIncrementProviderReferenceCount function

The SslIncrementProviderReferenceCount function increments the reference count to a Secure Sockets Layer protocol (SSL) provider instance.

Syntax

SECURITY_STATUS WINAPI SslIncrementProviderReferenceCount(
  _In_ NCRYPT_PROV_HANDLE hSslProvider
);

Parameters

hSslProvider [in]

The handle to the SSL protocol provider instance.

Return value

If the function succeeds, it returns zero.

If the function fails, it returns a nonzero error value.

Possible return codes include, but are not limited to, the following.

Return code/value Description
NTE_INVALID_HANDLE
0x80090026L
The hSslProvider handle is not valid.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Sslprovider.h
DLL
Ncrypt.dll