[NDK][NTDLL] RtlGetNtProductType(): Update it with SAL2 annotations 2400/head
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Fri, 28 Feb 2020 12:14:36 +0000 (13:14 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 26 Apr 2020 12:08:58 +0000 (14:08 +0200)
dll/ntdll/rtl/version.c
sdk/include/ndk/rtlfuncs.h

index 37f0960..f7d44e5 100644 (file)
@@ -93,7 +93,7 @@ SetRosSpecificInfo(IN OUT PRTL_OSVERSIONINFOEXW VersionInformation)
  * @implemented
  */
 BOOLEAN NTAPI
-RtlGetNtProductType(PNT_PRODUCT_TYPE ProductType)
+RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType)
 {
     *ProductType = SharedUserData->NtProductType;
     return TRUE;
index d876477..4fa1bde 100644 (file)
@@ -4526,7 +4526,7 @@ RtlGetVersion(
 NTSYSAPI
 BOOLEAN
 NTAPI
-RtlGetNtProductType(OUT PNT_PRODUCT_TYPE ProductType);
+RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType);
 
 //
 // Secure Memory Functions