wince如何读取快捷方式的图标路径信息?新手,望多指教!
------解决方案--------------------
wince如何读取快捷方式就是一个文本文件,打开后直接读取
建议 LZ 在 CE 上建一个快捷方式,复制到 PC 上用 UE 看看就知道了。
------解决方案--------------------
BOOL SHGetShortcutTarget(
LPTSTR szShortcut,
LPTSTR szTarget,
int cbMax
);
Parameters
szShortcut
[in] Null-terminated string that contains the name of the shortcut.
szTarget
[in] Null-terminated string that gets the target path of the shortcut. The buffer must be at least cbMax characters long.
cbMax
[in] Maximum number of characters that can be copied to the buffer.
Return Values
TRUE indicates success. FALSE indicates failure.