From 26a47d32a3a93c1072d4ead7ade7bf669a082292 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Tue, 15 Aug 2017 09:19:59 -0600 Subject: [PATCH] include: Add CryptProtectMemory and CryptUnprotectMemory. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- include/wincrypt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wincrypt.h b/include/wincrypt.h index abbe99f245c..83db6730877 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -4428,6 +4428,9 @@ BOOL WINAPI CryptUnprotectData( DATA_BLOB* pDataIn, LPWSTR* ppszDataDescr, DATA_BLOB* pOptionalEntropy, PVOID pvReserved, CRYPTPROTECT_PROMPTSTRUCT* pPromptStruct, DWORD dwFlags, DATA_BLOB* pDataOut ); +BOOL WINAPI CryptProtectMemory(void *pData, DWORD cbData, DWORD dwFlags); +BOOL WINAPI CryptUnprotectMemory(void *pData, DWORD cbData, DWORD dwFlags); + DWORD WINAPI CertGetNameStringA(PCCERT_CONTEXT pCertContext, DWORD dwType, DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString); DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType, -- 2.11.4.GIT