Function Reference


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

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


$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.


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



See Also

Search SHILCreateFromPath in MSDN Library.