ATTACHMENT_PROMPT enumeration (shobjidl_core.h)

Provides a set of flags to be used with IAttachmentExecute::Prompt to indicate the type of prompt UI to display.

Syntax

typedef enum ATTACHMENT_PROMPT {
  ATTACHMENT_PROMPT_NONE = 0,
  ATTACHMENT_PROMPT_SAVE = 0x1,
  ATTACHMENT_PROMPT_EXEC = 0x2,
  ATTACHMENT_PROMPT_EXEC_OR_SAVE = 0x3
} ;

Constants

 
ATTACHMENT_PROMPT_NONE
Value: 0
Do not use.
ATTACHMENT_PROMPT_SAVE
Value: 0x1
Displays a prompt asking whether the user would like to save the attachment.
ATTACHMENT_PROMPT_EXEC
Value: 0x2
Displays a prompt asking whether the user would like to execute the attachment.
ATTACHMENT_PROMPT_EXEC_OR_SAVE
Value: 0x3
Displays a prompt giving the user a choice of executing or saving the attachment.

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)