Shell32SHGetIDListFromObject(Object, PIDL) Method

Retrieves the pointer to an item identifier list (PIDL) of an object.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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 HResult SHGetIDListFromObject(
	Object iUnknown,
	out PIDL refPidl
)

Parameters

iUnknown  Object
A pointer to the IUnknown of the object from which to get the PIDL.
refPidl  PIDL
When this function returns, contains a pointer to the PIDL of the given object.

Return Value

HResult
If this function succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

Remarks

See Also