StreamID

struct StreamID {

DWORD Type;

DWORD Attribute;

DWORD Size;

DWORD HighSize;

DWORD NameLength ;

CHAR Name[ ] ;

}

Members

Type

Type of data. This member may have one of the following values:

Value Meaning

DATA Standard data
EA Extended attribute data
SECURITY NT security descriptor data
ALTERNATE_DATA Alternate data streams

Attribute

Attributes of data to facilitate cross-OS transfer. This member may be some combination of the following values:

Value Meaning

STREAM_MODIFIED_WHEN_READ Attribute set if stream contains data which is modified when read. Allows the backup application to know that verification of data will fail.
STREAM_CONTAINS_SECURITY General attribute that stream contains security data. Allows stream to be ignored on cross OS restores.

Size

Size in bytes of data

HighSize

Optional high order 32 bits of size, needed to support large files.

NameLength

Length of alternate data stream name

Name

Stream name of alternate data in Unicode

See Also

BackupRead BackupWrite