[NTOSKRNL] Introduce the UUID_CACHED_VALUES_STRUCT structure
authorPierre Schweitzer <pierre@reactos.org>
Wed, 27 Feb 2019 08:02:30 +0000 (09:02 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 1 Mar 2019 07:22:47 +0000 (08:22 +0100)
Source: https://blog.48bits.com/el-codigo-ntoskvinci/

ntoskrnl/ex/uuid.c
ntoskrnl/include/internal/ex.h

index 60103f0..459b957 100644 (file)
@@ -41,6 +41,7 @@ static UCHAR UuidSeed[SEED_BUFFER_SIZE];
 static ULONG UuidCount;
 static LARGE_INTEGER LuidIncrement;
 static LARGE_INTEGER LuidValue;
+UUID_CACHED_VALUES_STRUCT ExpUuidCachedValues = { 0ULL, 0xFFFFFFFF, 0, 0, { 0x80, 0x6E, 0x6F, 0x6E, 0x69, 0x63 } };
 
 /* FUNCTIONS ****************************************************************/
 
index 2eaf8d2..2072a6a 100644 (file)
@@ -167,6 +167,15 @@ ExGetPoolTagInfo(
     IN OUT PULONG ReturnLength OPTIONAL
 );
 
+typedef struct _UUID_CACHED_VALUES_STRUCT
+{
+    ULONGLONG Time;
+    LONG AllocatedCount;
+    UCHAR ClockSeqHiAndReserved;
+    UCHAR ClockSeqLow;
+    UCHAR NodeId [ 6 ] ;
+} UUID_CACHED_VALUES_STRUCT, *PUUID_CACHED_VALUES_STRUCT;
+
 /* INITIALIZATION FUNCTIONS *************************************************/
 
 INIT_FUNCTION