22#define PRODUCT_TAG 'iPtR'
110 DPRINT1(
"RtlGetNtProductType(): Memory pool allocation has failed!\n");
126 DPRINT1(
"RtlGetNtProductType(): The ZwOpenKey() function has failed! (Status: 0x%lx)\n",
Status);
144 DPRINT1(
"RtlGetNtProductType(): The ZwQueryValueKey() function has failed! (Status: 0x%lx)\n",
Status);
156 DPRINT1(
"RtlGetNtProductType(): An invalid value type has been found!\n");
193 DPRINT1(
"RtlGetNtProductType(): Couldn't find a valid product type! Defaulting to WinNT...\n");
_In_ ULONG _In_ BATTERY_QUERY_INFORMATION_LEVEL _In_ LONG _In_ ULONG _Out_ PULONG ReturnedLength
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define NT_SUCCESS(StatCode)
enum _NT_PRODUCT_TYPE * PNT_PRODUCT_TYPE
#define ExAllocatePoolWithTag(hernya, size, tag)
ULONG RtlCompareUnicodeString(PUNICODE_STRING s1, PUNICODE_STRING s2, BOOLEAN UpCase)
#define OBJ_KERNEL_HANDLE
#define OBJ_CASE_INSENSITIVE
NTSYSAPI ULONG WINAPI RtlGetNtGlobalFlags(void)
#define ExFreePoolWithTag(_P, _T)
#define InitializeObjectAttributes(p, n, a, r, s)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
#define VER_PLATFORM_WIN32_NT
@ KeyValuePartialInformation
struct _KEY_VALUE_PARTIAL_INFORMATION * PKEY_VALUE_PARTIAL_INFORMATION
#define UNREFERENCED_PARAMETER(P)
_In_ ULONG _In_ ULONG _In_ ULONG Length
BOOLEAN NTAPI RtlGetNtProductType(OUT PNT_PRODUCT_TYPE ProductType)
Retrieves the NT type product of the operating system. This is the kernel-mode variant of this functi...
VOID FASTCALL RtlPrefetchMemoryNonTemporal(IN PVOID Source, IN SIZE_T Length)
NTSTATUS NTAPI RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation)
#define RTL_CONSTANT_STRING(s)
struct _OSVERSIONINFOEXW * PRTL_OSVERSIONINFOEXW