shell.SHGetFolderLocation

PyIDL = SHGetFolderLocation(hwndOwner, nFolder , hToken , reserved )

Retrieves the PIDL of a folder.

Parameters

hwndOwner : int

Window in which to display any neccessary dialogs

nFolder : int

One of the CSIDL_* constants specifying the path.

hToken=None : PyHANDLE

An access token that can be used to represent a particular user, or None

reserved=0 : int

Must be 0

Comments

This method is only available with version 5 or later of the shell controls