[PATCH 2/3] include: Add CryptProtectMemory and CryptUnprotectMemory.

Michael Stefaniuc mstefani at winehq.org
Tue Aug 15 10:08:47 CDT 2017


On 08/15/2017 05:00 PM, Alex Henrie wrote:
> Needed for PuTTY to compile with Winelib.
> 
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>  include/wincrypt.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/wincrypt.h b/include/wincrypt.h
> index abbe99f245..058798c4f4 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 CryptUnrotectMemory(void *pData, DWORD cbData, DWORD dwFlags);
Isn't that missing a p^ ?

bye
	michael

> +
>  DWORD WINAPI CertGetNameStringA(PCCERT_CONTEXT pCertContext, DWORD dwType,
>   DWORD dwFlags, void *pvTypePara, LPSTR pszNameString, DWORD cchNameString);
>  DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext, DWORD dwType,
> 




More information about the wine-devel mailing list