_T的意思

标签: descriptoraccesssecurityeventsfileservice
1156人阅读 评论(0) 收藏 举报

_T:如果编译时指定生成UNICODE版本,则将字符串转换成UNICODE;如果编译是没有指定UNICODE,则就是一般的窄字符。 

比如:

 CString str;
str.FormatMessage(
_T("Checks the security descriptor on a named object./n")
_T("/n")
_T("Usage: %1 [-?] [-at|-no_at] [-file|-regkey|-service|-kernel|-printer] [objectname]*/n")
_T("  -?        Display this help message/n")
_T("  -at       Examine the process access token (default)/n")
_T("  -no_at    Don't examine the process access token/n")
_T("  -file     objectname is the name of a file to examine (default)/n")
_T("  -regkey   objectname is the name of a registry key to examine/n")
_T("  -service  objectname is the name of a service to examine/n")
_T("  -kernel   objectname is the name of a kernel object to examine/n")
_T("            these can be semaphores, events, mutexes, waitable timers, and file mappings/n")
_T("  -printer  objectname is the name of a printer to examine/n")
_T("  objectname defaults to ////.//A:/n")
_T("Example: %1 C://boot.ini/n")
_T("/n")
_T("Note: ////.//A: is not the same as A:/n")
_T("Checking ////.//A: checks access to the floppy drive,/n")
_T("Checking A: checks access to the root directory"),
path);

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1026222次
    • 积分:12854
    • 等级:
    • 排名:第1042名
    • 原创:238篇
    • 转载:41篇
    • 译文:0篇
    • 评论:434条
    个人图片处理网站
    我的图片处理,技术博客网站,请支持点击:

    多客博图

    关于我
    一个生活在Linux下的coder,靠c/c++,python,javascript吃饭。
    博客专栏
    最新评论