ILAppendID function
Appends or prepends an SHITEMID structure to an ITEMIDLIST structure.
Syntax
PIDLIST_RELATIVE ILAppendID( _In_opt_ PIDLIST_RELATIVE pidl, _In_ LPSHITEMID pmkid, BOOL fAppend );
Parameters
- pidl [in, optional]
-
Type: PIDLIST_RELATIVE
A pointer to an ITEMIDLIST structure. When the function returns, the SHITEMID structure specified by pmkid is appended or prepended.
- pmkid [in]
-
Type: LPSHITEMID
A pointer to a SHITEMID structure to be appended or prepended to pidl.
- fAppend
-
Type: BOOL
Value that is set to TRUE to append pmkid to pidl. Set this value to FALSE to prepend pmkid to pidl.
Return value
Type: PIDLIST_RELATIVE
Returns the ITEMIDLIST structure specified by pidl, with pmkid appended or prepended. Returns NULL on failure.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|