Help Center

SetDefaultFolderfunction

Sets the folder used as a default if there is not a recently used folder value available.

File ManagementfunctionCIOpenSaveFile.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION SetDefaultFolder (BYVAL psi AS IShellItem PTR) AS HRESULT

Parameters

NameDescription
psiA pointer to the interface that represents the folder.

Return value

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

Description

Sets the folder used as a default if there is not a recently used folder value available.

Reference