include: Add some flags related to BCryptGenRandom in bcrypt.h

Bruno Jesus 00cpxxx at gmail.com
Sun Feb 2 20:08:33 CST 2014


-------------- next part --------------
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 */


More information about the wine-patches mailing list