11 2009 档案

用 GetEnvironmentVariable 获取常用系统变量
摘要:以前曾用 GetWindowsDirectory、GetSystemDirectory、GetTempPath 等函数获取系统常用文件夹; 也用过 SHGetSpecialFolderLocation、SHGetPathFromIDList 函数获取过更多常用路径; 但这都不如用 GetEnvironmentVariable 获取系统变量来得快.//譬如WINDIR是表示系统目录的系统变量,可... 阅读全文

posted @ 2009-11-04 22:03 Handll 阅读(398) 评论(0) 推荐(0)