AddAssociatedFileFromString
Associated files, attachments, memory input
תיאור
Embeds the binary bytes in Source and registers one reusable document-level associated file
תחביר
Delphi
Function AddAssociatedFileFromString(Const Source: AnsiString; Const DisplayName, MIMEType, Description, Relationship: WideString): Integer;DLL
int DLAddAssociatedFileFromString(int InstanceID, const char* Source, int SourceLength, const wchar_t* DisplayName, const wchar_t* MIMEType, const wchar_t* Description, const wchar_t* Relationship)ערך מוחזר
Returns a nonzero embedded-file handle on success or 0 on failure
הערות
פרמטר אורך ה-DLL שומר על בייטי אפס וחייב להיות גדול מאפס Use
AddAssociatedFileFromVariant for ActiveX byte arrays