AddAssociatedFileFromStream

Associated files, attachments, streams

תיאור

Creates one embedded-file stream from Source and registers its file specification in both the embedded-file name tree and catalog associated-file array

תחביר

Function AddAssociatedFileFromStream(Source: TStream; Const DisplayName, MIMEType, Description, Relationship: WideString): Integer;

ערך מוחזר

Returns a nonzero embedded-file handle on success or 0 on failure

הערות

ה-stream המלא נקרא מהיסט אפס, המיקום המקורי משוחזר, ופרמטרי ההקשר כוללים גודל, checksum וחותמות זמן; ה-stream חייב להיות לא ריק ולא גדול מ

MaxInt

ראה גם

AddAssociatedFileFromFile, AddAssociatedFileFromString