读书人

wince怎么读取快捷方式的图标路径信息

发布时间: 2012-03-04 11:13:33 作者: rapoo

wince如何读取快捷方式的图标路径信息?新手,望多指教!
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.

读书人网 >WinCE

热点推荐