Shell32ILRemoveLastID Method
Removes the last SHITEMID structure from an ITEMIDLIST structure.
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", ExactSpelling = true, SetLastError = true)]
public static bool ILRemoveLastID(
IntPtr pidl
)
<DllImportAttribute("Shell32.dll", ExactSpelling := true, SetLastError := true>]
Public Shared Function ILRemoveLastID (
pidl As IntPtr
) As Boolean
Dim pidl As IntPtr
Dim returnValue As Boolean
returnValue = Shell32.ILRemoveLastID(pidl)
public:
[DllImportAttribute(L"Shell32.dll", ExactSpelling = true, SetLastError = true)]
static bool ILRemoveLastID(
IntPtr pidl
)
[<DllImportAttribute("Shell32.dll", ExactSpelling = true, SetLastError = true)>]
static member ILRemoveLastID :
pidl : IntPtr -> bool
No code example is currently available or this language may not be supported.
- pidl IntPtr
-
A pointer to the ITEMIDLIST structure to be shortened.
When the function returns, this variable points to the shortened structure.
Boolean
Returns
if successful,
otherwise.