Added extern "C".

This commit is contained in:
Warren Baird 2003-10-07 22:52:20 +00:00 committed by Alexandre Julliard
parent c48c16471c
commit 1f5d1beb0d
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,10 @@
#ifndef __WINE_WINCRYPT_H #ifndef __WINE_WINCRYPT_H
#define __WINE_WINCRYPT_H #define __WINE_WINCRYPT_H
#ifdef __cplusplus
extern "C" {
#endif
/* some typedefs for function parameters */ /* some typedefs for function parameters */
typedef unsigned int ALG_ID; typedef unsigned int ALG_ID;
typedef unsigned long HCRYPTPROV; typedef unsigned long HCRYPTPROV;
@ -521,4 +525,8 @@ BOOL WINAPI CryptVerifySignatureA (HCRYPTHASH hHash, BYTE *pbSignature, DWORD dw
CryptVerifySignatureA(hHash, pbSignature, dwSigLen, hPubKey, (LPCSTR)sDescription, dwFlags) CryptVerifySignatureA(hHash, pbSignature, dwSigLen, hPubKey, (LPCSTR)sDescription, dwFlags)
#define CryptVerifySignature WINELIB_NAME_AW(CryptVerifySignature) #define CryptVerifySignature WINELIB_NAME_AW(CryptVerifySignature)
#ifdef __cplusplus
}
#endif
#endif #endif