CSIDL was deprecated as of Windows Vista (reference below) but thankfully still works.

Will SB2022 support KnownFolderID? Not sure it will ever matter, but these are the kinds of things one doesn't enjoy learning the hard way



As of Windows Vista, these values have been replaced by KNOWNFOLDERID values. See that topic for a list of the new constants and their corresponding CSIDL values. For convenience, corresponding KNOWNFOLDERID values are also noted here for each CSIDL value.

The CSIDL system is supported under Windows Vista for compatibility reasons. However, new development should use KNOWNFOLDERID values rather than CSIDL values.