Shell32ILFindChild(IntPtr, IntPtr) 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 IntPtr ILFindChild(
IntPtr pidlParent,
IntPtr pidlChild
)
<DllImportAttribute("Shell32.dll", SetLastError := true>]
Public Shared Function ILFindChild (
pidlParent As IntPtr,
pidlChild As IntPtr
) As IntPtr
Dim pidlParent As IntPtr
Dim pidlChild As IntPtr
Dim returnValue As IntPtr
returnValue = Shell32.ILFindChild(pidlParent,
pidlChild)
public:
[DllImportAttribute(L"Shell32.dll", SetLastError = true)]
static IntPtr ILFindChild(
IntPtr pidlParent,
IntPtr pidlChild
)
[<DllImportAttribute("Shell32.dll", SetLastError = true)>]
static member ILFindChild :
pidlParent : IntPtr *
pidlChild : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- pidlParent IntPtr
-
A pointer to the parent ITEMIDLIST structure.
- pidlChild IntPtr
-
A pointer to the child ITEMIDLIST structure.
IntPtr
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.