DeleteAttachment Method
Deletes an attachment from an item in the list.
Syntax
int DeleteAttachment(char* lpszItemId, char* lpszFileName);
Remarks
DeleteAttachment permanently removes the attachment specified by FileName from the item specified by ItemId.