Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

BOOL WINAPI CryptFreeOIDFunctionAddress ( HCRYPTOIDFUNCADDR  hFuncAddr,
DWORD  dwFlags 
)

Definition at line 420 of file oid.c.

Referenced by CertVerifyCertificateChainPolicy(), CertVerifyRevocation(), CRYPT_ExportEncryptedKey(), CRYPT_GenKey(), CRYPT_ImportEncryptedKey(), CRYPT_ProvOpenStore(), CryptDecodeObject(), CryptDecodeObjectEx(), CryptEncodeObject(), CryptEncodeObjectEx(), CryptExportPublicKeyInfoEx(), CryptFormatObject(), CryptGetDefaultOIDFunctionAddress(), CryptGetObjectUrl(), CryptImportPublicKeyInfoEx(), and CryptRetrieveObjectByUrlW().

00422 {
00423     TRACE("(%p, %08x)\n", hFuncAddr, dwFlags);
00424 
00425     /* FIXME: as MSDN states, need to check for DllCanUnloadNow in the DLL,
00426      * and only unload it if it can be unloaded.  Also need to implement ref
00427      * counting on the functions.
00428      */
00429     if (hFuncAddr)
00430     {
00431         struct FuncAddr *addr = hFuncAddr;
00432 
00433         CryptMemFree(addr->dllList);
00434         FreeLibrary(addr->lib);
00435         CryptMemFree(addr);
00436     }
00437     return TRUE;
00438 }


Generated on Fri Feb 10 05:27:54 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.