Форум: "Основная";
Текущий архив: 2005.03.20;
Скачать: [xml.tar.bz2];
ВнизSHGetSpecialFolderLocation Найти похожие ветки
← →
Начинающий2 (2005-03-09 11:35) [0]Привет всем. С этой функцией я могу получить путь к папкам в *Documents and Settings* только текущего пользователя, а как получить путь к папкам других пользователей, к примеру к папкам в *All Users*. Перерыл всю спраку и все архивы форума что у меня есть, но нечиго не нашол. Помагите плиз, нужен простой пример или где копать по етой теме.
← →
DiamondShark © (2005-03-09 11:43) [1]Плохо рыл.
CSIDL_COMMON_APPDATA
Version 5.0. Application data for all users. A typical path is C:\Documents and Settings\All Users\Application Data.
CSIDL_COMMON_DESKTOPDIRECTORY
File system directory that contains files and folders that appear on the desktop for all users. A typical path is C:\Documents and Settings\All Users\Desktop. Valid only for Windows NT® systems.
CSIDL_COMMON_DOCUMENTS
File system directory that contains documents that are common to all users. Typical paths are C:\Documents and Settings\All Users\Documents. Valid for Windows NT® systems and Windows 95 and Windows 98 systems with Shfolder.dll installed.
CSIDL_COMMON_FAVORITES
File system directory that serves as a common repository for all users" favorite items. Valid only for Windows NT® systems.
CSIDL_COMMON_PROGRAMS
File system directory that contains the directories for the common program groups that appear on the Start menu for all users. A typical path is C:\Documents and Settings\All Users\Start Menu\Programs. Valid only for Windows NT® systems.
CSIDL_COMMON_STARTMENU
File system directory that contains the programs and folders that appear on the Start menu for all users. A typical path is C:\Documents and Settings\All Users\Start Menu. Valid only for Windows NT® systems.
CSIDL_COMMON_STARTUP
File system directory that contains the programs that appear in the Startup folder for all users. A typical path is C:\Documents and Settings\All Users\Start Menu\Programs\Startup. Valid only for Windows NT® systems.
CSIDL_COMMON_TEMPLATES
File system directory that contains the templates that are available to all users. A typical path is C:\Documents and Settings\All Users\Templates. Valid only for Windows NT® systems.
← →
Alex_Petr © (2005-03-09 11:45) [2]Например, CSIDL_COMMON_PROGRAMS
← →
Начинающий2 (2005-03-09 11:56) [3]>DiamondShark © (09.03.05 11:43) [1]
>Плохо рыл.
Наверно плошо, три дня с архивами сидел, а в справке нашол только это:
Retrieves the location of a special folder.
WINSHELLAPI HRESULT WINAPI SHGetSpecialFolderLocation(;
HWND hwndOwner,
int nFolder,
LPITEMIDLIST *ppidl );
Parameters
hwndOwner
Handle of the owner window that the client should specify if it displays a dialog box or message box.
nFolder
Value specifying the folder to retrieve the location of. This parameter can be one of the following
values:
CSIDL_BITBUCKET: Recycle bin ѕ file system directory containing file objects in the user"s
recycle bin. The location of this directory is not in the registry; it is
marked with the hidden and system attributes to prevent the user from moving
or deleting it.
CSIDL_CONTROLS: Control Panel ѕ virtual folder containing icons for the control panel
applications.
................................
Туговато у меня с английским, темболее когда промт полетел. Спасибо, буду разбираться.
>Alex_Petr © (09.03.05 11:45) [2]
Тоже спасибо.
Страницы: 1 вся ветка
Форум: "Основная";
Текущий архив: 2005.03.20;
Скачать: [xml.tar.bz2];
Память: 0.45 MB
Время: 0.032 c