Maarten Lankhorst <maarten(a)codeweavers.com> writes:
> + wintrust = LoadLibraryW(wintrust_dll);
> + pCryptCATAdminAcquireContext = (void *)GetProcAddress(wintrust, "CryptCATAdminAcquireContext");
> + pCryptCATAdminAddCatalog = (void *)GetProcAddress(wintrust, "CryptCATAdminAddCatalog");
> + pCryptCATAdminReleaseCatalogContext = (void *)GetProcAddress(wintrust, "CryptCATAdminReleaseCatalogContext");
> + pCryptCATAdminReleaseContext = (void *)GetProcAddress(wintrust, "CryptCATAdminReleaseContext");
> + FreeLibrary(wintrust);
I doubt that calling functions in an unloaded library is going to give
good results...
--
Alexandre Julliard
julliard(a)winehq.org