X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb755cb737c22705c58e3dba8b990c4d3eefd741..2028c33ab5a39a12bd410ac953731a56ad6377ba:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 050141ad67..3f40781ab7 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -819,6 +819,24 @@ public: static bool IsPathSeparator(wxChar ch, wxPathFormat format = wxPATH_NATIVE); + /** + Returns @true if the volume part of the path is a unique volume name. + + This function will always return @false if the path format is not + wxPATH_DOS. + + Unique volume names are Windows volume identifiers which remain the same + regardless of where the volume is actually mounted. Example of a path + using a volume name could be + @code + \\?\Volume{8089d7d7-d0ac-11db-9dd0-806d6172696f}\Program Files\setup.exe + @endcode + + @since 2.9.1 + */ + static bool IsMSWUniqueVolumeNamePath(const wxString& path, + wxPathFormat format = wxPATH_NATIVE); + /** Returns @true if this filename is not absolute. */