Beispiel #1
0
 public HRESULT Prompt(HWND hwnd, ATTACHMENT_PROMPT prompt, ATTACHMENT_ACTION *paction)
 {
     return(((delegate * unmanaged <IAttachmentExecute *, HWND, ATTACHMENT_PROMPT, ATTACHMENT_ACTION *, int>)(lpVtbl[10]))((IAttachmentExecute *)Unsafe.AsPointer(ref this), hwnd, prompt, paction));
 }
Beispiel #2
0
 /// <summary>Presents a prompt UI to the user.</summary>
 /// <param name="hwnd">
 /// <para>Type: <c>HWND</c></para>
 /// <para>A handle to the parent window.</para>
 /// </param>
 /// <param name="prompt">
 /// <para>Type: <c>ATTACHMENT_PROMPT</c></para>
 /// <para>A member of the ATTACHMENT_PROMPT enumeration that indicates what type of prompt UI to display to the user.</para>
 /// </param>
 /// <param name="paction">
 /// <para>Type: <c>ATTACHMENT_ACTION*</c></para>
 /// <para>A member of the ATTACHMENT_ACTION enumeration that indicates the action to be performed upon user confirmation.</para>
 /// </param>
 /// <remarks>
 /// <para>You must call IAttachmentExecute::SetFileName or IAttachmentExecute::SetLocalPath before calling <c>IAttachmentExecute::Prompt</c>.</para>
 /// <para>
 /// <c>IAttachmentExecute::Prompt</c> can be called by the application to force UI presentation before the file has been copied
 /// to disk.
 /// </para>
 /// </remarks>
 // https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-iattachmentexecute-prompt HRESULT Prompt(
 // HWND hwnd, ATTACHMENT_PROMPT prompt, ATTACHMENT_ACTION *paction );
 void Prompt([In] HWND hwnd, [In] ATTACHMENT_PROMPT prompt, out ATTACHMENT_ACTION paction);