CryptUninstallDefaultContext (Windows CE 5.0)

Send Feedback

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(HCRYPTDEFAULTCONTEXThDefaultContext,DWORDdwFlags,void* pvReserved);

Parameters

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

Return Values

If the function succeeds, the return value is nonzero, or TRUE.

If the function fails, the return value is zero, or FALSE.

For extended error information, call the GetLastError function.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.
Link Library: Crypt32.lib.

See Also

CryptInstallDefaultContext

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.