ItemAnnotationGetCount()

Returns the number of sound annotations on an item view.

Token ID

AFTKN_ITEM_ANNOTATION_COUNT or 664

Syntax

WORD ItemAnnotationGetCount(ANSISTRING MessageID)

Parameters

MessageID As ANSISTRING

Unique Item identifier, returned by ItemMessageIDFromView.

Return Values

  • WORD. Number of sound annotations.

Remarks

IMPORTANT:This only works in the 32-bit client if the message with Annotation was created and sent by the 16-bit client.