[1/3] include: Add some flags related to BCryptGenRandom in bcrypt.h (resend)

Bruno Jesus 00cpxxx at gmail.com
Mon Feb 3 12:24:21 CST 2014


Same as http://source.winehq.org/patches/data/102154
-------------- next part --------------

---
 include/bcrypt.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/bcrypt.h b/include/bcrypt.h
index 43d1f94..601f839 100644
--- a/include/bcrypt.h
+++ b/include/bcrypt.h
@@ -47,4 +47,8 @@ typedef struct _BCRYPT_ALGORITHM_IDENTIFIER
     ULONG  dwFlags;
 } BCRYPT_ALGORITHM_IDENTIFIER;
 
+/* Flags for BCryptGenRandom */
+#define BCRYPT_RNG_USE_ENTROPY_IN_BUFFER 0x00000001
+#define BCRYPT_USE_SYSTEM_PREFERRED_RNG  0x00000002
+
 #endif  /* __WINE_BCRYPT_H */
-- 
1.8.3.2



More information about the wine-patches mailing list