Exemplo n.º 1
0
bool my_resolvesoftlink(TCHAR *linkfile, int size)
{
	TCHAR tmp[MAX_DPATH];
	int v = my_resolvessymboliclink2(linkfile, size);
	if (v > 0)
		return true;
	if (v == 0)
		return false;
	if (my_resolveshortcut(linkfile,size))
		return true;
	if (size > 0) {
		_tcscpy (tmp, linkfile);
		my_canonicalize_path (tmp, linkfile, size);
	}
	return false;
}
Exemplo n.º 2
0
bool my_resolvessymboliclink(TCHAR *linkfile, int size)
{
	return my_resolvessymboliclink2(linkfile, size) > 0;
}