Function Reference


_WinAPI_ShellILCreateFromPath

Creates a pointer to an item identifier list (PIDL) from a path

#include <WinAPIShellEx.au3>
_WinAPI_ShellILCreateFromPath ( $sFilePath )

Parameters

$sFilePath The path to be converted.

Return Value

Success: a PIDL to the path in $sFilePath.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

Remarks

To free the returned PIDL, call the _WinAPI_CoTaskMemFree() function.

Related

_WinAPI_CoTaskMemFree

See Also

Search SHILCreateFromPath in MSDN Library.