diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec index add61b72601..6acdde352a5 100644 --- a/dlls/wintrust/wintrust.spec +++ b/dlls/wintrust/wintrust.spec @@ -2,7 +2,7 @@ @ stub CryptCATAdminCalcHashFromFileHandle @ stub CryptCATAdminEnumCatalogFromHash @ stub CryptCATAdminPauseServiceForBackup -@ stub CryptCATAdminReleaseContext +@ stdcall CryptCATAdminReleaseContext(long long) @ stub CryptCATAdminReleaseCatalogContext @ stub CryptCATAdminRemoveCatalog @ stub CryptCATAdminResolveCatalogPath diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c index c2ca1b4621c..9b7eb355a5a 100644 --- a/dlls/wintrust/wintrust_main.c +++ b/dlls/wintrust/wintrust_main.c @@ -42,6 +42,16 @@ BOOL WINAPI CryptCATAdminAcquireContext(HCATADMIN* catAdmin, return FALSE; } +/*********************************************************************** + * CryptCATAdminReleaseContext (WINTRUST.@) + */ +BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN hCatAdmin, DWORD dwFlags ) +{ + FIXME("%p %lx\n", hCatAdmin, dwFlags); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + /*********************************************************************** * WinVerifyTrust (WINTRUST.@) */