Commit 9d50dccb authored by P. Christeas's avatar P. Christeas Committed by Alexandre Julliard

Implemented MakeSureDirectoryPathExists.

parent d0300d92
......@@ -85,8 +85,13 @@ PAPI_VERSION WINAPI ImagehlpApiVersionEx(PAPI_VERSION AppVersion)
*/
BOOL WINAPI MakeSureDirectoryPathExists(LPCSTR DirPath)
{
FIXME("(%s): stub\n", debugstr_a(DirPath));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
if (CreateDirectoryA(DirPath,NULL))
return TRUE;
if (GetLastError() == ERROR_ALREADY_EXISTS)
{
SetLastError(ERROR_SUCCESS);
return TRUE;
}
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment