Struct AddAttachmentInfo#

Struct Documentation#

struct AddAttachmentInfo#

This struct describes an attachment to be added to a CZI-file.

Public Functions

inline void SetContentFileType(const char *sz)#

Sets content file type. Note that the ‘content file type’ is a fixed-length string (of length 8), longer strings will be truncated.

Parameters:

sz – The ‘content file type’-string.

inline void SetName(const char *sz)#

Sets ‘name’ of the attachment. Note that the ‘content file type’ is a fixed-length string (of length 80), longer strings will be truncated.

Parameters:

sz – The ‘name’-string.

inline void Clear()#

Clears this structure to its blank/initial state.

Public Members

GUID contentGuid#

Unique identifier for the content.

std::uint8_t contentFileType[8]#

The content file type.

std::uint8_t name[80]#

The attachment’s name.

const void *ptrData#

Pointer to the attachment data.

std::uint32_t dataSize#

Size of the attachment data (in bytes).