Shell32ILCreateFromPathIntPtr Method
Returns the ITEMIDLIST structure associated with a specified file 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 = "ILCreateFromPath", SetLastError = true)]
public static IntPtr ILCreateFromPathIntPtr(
string path
)
<DllImportAttribute("Shell32.dll", EntryPoint := "ILCreateFromPath",
SetLastError := true>]
Public Shared Function ILCreateFromPathIntPtr (
path As String
) As IntPtr
Dim path As String
Dim returnValue As IntPtr
returnValue = Shell32.ILCreateFromPathIntPtr(path)
public:
[DllImportAttribute(L"Shell32.dll", EntryPoint = L"ILCreateFromPath",
SetLastError = true)]
static IntPtr ILCreateFromPathIntPtr(
String^ path
)
[<DllImportAttribute("Shell32.dll", EntryPoint = "ILCreateFromPath",
SetLastError = true)>]
static member ILCreateFromPathIntPtr :
path : string -> IntPtr
No code example is currently available or this language may not be supported.
- path String
-
A pointer to a null-terminated Unicode string that contains the path.
This string should be no more than MAX_PATH characters in length, including the terminating null character.
IntPtr
Returns a pointer to an ITEMIDLIST structure that corresponds to the path.