Qt中对于SHGetSpecialFolderPath函数的调用
摘要:
首先介绍一下SHGetSpecialFolderPath函数:该函数用于获取指定的系统路径。需要包含#include<shlobj.h>BOOL SHGetSpecialFolderPath( HWND hwndOwner, _Out_ LPTSTR lpszPath, _In_ int csidl, _In_ BOOL fCreate);通过分析Qt代码中对于SHGetSpecialFolderPath函数的调用主要在2个类里面。一个为QDesktopServices类,另外一个为QSettings类。 QString QDesktopServices::storageLo... 阅读全文
posted @ 2012-12-20 17:26 tangke 阅读(705) 评论(0) 推荐(0) 编辑