diff --git a/dlls/api-ms-win-core-libraryloader-l1-1-0/api-ms-win-core-libraryloader-l1-1-0.spec b/dlls/api-ms-win-core-libraryloader-l1-1-0/api-ms-win-core-libraryloader-l1-1-0.spec index 6c385b6165..f32206571d 100644 --- a/dlls/api-ms-win-core-libraryloader-l1-1-0/api-ms-win-core-libraryloader-l1-1-0.spec +++ b/dlls/api-ms-win-core-libraryloader-l1-1-0/api-ms-win-core-libraryloader-l1-1-0.spec @@ -25,5 +25,5 @@ @ stdcall LoadStringW(long long ptr long) user32.LoadStringW @ stdcall LockResource(long) kernel32.LockResource @ stub RemoveDllDirectory -@ stub SetDefaultDllDirectories +@ stdcall SetDefaultDllDirectories(long) kernel32.SetDefaultDllDirectories @ stdcall SizeofResource(long long) kernel32.SizeofResource diff --git a/dlls/api-ms-win-core-libraryloader-l1-1-1/api-ms-win-core-libraryloader-l1-1-1.spec b/dlls/api-ms-win-core-libraryloader-l1-1-1/api-ms-win-core-libraryloader-l1-1-1.spec index afd1407276..ba386a0af4 100644 --- a/dlls/api-ms-win-core-libraryloader-l1-1-1/api-ms-win-core-libraryloader-l1-1-1.spec +++ b/dlls/api-ms-win-core-libraryloader-l1-1-1/api-ms-win-core-libraryloader-l1-1-1.spec @@ -26,5 +26,5 @@ @ stdcall LockResource(long) kernel32.LockResource @ stub QueryOptionalDelayLoadedAPI @ stub RemoveDllDirectory -@ stub SetDefaultDllDirectories +@ stdcall SetDefaultDllDirectories(long) kernel32.SetDefaultDllDirectories @ stdcall SizeofResource(long long) kernel32.SizeofResource diff --git a/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec b/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec index 6c385b6165..f32206571d 100644 --- a/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec +++ b/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec @@ -25,5 +25,5 @@ @ stdcall LoadStringW(long long ptr long) user32.LoadStringW @ stdcall LockResource(long) kernel32.LockResource @ stub RemoveDllDirectory -@ stub SetDefaultDllDirectories +@ stdcall SetDefaultDllDirectories(long) kernel32.SetDefaultDllDirectories @ stdcall SizeofResource(long long) kernel32.SizeofResource diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 2d82c71eab..3c25286d26 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1375,7 +1375,7 @@ @ stub SetDaylightFlag @ stdcall SetDefaultCommConfigA(str ptr long) @ stdcall SetDefaultCommConfigW(wstr ptr long) -# @ stub SetDefaultDllDirectories +@ stdcall SetDefaultDllDirectories(long) @ stdcall SetDllDirectoryA(str) @ stdcall SetDllDirectoryW(wstr) # @ stub SetDynamicTimeZoneInformation diff --git a/dlls/kernel32/path.c b/dlls/kernel32/path.c index eadd2e79b5..c746693a75 100644 --- a/dlls/kernel32/path.c +++ b/dlls/kernel32/path.c @@ -2072,9 +2072,22 @@ BOOL WINAPI CheckNameLegalDOS8Dot3W(const WCHAR *name, char *oemname, DWORD oemn return TRUE; } +/************************************************************************* + * SetSearchPathMode (KERNEL32.@) + */ BOOL WINAPI SetSearchPathMode(DWORD flags) { FIXME("(%x): stub\n", flags); SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); return FALSE; } + +/************************************************************************* + * SetDefaultDllDirectories (KERNEL32.@) + */ +BOOL WINAPI SetDefaultDllDirectories(DWORD flags) +{ + FIXME("(%x): stub\n", flags); + SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); + return FALSE; +} diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec index de9404c88c..a7aecffb96 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec @@ -506,7 +506,7 @@ @ stdcall SetCriticalSectionSpinCount(ptr long) kernel32.SetCriticalSectionSpinCount @ stdcall SetCurrentDirectoryA(str) kernel32.SetCurrentDirectoryA @ stdcall SetCurrentDirectoryW(wstr) kernel32.SetCurrentDirectoryW -@ stub SetDefaultDllDirectories +@ stdcall SetDefaultDllDirectories(long) kernel32.SetDefaultDllDirectories @ stdcall SetEndOfFile(long) kernel32.SetEndOfFile @ stub SetEnvironmentStringsW @ stdcall SetEnvironmentVariableA(str str) kernel32.SetEnvironmentVariableA