FilterSetAttachmentClass()

Filters items according to the contents of the Attach list box.

Token ID

AFTKN_FILTER_SET_ATTACH_CLASS or 724

Syntax

VOID FilterSetAttachmentClass(ENUM FilterHandleType; 
                              ENUM AttachmentClassType;
                              ENUM BitOn)

Parameters

FilterHandleType As ENUM

Unique filter identifier, returned by FilterCreate():

  • 315 Default
AttachmentClassType As ENUM

Attachment type to filter, or not filter, depending on the BitOn parameter setting. Use multiple commands to filter more than one attachment type. Attachment class types include:

114

AttachClassFile

115

AttachClassMessage

116

AttachClassMovie

645

AttachClassOLE

117

AttachClassSound

BitOn As ENUM

Specifies how to filter the item type, as follows:

147

DontCare

0

No

Filters out the specified item type.

1

Yes

Passes the specified item type through the filter, but no others.