Vcl.ExtActns.TSendMail.FreeAttachmentDataTable
Delphi
procedure FreeAttachmentDataTable(var DataTable: PMapiFileDesc); virtual;
C++
virtual void __fastcall FreeAttachmentDataTable(Winapi::Mapi::PMapiFileDesc &DataTable);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TSendMail |
Description
Frees an array of MAPI attachments.
Call FreeAttachmentDataTable to free the memory for each array you use to store data for MAPI attachments. It frees the memory for all the fields in each structure and the memory for the whole array.
A MAPI attachment is a MAPI-specific data structure that contains information about a file attached to the mail message.
To obtain an array of MAPI attachments, call GetAttachmentDataTable.