ntdll: Add RtlGetProductInfo stub.

This commit is contained in:
Alexander Nicolaysen Sørnes 2009-10-25 15:09:37 +01:00 committed by Alexandre Julliard
parent 1c4c2bbf33
commit ee0b76632a
2 changed files with 19 additions and 0 deletions

View File

@ -636,6 +636,7 @@
@ stdcall RtlGetNtProductType(ptr)
@ stdcall RtlGetNtVersionNumbers(ptr ptr ptr)
@ stdcall RtlGetOwnerSecurityDescriptor(ptr ptr ptr)
@ stdcall RtlGetProductInfo(long long long long ptr)
@ stdcall RtlGetProcessHeaps(long ptr)
@ stdcall RtlGetSaclSecurityDescriptor(ptr ptr ptr ptr)
# @ stub RtlGetSecurityDescriptorRMControl

View File

@ -527,6 +527,24 @@ done:
current_version->wProductType );
}
/***********************************************************************
* GetProductInfo (NTDLL.@)
*
* 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
*/
BOOLEAN WINAPI RtlGetProductInfo(DWORD dwOSMajorVersion, DWORD dwOSMinorVersion, DWORD dwSpMajorVersion,
DWORD dwSpMinorVersion, PDWORD pdwReturnedProductType)
{
FIXME("(%d,%d,%d,%d,%p): stub\n", dwOSMajorVersion, dwOSMinorVersion,
dwSpMajorVersion, dwSpMinorVersion, pdwReturnedProductType);
*pdwReturnedProductType = PRODUCT_ULTIMATE_N;
return TRUE;
}
/***********************************************************************
* RtlGetVersion (NTDLL.@)