Partager via


CryptFreeOIDFunctionAddress

This function releases a handle returned by the CryptGetOIDFunctionAddress or CryptGetDefaultOIDFunctionAddress function by decrementing the reference count on the function handle. In some cases, the DLL file associated with the function is unloaded. For more information, see the Remarks section.

BOOL WINAPI CryptFreeOIDFunctionAddress(
  HCRYPTOIDFUNCADDR hFuncAddr,
  DWORD dwFlags
);

Parameters

  • hFuncAddr
    [in] Handle to the function previously obtained from a call to the CryptGetOIDFunctionAddress or CryptGetDefaultOIDFunctionAddress function.
  • dwFlags
    [in] Reserved for future use and must be set to zero.

Return Values

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

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

Requirements

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

See Also

CryptGetDefaultOIDFunctionAddress | CryptGetOIDFunctionAddress | DllCanUnloadNow

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.