[NTOSKRNL] Introduce the UUID_CACHED_VALUES_STRUCT structure

Source: https://blog.48bits.com/el-codigo-ntoskvinci/
This commit is contained in:
Pierre Schweitzer 2019-02-27 09:02:30 +01:00
parent 81c88c1029
commit 2d9673c68f
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 10 additions and 0 deletions

View 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 ****************************************************************/

View 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