diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 68325ba19d5..9fecbd7d23a 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1429,7 +1429,7 @@ # @ stub SetProcessUserModeExceptionPolicy @ stdcall SetProcessWorkingSetSize(long long long) # @ stub SetProcessWorkingSetSizeEx -# @ stub SetSearchPathMode +@ stdcall SetSearchPathMode(long) @ stdcall SetStdHandle(long long) # @ stub SetStdHandleEx @ stdcall SetSystemFileCacheSize(long long long) diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c index b12c71e28c7..b3fccb2f722 100644 --- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -2088,3 +2088,10 @@ BOOL WINAPI CheckNameLegalDOS8Dot3W(const WCHAR *name, char *oemname, DWORD oemn return TRUE; } + +BOOL WINAPI SetSearchPathMode(DWORD flags) +{ + FIXME("(%x): stub\n", flags); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +}