extract_msg.structures.ole_stream_struct Module
Module contents
- final class extract_msg.structures.ole_stream_struct.OleStreamStruct(data: bytes | None = None)[source]
Bases:
object
The OLEStream structure, as specified in [MS-OLEDS].
Specifically, this is only the version that is used for embedded objects. As such, only some of the fields are ever present.
- Raises:
TypeError – The data given is not for an embedded object.
- property flags: int
The flags for the OLEStream.
The bit with mask
0x00001000
is an implementation-specific hint supplied by the application or by a higher-level protocol that creates the data structure. It MAY be ignored on processing. A server implementation which does not ignore this bit MAY cache the storage when the bit is set.- Raises:
ValueError – The property was set with a bit other than the implementation specific bit set.
- property linkUpdateOption: int
An implementation-specific hint.
This hint MAY be ignored. On Windows, this field contains values from the OLEUPDATE enumeration.
- property reservedMonikerStream: MonikerStream | None
A MonikerStream structure that can contain any arbitrary value.