ATTACHMENT_ACTION enumeration (shobjidl_core.h)

Provides a set of flags to be used with IAttachmentExecute::Prompt to indicate the action to be performed upon user confirmation.

Syntax

typedef enum ATTACHMENT_ACTION {
  ATTACHMENT_ACTION_CANCEL = 0,
  ATTACHMENT_ACTION_SAVE = 0x1,
  ATTACHMENT_ACTION_EXEC = 0x2
} ;

Constants

 
ATTACHMENT_ACTION_CANCEL
Value: 0
Cancel
ATTACHMENT_ACTION_SAVE
Value: 0x1
Save
ATTACHMENT_ACTION_EXEC
Value: 0x2
Execute

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)