From 129c8dc9f796066264ee806883434f36e8113c86 Mon Sep 17 00:00:00 2001 From: Warren Turkal Date: Tue, 28 May 2002 22:39:49 +0000 Subject: [PATCH] Added structures and some constants for stream handling. --- include/winbase.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/winbase.h b/include/winbase.h index abf5ac6f59c..3b44bc30b85 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1913,6 +1913,26 @@ 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 */ +#define BACKUP_INVALID 0 +#define BACKUP_DATA 1 +#define BACKUP_EA_DATA 2 +#define BACKUP_SECURITY_DATA 3 +#define BACKUP_ALTERNATE_DATA 4 +#define BACKUP_LINK 5 +#define BACKUP_PROPERTY_DATA 6 +#define BACKUP_OBJECT_ID 7 +#define BACKUP_REPARSE_DATA 8 +#define BACKUP_SPARSE_BLOCK 9 + +typedef struct _WIN32_STREAM_ID { + DWORD dwStreamID; + DWORD dwStreamAttributes; + LARGE_INTEGER Size; + DWORD dwStreamNameSize; + WCHAR cStreamName[ANYSIZE_ARRAY]; +} WIN32_STREAM_ID, *LPWIN32_STREAM_ID; + #ifdef __cplusplus } #endif