Applies to: desktop apps only
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 WINAPI CryptUninstallDefaultContext(
__in HCRYPTDEFAULTCONTEXT hDefaultContext,
__in DWORD dwFlags,
__in 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 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
|
Minimum supported client
| Windows 2000 Professional |
|
Minimum supported server
| Windows 2000 Server |
|
Header
|
- Wincrypt.h
|
|
Library
|
- Crypt32.lib
|
|
DLL
|
- Crypt32.dll
|
Send comments about this topic to Microsoft
Build date: 3/6/2012