Skip to content

SHGetFolderPathW is deprecated #348

Open
@Jayman2000

Description

@Jayman2000

I noticed that the get_win_folder_via_ctypes function calls SHGetFolderPathW. The offical documentation for SHGetFolderPathW says:

Note As of Windows Vista, this function is merely a wrapper for SHGetKnownFolderPath. The CSIDL value is translated to its associated KNOWNFOLDERID and then SHGetKnownFolderPath is called. New applications should use the known folder system rather than the older CSIDL system, which is supported only for backward compatibility.

It probably doesn’t matter that much, but it would be nice if platformdirs used the newer SHGetKnownFolderPath function instead of the older deprecated SHGetFolderPathW function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions