kernel32: Stub SetFirmwareEnvironmentVariableW.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49581
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2020-07-19 22:57:22 -06:00 committed by Alexandre Julliard
parent f992bc77c8
commit f189bd4ba8
3 changed files with 12 additions and 2 deletions

View File

@ -94,7 +94,7 @@
@ stdcall RegisterWaitForSingleObject(ptr long ptr ptr long long) kernel32.RegisterWaitForSingleObject
@ stdcall SetConsoleTitleA(str) kernel32.SetConsoleTitleA
@ stdcall SetFileCompletionNotificationModes(long long) kernel32.SetFileCompletionNotificationModes
@ stub SetFirmwareEnvironmentVariableW
@ stdcall SetFirmwareEnvironmentVariableW(wstr wstr ptr long) kernel32.SetFirmwareEnvironmentVariableW
@ stdcall SetHandleCount(long) kernel32.SetHandleCount
@ stdcall SetMailslotInfo(long long) kernel32.SetMailslotInfo
@ stdcall SetProcessAffinityMask(long long) kernel32.SetProcessAffinityMask

View File

@ -1414,7 +1414,7 @@
@ stdcall -import SetFileTime(long ptr ptr ptr)
@ stdcall -import SetFileValidData(ptr int64)
# @ stub SetFirmwareEnvironmentVariableA
# @ stub SetFirmwareEnvironmentVariableW
@ stdcall SetFirmwareEnvironmentVariableW(wstr wstr ptr long)
@ stdcall SetHandleContext(long long)
@ stdcall SetHandleCount(long)
@ stdcall -import SetHandleInformation(long long long)

View File

@ -770,6 +770,16 @@ DWORD WINAPI GetFirmwareEnvironmentVariableW(LPCWSTR name, LPCWSTR guid, PVOID b
return 0;
}
/***********************************************************************
* SetFirmwareEnvironmentVariableW (KERNEL32.@)
*/
BOOL WINAPI SetFirmwareEnvironmentVariableW(const WCHAR *name, const WCHAR *guid, void *buffer, DWORD size)
{
FIXME("stub: %s %s %p %u\n", debugstr_w(name), debugstr_w(guid), buffer, size);
SetLastError(ERROR_INVALID_FUNCTION);
return FALSE;
}
/**********************************************************************
* GetNumaNodeProcessorMask (KERNEL32.@)
*/