From 37fb021a5ac8678768ac3c9adf522fd90b4be6f1 Mon Sep 17 00:00:00 2001
From: Warren Turkal <wturkal@cbu.edu>
Date: Tue, 4 Jun 2002 00:51:05 +0000
Subject: [PATCH] More stream definitions.

---
 include/winbase.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/include/winbase.h b/include/winbase.h
index 8de1617f793..67cc2cfc7ca 100644
--- a/include/winbase.h
+++ b/include/winbase.h
@@ -1919,7 +1919,8 @@ static inline PVOID WINAPI InterlockedExchangePointer( PVOID *dest, PVOID val )
 /* If this is not declared, we cannot compile many sources written with C++. */
 int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
 
-/* Streams */
+/* Stream data structures and defines */
+/*the types of backup data -- WIN32_STREAM_ID.dwStreamID below*/
 #define BACKUP_INVALID        0
 #define BACKUP_DATA           1
 #define BACKUP_EA_DATA        2
@@ -1931,6 +1932,13 @@ int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int);
 #define BACKUP_REPARSE_DATA   8
 #define BACKUP_SPARSE_BLOCK   9
 
+/*flags for WIN32_STREAM_ID.dwStreamAttributes below*/
+#define STREAM_NORMAL_ATTRIBUTE    0
+#define STREAM_MODIFIED_WHEN_READ  1
+#define STREAM_CONTAINS_SECURITY   2
+#define STREAM_CONTAINS_PROPERTIES 4
+#define STREAM_SPARSE_ATTRIBUTE    8
+
 typedef struct _WIN32_STREAM_ID {
 	DWORD   dwStreamID;
 	DWORD   dwStreamAttributes;
-- 
GitLab