Location:
Search - IShellLink
Search list
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:
Description: 用IShellLink接口创建快捷方式的一个函数-IShellLink interface with the creation of a shortcut function
Platform: |
Size: 886 |
Author: 肖佰彦 |
Hits:
Description: 大家知道通过IShellLink接口可以得到快捷方式的各种属性。具体怎么做,网上有很多文章,这里就不介绍了。现在主要是分析一下快捷方式文件的格式,并且自己写一个解析程序。
Platform: |
Size: 4151 |
Author: 落叶 |
Hits:
Description: Windows shortcut file format description
Platform: |
Size: 615421 |
Author: pribambas |
Hits:
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:
Description: 用IShellLink接口创建快捷方式的一个函数-IShellLink interface with the creation of a shortcut function
Platform: |
Size: 1024 |
Author: |
Hits:
Description: 大家知道通过IShellLink接口可以得到快捷方式的各种属性。具体怎么做,网上有很多文章,这里就不介绍了。现在主要是分析一下快捷方式文件的格式,并且自己写一个解析程序。-As we all know through IShellLink interface can be a shortcut to the various attributes. How to do specific, on-line article has a lot of here is not introduced. Now is mainly an analysis of the shortcut file format, and to write a parser.
Platform: |
Size: 4096 |
Author: 落叶 |
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres-How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres
Platform: |
Size: 3072 |
Author: vllc!5151 |
Hits:
Description: How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres I,
Platform: |
Size: 3072 |
Author: rdise |
Hits:
Description: How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres
Platform: |
Size: 2048 |
Author: adpreeb
|
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres I,(How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres I,)
Platform: |
Size: 3072 |
Author: Feyih
|
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres(How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres)
Platform: |
Size: 2048 |
Author: iaa%25255F8164
|
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres I,(How to get the shortcut points to target file name HRESULT hres IShellLink PSL HRESULT hres I,)
Platform: |
Size: 3072 |
Author: TKNK%26446
|
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres()
Platform: |
Size: 2048 |
Author: GWGyva%5F613799
|
Hits:
Description: 怎样获取快捷方式所指向的目标文件名 HRESULT hres IShellLink psl HRESULT hres()
Platform: |
Size: 3072 |
Author: FQPO%21907 |
Hits: