[SHFlushSFCache is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Applies to: desktop apps only
Flushes the special folder cache.
Syntax
void SHFlushSFCache(void);
Parameters
This function has no parameters.
Return value
This function does not return a value.
Remarks
SHFlushSFCache is called when the path to a special folder is changed. This ensures that the updated path stored in the registry is used rather than the cached value.
For more information on special folders, see the Special Folders and CSIDLs section of Getting a Folder's ID.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
End of client support | Windows XP with SP2 |
|
End of server support | Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 5/5/2012
