Expand Minimize
3 out of 4 rated this helpful - Rate this topic

SHOpenWithDialog function

Displays the Open With dialog box.

Syntax


HRESULT SHOpenWithDialog(
  _In_opt_  HWND hwndParent,
  _In_      const OPENASINFO *poainfo
);

Parameters

hwndParent [in, optional]

Type: HWND

The handle of the parent window. This value can be NULL.

poainfo [in]

Type: const OPENASINFO*

A pointer to an OPENASINFO structure, which specifies the contents of the resulting dialog.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.