https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f44cb6de96e8fc9a519e5…
commit f44cb6de96e8fc9a519e589f24e46ed1a7b84cab
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Fri Feb 28 13:14:36 2020 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sun Apr 26 14:08:58 2020 +0200
[NDK][NTDLL] RtlGetNtProductType(): Update it with SAL2 annotations
---
dll/ntdll/rtl/version.c | 2 +-
sdk/include/ndk/rtlfuncs.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/ntdll/rtl/version.c b/dll/ntdll/rtl/version.c
index 37f0960ec66..f7d44e5f209 100644
--- a/dll/ntdll/rtl/version.c
+++ b/dll/ntdll/rtl/version.c
@@ -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;
diff --git a/sdk/include/ndk/rtlfuncs.h b/sdk/include/ndk/rtlfuncs.h
index d8764771eb7..4fa1bde2747 100644
--- a/sdk/include/ndk/rtlfuncs.h
+++ b/sdk/include/ndk/rtlfuncs.h
@@ -4526,7 +4526,7 @@ RtlGetVersion(
NTSYSAPI
BOOLEAN
NTAPI
-RtlGetNtProductType(OUT PNT_PRODUCT_TYPE ProductType);
+RtlGetNtProductType(_Out_ PNT_PRODUCT_TYPE ProductType);
//
// Secure Memory Functions