Shell32SHSimpleIDListFromPath Method
Note: This API is now obsolete.
Returns a pointer to an ITEMIDLIST structure when passed a path.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute("Deprecated.", false)]
public static PIDL SHSimpleIDListFromPath(
string path
)
<DllImportAttribute("Shell32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ExactSpelling := true, ThrowOnUnmappableChar := true, SetLastError := true>]
<ObsoleteAttribute("Deprecated.", false)>
Public Shared Function SHSimpleIDListFromPath (
path As String
) As PIDL
Dim path As String
Dim returnValue As PIDL
returnValue = Shell32.SHSimpleIDListFromPath(path)
public:
[DllImportAttribute(L"Shell32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute(L"Deprecated.", false)]
static PIDL^ SHSimpleIDListFromPath(
String^ path
)
[<DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true, SetLastError = true)>]
[<ObsoleteAttribute("Deprecated.", false)>]
static member SHSimpleIDListFromPath :
path : string -> PIDL
No code example is currently available or this language may not be supported.
- path String
-
A pointer to a null-terminated string that contains the path to be converted to a PIDL.
PIDL
Returns a pointer to an ITEMIDLIST structure if successful, or NULL otherwise.