kernel32: Add GetSystemFirmwareTable stub.

This commit is contained in:
Austin English 2015-01-22 22:49:59 -06:00 committed by Alexandre Julliard
parent cdc4022a54
commit fa80425242
5 changed files with 14 additions and 2 deletions

View File

@ -9,7 +9,7 @@
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW
@ stub GetSystemFirmwareTable
@ stdcall GetSystemFirmwareTable(long long ptr long) kernel32.GetSystemFirmwareTable
@ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo
@ stdcall GetSystemTime(ptr) kernel32.GetSystemTime
@ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment

View File

@ -11,7 +11,7 @@
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stdcall GetSystemDirectoryA(ptr long) kernel32.GetSystemDirectoryA
@ stdcall GetSystemDirectoryW(ptr long) kernel32.GetSystemDirectoryW
@ stub GetSystemFirmwareTable
@ stdcall GetSystemFirmwareTable(long long ptr long) kernel32.GetSystemFirmwareTable
@ stdcall GetSystemInfo(ptr) kernel32.GetSystemInfo
@ stdcall GetSystemTime(ptr) kernel32.GetSystemTime
@ stdcall GetSystemTimeAdjustment(ptr ptr ptr) kernel32.GetSystemTimeAdjustment

View File

@ -650,6 +650,7 @@
@ stdcall GetSystemDEPPolicy()
@ stdcall GetSystemDirectoryA(ptr long)
@ stdcall GetSystemDirectoryW(ptr long)
@ stdcall GetSystemFirmwareTable(long long ptr long)
@ stdcall GetSystemInfo(ptr)
@ stdcall GetSystemPowerStatus(ptr)
@ stdcall GetSystemRegistryQuota(ptr ptr)

View File

@ -4004,3 +4004,13 @@ HRESULT WINAPI UnregisterApplicationRestart(void)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
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;
}

View File

@ -2008,6 +2008,7 @@ WINBASEAPI HANDLE WINAPI GetStdHandle(DWORD);
WINBASEAPI UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
WINBASEAPI UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
#define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory)
WINBASEAPI UINT WINAPI GetSystemFirmwareTable(DWORD,DWORD,PVOID,DWORD);
WINBASEAPI VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
WINBASEAPI BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
WINBASEAPI BOOL WINAPI GetSystemRegistryQuota(PDWORD,PDWORD);