FOLDERIDDocuments
FOLDERIDDocuments is a constant in the Windows Shell API that represents the Known Folder Identifier for the user’s Documents folder. It is part of the set of KNOWNFOLDERID values introduced with Windows Vista to provide consistent, per-user locations for common data across applications and user profiles.
In code, FOLDERIDDocuments is used with functions such as SHGetKnownFolderPath or related APIs to retrieve the
The purpose of the Known Folder IDs, including FOLDERIDDocuments, is to offer a stable, user-specific location
Related concepts include other KNOWNFOLDERID values (such as FOLDERID_Music or FOLDERID_Pictures) and APIs like SHGetKnownFolderPath, which