Shell32ILFindChild(PIDL, PIDL) Method
Determines whether a specified ITEMIDLIST structure is the child 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", SetLastError = true)]
public static PIDL ILFindChild(
PIDL pidlParent,
PIDL pidlChild
)
<DllImportAttribute("Shell32.dll", SetLastError := true>]
Public Shared Function ILFindChild (
pidlParent As PIDL,
pidlChild As PIDL
) As PIDL
Dim pidlParent As PIDL
Dim pidlChild As PIDL
Dim returnValue As PIDL
returnValue = Shell32.ILFindChild(pidlParent,
pidlChild)
public:
[DllImportAttribute(L"Shell32.dll", SetLastError = true)]
static PIDL^ ILFindChild(
PIDL^ pidlParent,
PIDL^ pidlChild
)
[<DllImportAttribute("Shell32.dll", SetLastError = true)>]
static member ILFindChild :
pidlParent : PIDL *
pidlChild : PIDL -> PIDL
No code example is currently available or this language may not be supported.
- pidlParent PIDL
-
A pointer to the parent ITEMIDLIST structure.
- pidlChild PIDL
-
A pointer to the child ITEMIDLIST structure.
PIDL
Returns a pointer to the child's simple ITEMIDLIST structure if
pidlChild is a child of
pidlParent.
The returned structure consists of
pidlChild, minus the SHITEMID structures that make up
pidlParent.
Returns
Zero if
pidlChild is not a child of
pidlParent.
Note: The returned pointer is a pointer into the existing parent structure. It is an alias for
pidlChild.
No new memory is allocated in association with the returned pointer.
It is not the caller's responsibility to free the returned value.