shell.SHGetSpecialFolderLocation

PyIDL = SHGetSpecialFolderLocation(hwndOwner, nFolder )

Retrieves the PIDL of a special folder.

Parameters

hwndOwner : PyHANDLE

Parent window, can be None (or 0)

nFolder : int

One of the CSIDL_* constants specifying the path.