cwbUN_GetParentFolderPidl

Purpose

Given a fully-qualified Unity item identifier list, returns the fully-qualified item identifier list of the object's parent folder.

Syntax

CWBAPI unsigned int WINAPI cwbUN_GetParentFolderPidl(
    LPCITEMIDLIST pidl,
    LPITEMIDLIST *ppidl
    );

Parameters

LPCITEMIDLIST pidl - input
Pointer to an ITEMIDLIST (item identifier list) structure from which the parent folder item identifier list will be extracted.
LPITEMIDLIST* ppidl - output
Address of an item identifier list pointer that will receive the parent folder item identifier list.

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWBUN_FORMAT_NOT_VALID
The specified item identifier list is not valid.

Usage

None