Returns an attachment class. Using X00 will work for the messageID if the item view is showing.
AFTKN_ITEM_ATTACHMENT_CLASS or 670
WORD ItemAttachmentGetClass(ANSISTRING MessageID; WORD Index)
Unique item identifier, returned by ItemMessageIDFromView().