Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function frees a handle returned by the CryptGetOIDFunctionAddressor CryptGetDefaultOIDFunctionAddressfunction 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.

Syntax

BOOL WINAPI CryptFreeOIDFunctionAddress(
  HCRYPTOIDFUNCADDR 
hFuncAddr,
  DWORD 
dwFlags
);

Parameters

hFuncAddr

[in] Handle to the function previously obtained from a call to the CryptGetOIDFunctionAddressor CryptGetDefaultOIDFunctionAddressfunction.

dwFlags

[in] Reserved for future use and must be set to zero.

Return Value

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

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

Requirements

Header wincrypt.h
Library crypt32.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also