kernel32: Implement GetProductInfo on top of ntdll stub.
This commit is contained in:
parent
ee0b76632a
commit
fca16bc519
|
@ -599,6 +599,7 @@
|
|||
@ stdcall GetProcessTimes(long ptr ptr ptr ptr)
|
||||
@ stdcall GetProcessVersion(long)
|
||||
@ stdcall GetProcessWorkingSetSize(long ptr ptr)
|
||||
@ stdcall GetProductInfo(long long long long ptr)
|
||||
@ stub GetProductName
|
||||
@ stdcall GetProfileIntA(str str long)
|
||||
@ stdcall GetProfileIntW(wstr wstr long)
|
||||
|
|
|
@ -186,3 +186,18 @@ DWORD WINAPI SetTermsrvAppInstallMode(BOOL bInstallMode)
|
|||
FIXME("(%d): stub\n", bInstallMode);
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue