CryptUninstallDefaultContext function (wincrypt.h)

Important  This API is deprecated. New and existing software should start using Cryptography Next Generation APIs. Microsoft may remove this API in future releases.
 
The CryptUninstallDefaultContext function removes a default context previously installed by CryptInstallDefaultContext. This function will block until any threads currently using this context finish, if the default context was installed with CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG set.

Syntax

BOOL CryptUninstallDefaultContext(
  [in] HCRYPTDEFAULTCONTEXT hDefaultContext,
  [in] DWORD                dwFlags,
  [in] void                 *pvReserved
);

Parameters

[in] hDefaultContext

Handle of the context to be released.

[in] dwFlags

Reserved for future use.

[in] pvReserved

Reserved for future use.

Return value

If the function succeeds, the return value is nonzero (TRUE) .If the function fails, the return value is zero (FALSE). For extended error information, call GetLastError.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wincrypt.h
Library Crypt32.lib
DLL Crypt32.dll