Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.05 KB

nf-shobjidl_core-ifiledialog-setfilename.md

File metadata and controls

68 lines (56 loc) · 2.05 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl_core.IFileDialog.SetFileName
IFileDialog::SetFileName (shobjidl_core.h)
Sets the file name that appears in the File name edit box when that dialog box is opened.
IFileDialog interface [Windows Shell]
SetFileName method
IFileDialog.SetFileName
IFileDialog::SetFileName
SetFileName
SetFileName method [Windows Shell]
SetFileName method [Windows Shell]
IFileDialog interface
_shell_IFileDialog_SetFileName
shell.IFileDialog_SetFileName
shobjidl_core/IFileDialog::SetFileName
shell\IFileDialog_SetFileName.htm
shell
b8b72a76-6cdb-4675-8d84-f3c7171b8576
12/05/2018
IFileDialog interface [Windows Shell],SetFileName method, IFileDialog.SetFileName, IFileDialog::SetFileName, SetFileName, SetFileName method [Windows Shell], SetFileName method [Windows Shell],IFileDialog interface, _shell_IFileDialog_SetFileName, shell.IFileDialog_SetFileName, shobjidl_core/IFileDialog::SetFileName
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shobjidl.idl
Windows
19H1
IFileDialog::SetFileName
shobjidl_core/IFileDialog::SetFileName
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IFileDialog.SetFileName

IFileDialog::SetFileName

-description

Sets the file name that appears in the File name edit box when that dialog box is opened.

-parameters

-param pszName [in]

Type: LPCWSTR

A pointer to the name of the file.

-returns

Type: HRESULT

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