Commit fca16bc5 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

kernel32: Implement GetProductInfo on top of ntdll stub.

parent ee0b7663
...@@ -599,6 +599,7 @@ ...@@ -599,6 +599,7 @@
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) @ stdcall GetProcessTimes(long ptr ptr ptr ptr)
@ stdcall GetProcessVersion(long) @ stdcall GetProcessVersion(long)
@ stdcall GetProcessWorkingSetSize(long ptr ptr) @ stdcall GetProcessWorkingSetSize(long ptr ptr)
@ stdcall GetProductInfo(long long long long ptr)
@ stub GetProductName @ stub GetProductName
@ stdcall GetProfileIntA(str str long) @ stdcall GetProfileIntA(str str long)
@ stdcall GetProfileIntW(wstr wstr long) @ stdcall GetProfileIntW(wstr wstr long)
......
...@@ -186,3 +186,18 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode) ...@@ -186,3 +186,18 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode)
FIXME("(%d): stub\n", bInstallMode); FIXME("(%d): stub\n", bInstallMode);
return 0; return 0;
} }
/***********************************************************************
* GetProductInfo (KERNEL32.@)
*
* Gives info about the current Windows product type, in a format compatible
* with the given Windows version
*
* Returns TRUE if the input is valid, FALSE otherwise
*/
BOOL WINAPI GetProductInfo(DWORD dwOSMajorVersion, DWORD dwOSMinorVersion, DWORD dwSpMajorVersion,
DWORD dwSpMinorVersion, PDWORD pdwReturnedProductType)
{
return RtlGetProductInfo(dwOSMajorVersion, dwOSMinorVersion,
dwSpMajorVersion, dwSpMinorVersion, pdwReturnedProductType);
}
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