Skip to main content

TdxCustomShellListView.GetItemAbsolutePIDL(Integer) Method

Obtains a Shell API identifier for a shell item by its index in the currently displayed folder.

Declaration

function GetItemAbsolutePIDL(AIndex: Integer): PItemIDList;

Parameters

Name Type Description
AIndex Integer

The index of the target shell item currently displayed in the Shell List View control.

Returns

Type Description
PItemIDList

The pointer to the item identifier list (PIDL) of the currently displayed folder.

Remarks

The Microsoft Shell API identifies an object by its PIDL. A full PIDL uniquely identifies an object in the Shell namespace. The path information stored in a PIDL starts from the desktop shell item and contains item IDs of all intermediate folders.

Call the GetItemAbsolutePIDL function to obtain the full PIDL for a shell item in the currently displayed folder if you work with the Shell API directly.

See Also