摘要:
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 阅读全文
摘要:
利用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 阅读全文
摘要:
http://www.ajaxload.info/ 阅读全文