It allows renaming file object at the specified “hide list” index.
Parameters Â lItemIndex Â Â [in] A zero-based “hide list” index of necessary item. Â strFileName Â Â [in] Null-terminated OLE string that specifies the new name of the hiding object, such as file, directory or hiding mask.
Return Values SetItemFile method returns TRUE if file object was successfully renamed and FALSE otherwise.
|// For instance, we would like to rename file object located at 0 (zero) “hide list” index to “c:\windows\notepad.exe”|
extern CHideMyFoldersAx m_ctrlHMFAx;
// file object was successfully renamed
// file wasn’t renamed. Your exception code handler here