summaryrefslogtreecommitdiff
path: root/Editor/Win/Win.cpp
blob: f6310e2d3f1af881e046ec84991445d1560d0829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "win.h"

namespace Win
{

	std::string GetCurrentWorkingDirectory()
	{
		char path[MAX_PATH];
		GetCurrentDirectory(MAX_PATH, path);
		return path;
	}

	void SetDllSearchDirectory(std::string path)
	{
		SetDllDirectory(path.c_str());
	}

}