Share via


CryptUninstallDefaultContext

This function removes a default context previously installed by the CryptInstallDefaultContext function. If the default context was installed with CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG set, this function will block until any threads currently using this context finish.

BOOL WINAPI CryptUninstallDefaultContext(
HCRYPTDEFAULTCONTEXT hDefaultContext,
DWORD dwFlags,
void *pvReserved 
);

Parameters

  • hDefaultContext
    [in] Handle of the context to be released.
  • dwFlags
    [in] Reserved for future use.
  • pvReserved
    [in] Reserved for future use.

Return Values

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 the GetLastError function.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h   Crypt32.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CryptInstallDefaultContext

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.