diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-06-24 02:14:31 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-06-24 02:14:31 +0400 |
commit | 036a1c4eac5eebc47dca930749e718b202f955e9 (patch) | |
tree | 8de9fb018800c235f10e14909fd0b3c075b0782c /src/DSUtil/WinAPIUtils.h | |
parent | 6c178b76881dfcb86e36e96b1d3217f116ed7693 (diff) |
Add a GetProgramPath function to WinAPIUtils and use it everywhere where it makes sense to do so.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5259 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/WinAPIUtils.h')
-rw-r--r-- | src/DSUtil/WinAPIUtils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DSUtil/WinAPIUtils.h b/src/DSUtil/WinAPIUtils.h index f528e8f3e..d6e41c180 100644 --- a/src/DSUtil/WinAPIUtils.h +++ b/src/DSUtil/WinAPIUtils.h @@ -41,3 +41,5 @@ bool IsFontInstalled(LPCTSTR lpszFont); bool ExploreToFile(LPCTSTR path);
bool FileExists(LPCTSTR fileName);
+
+CString GetProgramPath(bool bWithExecutableName = false);
|