Skip to content

Latest commit

 

History

History
77 lines (60 loc) · 2.29 KB

nf-shlobj-inewshortcuthookw-setfolder.md

File metadata and controls

77 lines (60 loc) · 2.29 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:shlobj.INewShortcutHookW.SetFolder
INewShortcutHookW::SetFolder (shlobj.h)
Sets the folder name for the shortcut object. (Unicode)
INewShortcutHook interface [Windows Shell]
SetFolder method
INewShortcutHook::SetFolder
INewShortcutHookA
INewShortcutHookA::SetFolder
INewShortcutHookW
INewShortcutHookW.SetFolder
INewShortcutHookW::SetFolder
SetFolder
SetFolder method [Windows Shell]
SetFolder method [Windows Shell]
INewShortcutHook interface
_win32_INewShortcutHook_SetFolder
shell.INewShortcutHook_SetFolder
shlobj/INewShortcutHook::SetFolder
shell\INewShortcutHook_SetFolder.htm
shell
7f402d36-58cf-4912-af21-f8271eee98e4
12/05/2018
INewShortcutHook interface [Windows Shell],SetFolder method, INewShortcutHook::SetFolder, INewShortcutHookA, INewShortcutHookA::SetFolder, INewShortcutHookW, INewShortcutHookW.SetFolder, INewShortcutHookW::SetFolder, SetFolder, SetFolder method [Windows Shell], SetFolder method [Windows Shell],INewShortcutHook interface, _win32_INewShortcutHook_SetFolder, shell.INewShortcutHook_SetFolder, shlobj/INewShortcutHook::SetFolder
shlobj.h
Windows
Windows XP [desktop apps only]
Windows 2000 Server [desktop apps only]
Shell32.dll (version 4.0 or later)
Windows
19H1
INewShortcutHookW::SetFolder
shlobj/INewShortcutHookW::SetFolder
c++
APIRef
kbSyntax
COM
Shell32.dll
INewShortcutHook.SetFolder
INewShortcutHookA::SetFolder
INewShortcutHookW::SetFolder

INewShortcutHookW::SetFolder

-description

Sets the folder name for the shortcut object.

-parameters

-param pcszFolder

TBD

- pszFolder [in]

Type: PCTSTR

A pointer to a string that contains the folder name.

-returns

Type: HRESULT

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