Commit fa804252 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Add GetSystemFirmwareTable stub.

parent cdc4022a
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo @ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA @ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW @ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW
@ stub GetSystemFirmwareTable @ stdcall GetSystemFirmwareTable(long long ptr long) kernel32.GetSystemFirmwareTable
@ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo @ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo
@ stdcall GetSystemTime(ptr) kernel32.GetSystemTime @ stdcall GetSystemTime(ptr) kernel32.GetSystemTime
@ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment @ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo @ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA @ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW @ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW
@ stub GetSystemFirmwareTable @ stdcall GetSystemFirmwareTable(long long ptr long) kernel32.GetSystemFirmwareTable
@ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo @ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo
@ stdcall GetSystemTime(ptr) kernel32.GetSystemTime @ stdcall GetSystemTime(ptr) kernel32.GetSystemTime
@ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment @ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment
......
...@@ -650,6 +650,7 @@ ...@@ -650,6 +650,7 @@
@ stdcall GetSystemDEPPolicy() @ stdcall GetSystemDEPPolicy()
@ stdcall GetSystemDirectoryA(ptr long) @ stdcall GetSystemDirectoryA(ptr long)
@ stdcall GetSystemDirectoryW(ptr long) @ stdcall GetSystemDirectoryW(ptr long)
@ stdcall GetSystemFirmwareTable(long long ptr long)
@ stdcall GetSystemInfo(ptr) @ stdcall GetSystemInfo(ptr)
@ stdcall GetSystemPowerStatus(ptr) @ stdcall GetSystemPowerStatus(ptr)
@ stdcall GetSystemRegistryQuota(ptr ptr) @ stdcall GetSystemRegistryQuota(ptr ptr)
......
...@@ -4004,3 +4004,13 @@ HRESULT WINAPI UnregisterApplicationRestart(void) ...@@ -4004,3 +4004,13 @@ HRESULT WINAPI UnregisterApplicationRestart(void)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return S_OK; return S_OK;
} }
/***********************************************************************
* GetSystemFirmwareTable (KERNEL32.@)
*/
UINT WINAPI GetSystemFirmwareTable(DWORD provider, DWORD id, PVOID buffer, DWORD size)
{
FIXME("(%d %d %p %d):stub\n", provider, id, buffer, size);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
...@@ -2008,6 +2008,7 @@ WINBASEAPI HANDLE WINAPI GetStdHandle(DWORD); ...@@ -2008,6 +2008,7 @@ WINBASEAPI HANDLE WINAPI GetStdHandle(DWORD);
WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT); WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT); WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
#define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory) #define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory)
WINBASEAPI UINT WINAPI GetSystemFirmwareTable(DWORD,DWORD,PVOID,DWORD);
WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO); WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS); WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD);
......
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