Shell32SHSimpleIDListFromPathIntPtr 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", EntryPoint = "SHSimpleIDListFromPath",
CharSet = CharSet.Auto, BestFitMapping = false, ExactSpelling = true,
ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute("Deprecated.", false)]
public static IntPtr SHSimpleIDListFromPathIntPtr(
string path
)
<DllImportAttribute("Shell32.dll", EntryPoint := "SHSimpleIDListFromPath",
CharSet := CharSet.Auto, BestFitMapping := false, ExactSpelling := true,
ThrowOnUnmappableChar := true, SetLastError := true>]
<ObsoleteAttribute("Deprecated.", false)>
Public Shared Function SHSimpleIDListFromPathIntPtr (
path As String
) As IntPtr
Dim path As String
Dim returnValue As IntPtr
returnValue = Shell32.SHSimpleIDListFromPathIntPtr(path)
public:
[DllImportAttribute(L"Shell32.dll", EntryPoint = L"SHSimpleIDListFromPath",
CharSet = CharSet::Auto, BestFitMapping = false, ExactSpelling = true,
ThrowOnUnmappableChar = true, SetLastError = true)]
[ObsoleteAttribute(L"Deprecated.", false)]
static IntPtr SHSimpleIDListFromPathIntPtr(
String^ path
)
[<DllImportAttribute("Shell32.dll", EntryPoint = "SHSimpleIDListFromPath",
CharSet = CharSet.Auto, BestFitMapping = false, ExactSpelling = true,
ThrowOnUnmappableChar = true, SetLastError = true)>]
[<ObsoleteAttribute("Deprecated.", false)>]
static member SHSimpleIDListFromPathIntPtr :
path : string -> IntPtr
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.
IntPtr
Returns a pointer to an ITEMIDLIST structure if successful, or NULL otherwise.