Vista 64位元如何使用shfolder存取Public document资料夹 [英] Vista 64 bit How to access Public documents folder using shfolder

查看:69
本文介绍了Vista 64位元如何使用shfolder存取Public document资料夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用下面的枚举器来标识XP的文件夹,

以下内容是否也适用于Vista 64位?

如何访问公共文件"所有用户共用的文件夹? (类似于XP的allusers \ documents)

帮帮我.

公共枚举FolderPaths

{
CSIDL_DESKTOP = 0x0000,////< desktop>
> CSIDL_PROGRAMS = 0x0002,//开始菜单\程序
3,000计算机\控制面板
CSIDL_PRINTERS CSI = 0x0004,//我的计算机\打印机
用户名> 000 * 6 CSIDL_FAVORITES br/> CSIDL_STARTUP CSI = 0x0007,//Start Menu \ Programs \ Startup
CSIDL_SENDTO = 0x0009,//用户名// font-family:Arial> CSIDL_BITBUCKET CSIDL_BITBUCKET = 0x000a,//// \回收站
CSIDL_MYDOCUMENTS = CSIDL_PERSONAL,//个人只是我的文档的一个愚蠢的名字
CSIDL_MYMUSIC = 0x000d,////我的音乐"文件夹
CSIDL_MYVIDEO = 0x000e,////我的视频"文件夹
CSIDL_DESKTOPDIRECTORY = 0x0010,//<用户名> \ Desktop
我的第2位网络(第2位)CSIDL_NETWORK br/> CSIDL_NETHOOD = 0x0013,//<用户名> \ nethood
0x0014,//Windows \ fonts

CSIDL_TEMPLATES = 0x0015,
rs \开始菜单\程序
CSIDL_COMMON_STARTUP = 0x0018,//所有用户\启动
用户
CSIDL_PRINTHOOD = 0x001b,////用户名< \ PrintHof
CSIDL_LOCAL_APPDATA = 0x001c////<用户名> \ Local Settings \ Applicaiton Data(非漫游)

{
            CSIDL_DESKTOP                   = 0x0000,        // <desktop>
            CSIDL_INTERNET                  = 0x0001,        // Internet Explorer (icon on desktop)
            CSIDL_PROGRAMS                  = 0x0002,        // Start Menu\Programs
            CSIDL_CONTROLS                  = 0x0003,        // My Computer\Control Panel
            CSIDL_PRINTERS                  = 0x0004,        // My Computer\Printers
            CSIDL_PERSONAL                  = 0x0005,        // My Documents
            CSIDL_FAVORITES                 = 0x0006,        // <user name>\Favorites
            CSIDL_STARTUP                   = 0x0007,        // Start Menu\Programs\Startup
            CSIDL_RECENT                    = 0x0008,        // <user name>\Recent
            CSIDL_SENDTO                    = 0x0009,        // <user name>\SendTo
            CSIDL_BITBUCKET                 = 0x000a,        // <desktop>\Recycle Bin
            CSIDL_STARTMENU                 = 0x000b,        // <user name>\Start Menu
            CSIDL_MYDOCUMENTS               = CSIDL_PERSONAL, //  Personal was just a silly name for My Documents
            CSIDL_MYMUSIC                   = 0x000d,        // "My Music" folder
            CSIDL_MYVIDEO                   = 0x000e,        // "My Videos" folder
            CSIDL_DESKTOPDIRECTORY          = 0x0010,        // <user name>\Desktop
            CSIDL_DRIVES                    = 0x0011,        // My Computer
            CSIDL_NETWORK                   = 0x0012,        // Network Neighborhood (My Network Places)
            CSIDL_NETHOOD                   = 0x0013,        // <user name>\nethood
            CSIDL_FONTS                     = 0x0014,        // windows\fonts
            CSIDL_TEMPLATES                 = 0x0015,
            CSIDL_COMMON_STARTMENU          = 0x0016,        // All Users\Start Menu
            CSIDL_COMMON_PROGRAMS           = 0X0017,        // All Users\Start Menu\Programs
            CSIDL_COMMON_STARTUP            = 0x0018,        // All Users\Startup
            CSIDL_COMMON_DESKTOPDIRECTORY   = 0x0019,        // All Users\Desktop
            CSIDL_APPDATA                   = 0x001a,        // <user name>\Application Data
            CSIDL_PRINTHOOD                 = 0x001b,        // <user name>\PrintHood
            CSIDL_LOCAL_APPDATA             = 0x001c        // <user name>\Local Settings\Applicaiton Data (non roaming)
}

推荐答案

值是:

#define

The Value is:

#define

CSIDL_COMMON_DOCUMENTS 0x002e

CSIDL_COMMON_DOCUMENTS 0x002e // All Users\Documents


这篇关于Vista 64位元如何使用shfolder存取Public document资料夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆