Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.