From 410e4a8ac5feb752f7393c7731ee39f554e0a069 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Mon, 15 May 2023 10:49:33 -0500 Subject: [PATCH] bugfix: windows build --- shared/include/small_windows.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/include/small_windows.h b/shared/include/small_windows.h index 93cc4bba..052e6b1b 100644 --- a/shared/include/small_windows.h +++ b/shared/include/small_windows.h @@ -445,21 +445,21 @@ GB_DLL_IMPORT short WINAPI ntohs(short netshort); GB_DLL_IMPORT int WINAPI ntohl(int netint); -GB_DLL_IMPORT NTSTATUS BCryptGenRandom( +GB_DLL_IMPORT int BCryptGenRandom( BCRYPT_ALG_HANDLE hAlgorithm, unsigned char * pbBuffer, unsigned long cbBuffer, unsigned long wFlags ); -GB_DLL_IMPORT NTSTATUS BCryptOpenAlgorithmProvider( +GB_DLL_IMPORT int BCryptOpenAlgorithmProvider( BCRYPT_ALG_HANDLE *phAlgorithm, const wchar_t * pszAlgId, const wchar_t * pszImplementation, unsigned long dwFlags ); -GB_DLL_IMPORT NTSTATUS BCryptCloseAlgorithmProvider( +GB_DLL_IMPORT int BCryptCloseAlgorithmProvider( BCRYPT_ALG_HANDLE hAlgorithm, unsigned long dwFlags ); -- 2.25.1