Shell32ILIsParent Method
Tests whether an ITEMIDLIST structure is the parent of another 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 ILIsParent(
IntPtr pidl1,
IntPtr pidl2,
bool immediate
)
<DllImportAttribute("Shell32.dll", ExactSpelling := true, SetLastError := true>]
Public Shared Function ILIsParent (
pidl1 As IntPtr,
pidl2 As IntPtr,
immediate As Boolean
) As Boolean
Dim pidl1 As IntPtr
Dim pidl2 As IntPtr
Dim immediate As Boolean
Dim returnValue As Boolean
returnValue = Shell32.ILIsParent(pidl1,
pidl2, immediate)
public:
[DllImportAttribute(L"Shell32.dll", ExactSpelling = true, SetLastError = true)]
static bool ILIsParent(
IntPtr pidl1,
IntPtr pidl2,
bool immediate
)
[<DllImportAttribute("Shell32.dll", ExactSpelling = true, SetLastError = true)>]
static member ILIsParent :
pidl1 : IntPtr *
pidl2 : IntPtr *
immediate : bool -> bool
No code example is currently available or this language may not be supported.
- pidl1 IntPtr
-
A pointer to an ITEMIDLIST (PIDL) structure that specifies the parent. This must be an absolute PIDL.
- pidl2 IntPtr
-
A pointer to an ITEMIDLIST (PIDL) structure that specifies the child. This must be an absolute PIDL.
- immediate Boolean
-
A Boolean value that is set to to test for immediate parents of pidl2,
or to test for any parents of pidl2.
Boolean
Returns
if
pidl1 is a parent of
pidl2.
If fImmediate is set to
,
the function only returns
if
pidl1 is the immediate parent of
pidl2.
Otherwise, the function returns
.