Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 2.76 KB

nf-shobjidl_core-shcreateitemfromrelativename.md

File metadata and controls

93 lines (70 loc) · 2.76 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 req.apiset
NF:shobjidl_core.SHCreateItemFromRelativeName
SHCreateItemFromRelativeName function (shobjidl_core.h)
Creates and initializes a Shell item object from a relative parsing name.
SHCreateItemFromRelativeName
SHCreateItemFromRelativeName function [Windows Shell]
_shell_SHCreateItemFromRelativeName
shell.SHCreateItemFromRelativeName
shobjidl_core/SHCreateItemFromRelativeName
shell\SHCreateItemFromRelativeName.htm
shell
af6c2e8b-c812-4858-a9db-24549dedc2aa
12/05/2018
SHCreateItemFromRelativeName, SHCreateItemFromRelativeName function [Windows Shell], _shell_SHCreateItemFromRelativeName, shell.SHCreateItemFromRelativeName, shobjidl_core/SHCreateItemFromRelativeName
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Shell32.dll
Windows
19H1
SHCreateItemFromRelativeName
shobjidl_core/SHCreateItemFromRelativeName
c++
APIRef
kbSyntax
DllExport
Shell32.dll
SHCreateItemFromRelativeName
ext-ms-win-shell-shell32-l1-2-2 (introduced in Windows 10, version 10.0.14393)

SHCreateItemFromRelativeName function

-description

Creates and initializes a Shell item object from a relative parsing name.

-parameters

-param psiParent [in]

Type: IShellItem*

A pointer to the parent Shell item.

-param pszName [in]

Type: PCWSTR

A pointer to a null-terminated, Unicode string that specifies a display name that is relative to the psiParent.

-param pbc [in]

Type: IBindCtx*

A pointer to a bind context that controls the parsing operation. This parameter can be NULL.

-param riid [in]

Type: REFIID

A reference to an interface ID.

-param ppv [out]

Type: void**

When this function returns, contains the interface pointer requested in riid. This will usually be IShellItem or IShellItem2.

-returns

Type: HRESULT

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