3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Various functions
6 * FILE: lib/ntdll/rtl/misc.c
7 * PROGRAMER: Eric Kohl <ekohl@zr-online.de>
12 /* INCLUDES *****************************************************************/
14 #include <ddk/ntddk.h>
15 #include <ntdll/rtl.h>
17 /* GLOBALS ******************************************************************/
19 extern ULONG NtGlobalFlag;
21 /* FUNCTIONS ****************************************************************/
23 /**********************************************************************
28 * Retrieves the global os flags.
41 RtlGetNtGlobalFlags(VOID)
47 /**********************************************************************
52 * Retrieves the OS product type.
55 * ProductType Pointer to the product type variable.
58 * TRUE if successful, otherwise FALSE
61 * ProductType can be one of the following values:
62 * 1 Workstation (Winnt)
64 * 3 Advanced Server (Servernt)
71 RtlGetNtProductType(PNT_PRODUCT_TYPE ProductType)
73 *ProductType = SharedUserData->NtProductType;