diff options
Diffstat (limited to 'crypto/capi_util.h')
-rw-r--r-- | crypto/capi_util.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/crypto/capi_util.h b/crypto/capi_util.h index faaf012..b61c268 100644 --- a/crypto/capi_util.h +++ b/crypto/capi_util.h @@ -9,6 +9,8 @@ #include <windows.h> #include <wincrypt.h> +#include "crypto/crypto_api.h" + namespace crypto { // CryptAcquireContext when passed CRYPT_NEWKEYSET or CRYPT_DELETEKEYSET in @@ -21,11 +23,11 @@ namespace crypto { // "The CryptAcquireContext function is generally thread safe unless // CRYPT_NEWKEYSET or CRYPT_DELETEKEYSET is specified in the dwFlags // parameter." -BOOL CryptAcquireContextLocked(HCRYPTPROV* prov, - LPCWSTR container, - LPCWSTR provider, - DWORD prov_type, - DWORD flags); +CRYPTO_API BOOL CryptAcquireContextLocked(HCRYPTPROV* prov, + LPCWSTR container, + LPCWSTR provider, + DWORD prov_type, + DWORD flags); } // namespace crypto |