#include <shlguid.h>
#endif
-bool wxFileName::GetShortcutTarget(const wxString& shortcutPath, wxString& targetFilename, wxString* arguments)
+bool wxFileName::GetShortcutTarget(const wxString& shortcutPath,
+ wxString& targetFilename,
+ wxString* arguments)
{
wxString path, file, ext;
wxSplitPath(shortcutPath, & path, & file, & ext);
MAX_PATH);
hres = ppf->Load(wsz, 0);
+ ppf->Release();
+
if (SUCCEEDED(hres))
{
wxChar buf[2048];
}
}
}
+
+ psl->Release();
}
- psl->Release();
return success;
}
-#endif
+
+#endif // __WIN32__ && !__WXWINCE__
// ----------------------------------------------------------------------------
if (!wxFileExists(filename))
return wxInvalidSize;
-#ifdef __WIN32__
+#if defined(__WXPALMOS__)
+ // TODO
+ return wxInvalidSize;
+#elif defined(__WIN32__)
wxFileHandle f(filename, wxFileHandle::Read);
if (!f.IsOk())
return wxInvalidSize;