摘要: function GetShellFolder( ID: Cardinal; Create: Boolean = False ): string;// This function is a superset of SHGetSpecialFolderPath, included with// earlier versions of the Shell. On systems preceeding those including// Shell32.dll version 5.0 (Windows Millennium Edition (Windows Me) and// Windows 200 阅读全文
posted @ 2011-08-13 22:01 许明吉博客 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 利用Api函数,现在我介绍两个Api函数,利用他们就可以轻松简单的获取这些特殊系统目录。 Function SHGetSpecialFolderLocation(hwndOwner: HWND; nFolder: Integer; var ppidl: PItemIDList): HResult; stdcall; Function SHGetPathFromIDList(pidl: PItemIDList; pszPath: PChar): BOOL;stdcall; 其中由nFolder参数指定的就是各个特殊系统目录: CSIDL_DESKTOP:毫无疑问这就是桌面; CSIDL_DRIV 阅读全文
posted @ 2011-08-13 21:11 许明吉博客 阅读(4047) 评论(0) 推荐(0) 编辑
摘要: http://www.ajaxload.info/ 阅读全文
posted @ 2011-08-13 00:25 许明吉博客 阅读(388) 评论(0) 推荐(0) 编辑