Presents a prompt UI to the user.
HRESULT Prompt( HWND hwnd, ATTACHMENT_PROMPT prompt, ATTACHMENT_ACTION *paction );
A handle to the parent window.
A member of the ATTACHMENT_PROMPT enumeration that indicates what type of prompt UI to display to the user.
A member of the ATTACHMENT_ACTION enumeration that indicates the action to be performed upon user confirmation.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
IAttachmentExecute::Prompt can be called by the application to force UI presentation before the file has been copied to disk.
|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)|
|DLL||Shdocvw.dll (version 6.0 or later)|