Vcl.ExtActns.TSendMail.FreeAttachmentData
Delphi
procedure FreeAttachmentData(var AttachData: TMapiFileDesc); virtual;
C++
virtual void __fastcall FreeAttachmentData(MapiFileDesc &AttachData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TSendMail |
Description
Frees the allocated memory for the fields inside a MAPI attachment structure.
Call FreeAttachmentData to free the memory for the fields of AttachData. AttachData is a MAPI-specific structure that contains information about an attached file.
To obtain a MAPI structure containing attachment data, call GetAttachmentData.