ImageEn, unit iexWindowsFunctions

GetWindowsSpecialFolder


Declaration

function GetWindowsSpecialFolder(const iCSIDL: Integer): string;


Description

Calls SHGetSpecialFolderPath to return a Windows special folder.


Example

// Display the contents of the Recycle Bin
IEFolderMView1.Folder := GetWindowsSpecialFolder(CSIDL_BITBUCKET);

// Return the Windows Fonts folder
fontPath := GetWindowsSpecialFolder(CSIDL_FONTS)