ItemAccept()

Has been modified from the old ItemAccept token to take the MessageID and AllInstances parameters that allow a one-step completion of the action (with no input required from the user). If neither of these new parameters is specified, the token is internally rerouted to the ItemAcceptOpenItem() token.

Token ID

AFTKN_ITEM_ACCEPT or 917

Syntax

VOID ItemAccept([ANSISTRING Comment];
                [long AcceptLevel;
                [ANSISTRING MessageID];
                [ENUM AllInstances])

Parameters

Comment As ANSISTRING

(Optional) Response to an accepted item.

AcceptLevel As LONG

(Optional) Even though this variable is a LONG, use the following values as you would an enumeration:

  • 160 FREE
  • 190 TENTATIVE
  • 210 BUSY
  • 251 OUT
MessageID As ANSISTRING

(Optional) Unique item identifier.

AllInstances As ENUM

(Optional)

  • Yes Accept all instances of this item
  • No Only accept THIS instance of this item (default)