Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NONEValue: 0 Do not use. |
ATTACHMENT_PROMPT_SAVEValue: 0x1 Displays a prompt asking whether the user would like to save the attachment. |
ATTACHMENT_PROMPT_EXECValue: 0x2 Displays a prompt asking whether the user would like to execute the attachment. |
ATTACHMENT_PROMPT_EXEC_OR_SAVEValue: 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) |