Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ATTACHMENT_PROMPT enumeration

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          = 0x0000,
  ATTACHMENT_PROMPT_SAVE          = 0x0001,
  ATTACHMENT_PROMPT_EXEC          = 0x0002,
  ATTACHMENT_PROMPT_EXEC_OR_SAVE  = 0x0003
} ATTACHMENT_PROMPT;

Constants

ATTACHMENT_PROMPT_NONE

Do not use.

ATTACHMENT_PROMPT_SAVE

Displays a prompt asking whether the user would like to save the attachment.

ATTACHMENT_PROMPT_EXEC

Displays a prompt asking whether the user would like to execute the attachment.

ATTACHMENT_PROMPT_EXEC_OR_SAVE

Displays a prompt giving the user a choice of executing or saving the attachment.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.