mirror of https://github.com/FreeRDP/FreeRDP
Added missing WINPR_API
This commit is contained in:
parent
4734c61c8c
commit
08035be41b
|
@ -89,9 +89,9 @@ extern "C"
|
|||
DWORD* PublicKeyLength);
|
||||
|
||||
#define TSSK_KEY_LENGTH 64
|
||||
extern const BYTE tssk_modulus[];
|
||||
extern const BYTE tssk_privateExponent[];
|
||||
extern const BYTE tssk_exponent[];
|
||||
WINPR_API extern const BYTE tssk_modulus[];
|
||||
WINPR_API extern const BYTE tssk_privateExponent[];
|
||||
WINPR_API extern const BYTE tssk_exponent[];
|
||||
|
||||
FREERDP_API SSIZE_T crypto_rsa_public_encrypt(const BYTE* input, size_t length,
|
||||
size_t key_length, const BYTE* modulus,
|
||||
|
|
|
@ -482,7 +482,7 @@ typedef const CERT_CONTEXT* PCCERT_CONTEXT;
|
|||
#define CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE \
|
||||
(CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID << CERT_SYSTEM_STORE_LOCATION_SHIFT)
|
||||
|
||||
HCERTSTORE CertOpenStore(LPCSTR lpszStoreProvider, DWORD dwMsgAndCertEncodingType,
|
||||
WINPR_API HCERTSTORE CertOpenStore(LPCSTR lpszStoreProvider, DWORD dwMsgAndCertEncodingType,
|
||||
HCRYPTPROV_LEGACY hCryptProv, DWORD dwFlags, const void* pvPara);
|
||||
|
||||
WINPR_API HCERTSTORE CertOpenSystemStoreW(HCRYPTPROV_LEGACY hProv, LPCWSTR szSubsystemProtocol);
|
||||
|
@ -607,15 +607,17 @@ extern "C"
|
|||
#define CRYPT_STRING_NOCRLF 0x40000000
|
||||
#define CRYPT_STRING_NOCR 0x80000000
|
||||
|
||||
BOOL CryptStringToBinaryW(LPCWSTR pszString, DWORD cchString, DWORD dwFlags, BYTE* pbBinary,
|
||||
DWORD* pcbBinary, DWORD* pdwSkip, DWORD* pdwFlags);
|
||||
BOOL CryptStringToBinaryA(LPCSTR pszString, DWORD cchString, DWORD dwFlags, BYTE* pbBinary,
|
||||
DWORD* pcbBinary, DWORD* pdwSkip, DWORD* pdwFlags);
|
||||
WINPR_API BOOL CryptStringToBinaryW(LPCWSTR pszString, DWORD cchString, DWORD dwFlags,
|
||||
BYTE* pbBinary, DWORD* pcbBinary, DWORD* pdwSkip,
|
||||
DWORD* pdwFlags);
|
||||
WINPR_API BOOL CryptStringToBinaryA(LPCSTR pszString, DWORD cchString, DWORD dwFlags,
|
||||
BYTE* pbBinary, DWORD* pcbBinary, DWORD* pdwSkip,
|
||||
DWORD* pdwFlags);
|
||||
|
||||
BOOL CryptBinaryToStringW(CONST BYTE* pbBinary, DWORD cbBinary, DWORD dwFlags, LPWSTR pszString,
|
||||
DWORD* pcchString);
|
||||
BOOL CryptBinaryToStringA(CONST BYTE* pbBinary, DWORD cbBinary, DWORD dwFlags, LPSTR pszString,
|
||||
DWORD* pcchString);
|
||||
WINPR_API BOOL CryptBinaryToStringW(CONST BYTE* pbBinary, DWORD cbBinary, DWORD dwFlags,
|
||||
LPWSTR pszString, DWORD* pcchString);
|
||||
WINPR_API BOOL CryptBinaryToStringA(CONST BYTE* pbBinary, DWORD cbBinary, DWORD dwFlags,
|
||||
LPSTR pszString, DWORD* pcchString);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define CryptStringToBinary CryptStringToBinaryW
|
||||
|
|
|
@ -619,9 +619,9 @@ extern "C"
|
|||
{
|
||||
#endif
|
||||
|
||||
extern const SCARD_IO_REQUEST g_rgSCardT0Pci;
|
||||
extern const SCARD_IO_REQUEST g_rgSCardT1Pci;
|
||||
extern const SCARD_IO_REQUEST g_rgSCardRawPci;
|
||||
WINPR_API extern const SCARD_IO_REQUEST g_rgSCardT0Pci;
|
||||
WINPR_API extern const SCARD_IO_REQUEST g_rgSCardT1Pci;
|
||||
WINPR_API extern const SCARD_IO_REQUEST g_rgSCardRawPci;
|
||||
|
||||
#define SCARD_PCI_T0 (&g_rgSCardT0Pci)
|
||||
#define SCARD_PCI_T1 (&g_rgSCardT1Pci)
|
||||
|
|
Loading…
Reference in New Issue