Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SHFlushSFCache function

[SHFlushSFCache is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 6.0 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.