From 4fd5bf40a23acdb38e596d6f39cf1ab87e865a11 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 10 Aug 2005 14:48:45 +0000 Subject: [PATCH] Implemented RtlGetNtProductType. --- dlls/ntdll/rtl.c | 10 ---------- dlls/ntdll/version.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c index 52740015366..930c9d9e9aa 100644 --- a/dlls/ntdll/rtl.c +++ b/dlls/ntdll/rtl.c @@ -383,16 +383,6 @@ DWORD WINAPI RtlDeleteSecurityObject(DWORD x1) { return 0; } -/************************************************************************** - * RtlGetNtProductType [NTDLL.@] - */ -BOOLEAN WINAPI RtlGetNtProductType(LPDWORD type) -{ - FIXME("(%p): stub\n", type); - *type=3; /* dunno. 1 for client, 3 for server? */ - return 1; -} - /************************************************************************** * _chkstk [NTDLL.@] * diff --git a/dlls/ntdll/version.c b/dlls/ntdll/version.c index d0716cfb378..cf1c8ed786e 100644 --- a/dlls/ntdll/version.c +++ b/dlls/ntdll/version.c @@ -328,6 +328,16 @@ void WINAPI RtlGetNtVersionNumbers( LPDWORD major, LPDWORD minor, LPDWORD build } +/****************************************************************************** + * RtlGetNtProductType (NTDLL.@) + */ +BOOLEAN WINAPI RtlGetNtProductType( LPDWORD type ) +{ + if (type) *type = current_version->wProductType; + return TRUE; +} + + /****************************************************************************** * VerifyVersionInfoW (KERNEL32.@) */