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

static BOOL CRYPT_GetFuncFromDll ( LPCWSTR  dll,
LPCSTR  func,
HMODULE lib,
void **  ppvFuncAddr 
) [static]

Definition at line 440 of file oid.c.

Referenced by CryptGetDefaultOIDFunctionAddress().

00442 {
00443     BOOL ret = FALSE;
00444 
00445     *lib = LoadLibraryW(dll);
00446     if (*lib)
00447     {
00448         *ppvFuncAddr = GetProcAddress(*lib, func);
00449         if (*ppvFuncAddr)
00450             ret = TRUE;
00451         else
00452         {
00453             FreeLibrary(*lib);
00454             *lib = NULL;
00455         }
00456     }
00457     return ret;
00458 }


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.