C++
int InsertUserItemInPlaces( int index, LPCTSTR sFullPath, LPCTSTR sText );
Description
Inserts a user item in the places list at index if it is not already in the places list. Returns the index of the inserted item or -1 on error.
Parameters
Parameters | Description |
---|---|
index | Position to insert the item in the places list |
sFullPath | Full path of the user item, such as the path to an existing directory with a drive specification (not a URL) |
sText | Text of the item to insert |