Get current directory during tests on win9x too.

This commit is contained in:
Saulius Krasuckas 2005-06-09 12:05:50 +00:00 committed by Alexandre Julliard
parent fa1b7822a5
commit 83ac47e53c
1 changed files with 3 additions and 1 deletions

View File

@ -219,11 +219,13 @@ START_TEST(shlfolder)
{
ITEMIDLIST *newPIDL;
IShellFolder *IDesktopFolder, *testIShellFolder;
char cCurrDirA [MAX_PATH] = {0};
WCHAR cCurrDirW [MAX_PATH];
static const WCHAR cTestDirW[] = {'\\','t','e','s','t','d','i','r',0};
HRESULT hr;
GetCurrentDirectoryW(MAX_PATH, cCurrDirW);
GetCurrentDirectoryA(MAX_PATH, cCurrDirA);
MultiByteToWideChar(CP_ACP, 0, cCurrDirA, -1, cCurrDirW, MAX_PATH);
strcatW(cCurrDirW, cTestDirW);
OleInitialize(NULL);