Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CryptUninstallDefaultContext function

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 XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

Library

Crypt32.lib

DLL

Crypt32.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft