PyIDL = SetNameOf(hwndOwner, pidl , lpszName , Flags )

Sets the display name of an item and changes its PIDL


hwndOwner : HWND

Window in which to display any message boxes or dialogs, can be 0

pidl : PyIDL

PIDL that identifies the item relative to the parent folder

lpszName : unicode

New name for the item

Flags : int

Combination of shellcon.SHGDM_* values

Return Value

Returns the new PIDL for item