Platform SDK: Files and I/O

WIN32_STREAM_ID

The WIN32_STREAM_ID structure contains stream data.

typedef struct _WIN32_STREAM_ID { 
  DWORD         dwStreamId; 
  DWORD         dwStreamAttributes; 
  LARGE_INTEGER Size; 
  DWORD         dwStreamNameSize; 
  WCHAR         cStreamName[ANYSIZE_ARRAY]; 
} WIN32_STREAM_ID, *LPWIN32_STREAM_ID;

Members

dwStreamId
Specifies the type of data. This member can be one of the following values.
Value Meaning
BACKUP_DATA Standard data
BACKUP_EA_DATA Extended attribute data
BACKUP_SECURITY_DATA Security descriptor data
BACKUP_ALTERNATE_DATA Alternative data streams
BACKUP_LINK Hard link information
BACKUP_PROPERTY_DATA Property data
BACKUP_OBJECT_ID Objects identifiers
BACKUP_REPARSE_DATA Reparse points
BACKUP_SPARSE_BLOCK Sparse file.

dwStreamAttributes
Specifies the attributes of data to facilitate cross-operating system transfer. This member can be one or more of the following values.
Value Description
STREAM_MODIFIED_WHEN_READ Attribute set if the stream contains data that is modified when read. Allows the backup application to know that verification of data will fail.
STREAM_CONTAINS_SECURITY Stream contains security data (general attributes). Allows the stream to be ignored on cross-operations restore.

Size
Specifies the size, in bytes, of data.
dwStreamNameSize
Specifies the length of the name of the alternative data stream.
cStreamName
Specifies the name of the alternative data stream, in Unicode.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Header: Declared in Winbase.h; include Windows.h.

See Also

Tape Backup Overview, Tape Backup Structures, BackupRead, BackupSeek, BackupWrite