i have used ExtractAssociatedIcon function but i found that this function get the icon from an exe file or a resource file.

how can i get any file or folder's icon?