Welcome![Sign In][Sign Up]
Location:
Search - queryinterface

Search list

[Windows Develop怎样获取快捷方式所指向的目标文件名

Description: 怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescription[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl) if (SUCCEEDED(hres)) { IPersistFile* ppf hres = psl->QueryInterface(IID_IPersistFile, (void**)&ppf) if (SUCCEEDED(hres)) { WCHAR wsz[MAX_PATH] char lpszLinkFile[MAX_PATH] //这里存放的是快捷方式的路径 if(MultiByteToWideChar(CP_ACP, 0, lpszLinkFile, -1, wsz, MAX_PATH)==0) return hres = ppf->Load(wsz, STGM_READ) if (SUCCEEDED(hres)) { hres = psl->Resolve(m_hWnd, 0) if (SUCCEEDED(hres)) { hres = psl->GetPath(szGotPath, MAX_PATH, (WIN32_FIND_DATA*)&wfd, SLGP_SHORTPATH)-Get the path file of the Shortcut, using IShellLink.
Platform: | Size: 3317 | Author: | Hits:

[Windows Develop怎样获取快捷方式所指向的目标文件名

Description: 怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescription[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl) if (SUCCEEDED(hres)) { IPersistFile* ppf hres = psl->QueryInterface(IID_IPersistFile, (void**)&ppf) if (SUCCEEDED(hres)) { WCHAR wsz[MAX_PATH] char lpszLinkFile[MAX_PATH] //这里存放的是快捷方式的路径 if(MultiByteToWideChar(CP_ACP, 0, lpszLinkFile, -1, wsz, MAX_PATH)==0) return hres = ppf->Load(wsz, STGM_READ) if (SUCCEEDED(hres)) { hres = psl->Resolve(m_hWnd, 0) if (SUCCEEDED(hres)) { hres = psl->GetPath(szGotPath, MAX_PATH, (WIN32_FIND_DATA*)&wfd, SLGP_SHORTPATH)-Get the path file of the Shortcut, using IShellLink.
Platform: | Size: 3072 | Author: | Hits:

[Search EngineSogouT.mini.tar

Description: 百度搜索引擎具有响应速度快、查找结果准确全面、时效性强、无效链接少、符合中文语言特点和中国人使用习惯等优点。 1...这种方法只需对语料中的字组频度进行统计,不需要切分词典,因而又叫做无词典分词法或统计取词方法。但这种方法也有一定- IHTMLDocument3* pHTMLDoc3 HRESULT hr = m_pHTMLDocument2->QueryInterface(IID_IHTMLDocument3, (LPVOID*)&pHTMLDoc3) ASSERT(SUCCEEDED(hr))
Platform: | Size: 62464 | Author: xuhaifan | Hits:

[Search Engine111

Description: 中文分词 词库 分次字典中文分词 词库 分次字典- IHTMLDocument3* pHTMLDoc3 HRESULT hr = m_pHTMLDocument2->QueryInterface(IID_IHTMLDocument3, (LPVOID*)&pHTMLDoc3) ASSERT(SUCCEEDED(hr))
Platform: | Size: 1024 | Author: xuhaifan | Hits:

[Software Engineeringcomobjectmodel

Description: 本书讲述了COM组建 接口QueryInterface函数引用计数 动态链接等-com Technology Insider
Platform: | Size: 8402944 | Author: Gao | Hits:

[Linux-UnixSkTypeface_win_dw

Description: IUnknown::QueryInterface states that if it fails, punk will be set to NULL.
Platform: | Size: 6144 | Author: tjbwdz | Hits:

CodeBus www.codebus.net