PyIKnownFolder.GetCategory

int = GetCategory()

Returns the category for a folder (shellcon.KF_CATEGORY_*)