[NDK][NTDLL] RtlGetNtProductType(): Update it with SAL2 annotations

This commit is contained in:
Serge Gautherie 2020-02-28 13:14:36 +01:00 committed by Thomas Faber
parent 47b0f9a907
commit f44cb6de96
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ SetRosSpecificInfo(IN OUT PRTL_OSVERSIONINFOEXW VersionInformation)
* @implemented * @implemented
*/ */
BOOLEAN NTAPI BOOLEAN NTAPI
RtlGetNtProductType(PNT_PRODUCT_TYPE ProductType) RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType)
{ {
*ProductType = SharedUserData->NtProductType; *ProductType = SharedUserData->NtProductType;
return TRUE; return TRUE;

View file

@ -4526,7 +4526,7 @@ RtlGetVersion(
NTSYSAPI NTSYSAPI
BOOLEAN BOOLEAN
NTAPI NTAPI
RtlGetNtProductType(OUT PNT_PRODUCT_TYPE ProductType); RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType);
// //
// Secure Memory Functions // Secure Memory Functions