#include "exp.h"Go to the source code of this file.
Classes | |
| struct | _UUID_GENERATE |
| struct | _UUID_CACHED_VALUES_STRUCT |
Defines | |
| #define | RPC_SEQUENCE_NUMBER_PATH L"\\Registry\\Machine\\Software\\Microsoft\\Rpc" |
| #define | RPC_SEQUENCE_NUMBER_NAME L"UuidSequenceNumber" |
| #define | UUID_TIME_HIGH_MASK 0x0FFF |
| #define | UUID_VERSION 0x1000 |
| #define | UUID_RESERVED 0x80 |
| #define | UUID_CLOCK_SEQ_HI_MASK 0x3F |
| #define | CACHE_LOCAL_ONLY 0 |
| #define | CACHE_VALID 1 |
| #define | SEED_SIZE 6 * sizeof(CHAR) |
Typedefs | |
| typedef _UUID_GENERATE | UUID_GENERATE |
| typedef _UUID_CACHED_VALUES_STRUCT | UUID_CACHED_VALUES_STRUCT |
Functions | |
| NTSTATUS | ExpUuidLoadSequenceNumber (OUT PULONG) |
| NTSTATUS | ExpUuidSaveSequenceNumber (IN ULONG) |
| NTSTATUS | ExpUuidSaveSequenceNumberIf () |
| NTSTATUS | ExpUuidGetValues (OUT UUID_CACHED_VALUES_STRUCT *Values) |
| BOOLEAN | ExpUuidInitialization (VOID) |
| NTSTATUS | ExpAllocateUuids (OUT PLARGE_INTEGER Time, OUT PULONG Range, OUT PULONG Sequence) |
| NTSTATUS | NtSetUuidSeed (IN PCHAR Seed) |
| NTSTATUS | NtAllocateUuids (OUT PULARGE_INTEGER Time, OUT PULONG Range, OUT PULONG Sequence, OUT PCHAR Seed) |
| NTSTATUS | ExUuidCreate (OUT UUID *Uuid) |
Variables | |
| LARGE_INTEGER | ExpUuidLastTimeAllocated |
| BOOLEAN | ExpUuidCacheValid = CACHE_LOCAL_ONLY |
| UUID_CACHED_VALUES_STRUCT | ExpUuidCachedValues = { 0, -1, 0, 0, { 0x80, 'm', 'a', 'r', 'i', 'o' }} |
| ULONG | ExpUuidSequenceNumber |
| BOOLEAN | ExpUuidSequenceNumberValid |
| BOOLEAN | ExpUuidSequenceNumberNotSaved |
| FAST_MUTEX | ExpUuidLock |
|
|
Definition at line 58 of file uuid.c. Referenced by ExUuidCreate(), and NtSetUuidSeed(). |
|
|
Definition at line 59 of file uuid.c. Referenced by NtSetUuidSeed(). |
|
|
Definition at line 49 of file uuid.c. Referenced by ExpUuidLoadSequenceNumber(), and ExpUuidSaveSequenceNumber(). |
|
|
Definition at line 48 of file uuid.c. Referenced by ExpUuidLoadSequenceNumber(), and ExpUuidSaveSequenceNumber(). |
|
|
Definition at line 528 of file uuid.c. Referenced by NtAllocateUuids(), and NtSetUuidSeed(). |
|
|
Definition at line 55 of file uuid.c. Referenced by ExpUuidGetValues(). |
|
|
Definition at line 54 of file uuid.c. Referenced by ExpUuidGetValues(). |
|
|
Definition at line 52 of file uuid.c. Referenced by ExUuidCreate(). |
|
|
Definition at line 53 of file uuid.c. Referenced by ExUuidCreate(). |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 378 of file uuid.c. References ExpUuidLastTimeAllocated, ExpUuidLoadSequenceNumber(), ExpUuidSequenceNumber, ExpUuidSequenceNumberNotSaved, ExpUuidSequenceNumberValid, FALSE, KeQueryPerformanceCounter(), KeQuerySystemTime(), NT_SUCCESS, NTSTATUS(), PAGED_CODE, Status, Time, and TRUE. Referenced by ExpUuidGetValues(), and NtAllocateUuids().
|
|
|
Definition at line 751 of file uuid.c. References ASSERT, ExpAllocateUuids(), NT_SUCCESS, NTSTATUS(), PAGED_CODE, Status, Time, UUID_CLOCK_SEQ_HI_MASK, and UUID_RESERVED. Referenced by ExUuidCreate().
|
|
|
Definition at line 340 of file uuid.c. References ExInitializeFastMutex, ExpUuidLastTimeAllocated, ExpUuidLock, ExpUuidSequenceNumberValid, FALSE, KeQuerySystemTime(), NTSTATUS(), PAGED_CODE, Status, and TRUE.
|
|
|
Definition at line 137 of file uuid.c. References CHAR, Key, KeyName, KeyPath, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, PAGED_CODE, RPC_SEQUENCE_NUMBER_NAME, RPC_SEQUENCE_NUMBER_PATH, RtlInitUnicodeString(), and Status. Referenced by ExpAllocateUuids().
|
|
|
Definition at line 220 of file uuid.c. References Key, KeyName, KeyPath, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, PAGED_CODE, RPC_SEQUENCE_NUMBER_NAME, RPC_SEQUENCE_NUMBER_PATH, RtlInitUnicodeString(), and Status. Referenced by ExpUuidSaveSequenceNumberIf().
|
|
|
Definition at line 287 of file uuid.c. References ExpUuidSaveSequenceNumber(), ExpUuidSequenceNumber, ExpUuidSequenceNumberNotSaved, FALSE, NT_SUCCESS, NTSTATUS(), PAGED_CODE, Status, and TRUE. Referenced by ExUuidCreate(), and NtAllocateUuids().
|
|
|
Definition at line 841 of file uuid.c. References _UUID_CACHED_VALUES_STRUCT::AllocatedCount, ASSERT, CACHE_LOCAL_ONLY, _UUID_GENERATE::ClockSeqHiAndReserved, _UUID_CACHED_VALUES_STRUCT::ClockSeqHiAndReserved, ExAcquireFastMutexUnsafe(), ExpUuidCachedValues, ExpUuidCacheValid, ExpUuidGetValues(), ExpUuidLock, ExpUuidSaveSequenceNumberIf(), ExReleaseFastMutexUnsafe(), KeEnterCriticalRegion, KeLeaveCriticalRegion, _UUID_GENERATE::NodeId, _UUID_CACHED_VALUES_STRUCT::NodeId, NTSTATUS(), PAGED_CODE, Status, Time, _UUID_CACHED_VALUES_STRUCT::Time, _UUID_GENERATE::TimeHiAndVersion, _UUID_GENERATE::TimeLow, _UUID_GENERATE::TimeMid, USHORT, UUID, UUID_TIME_HIGH_MASK, and UUID_VERSION. Referenced by CmpCloneHwProfile().
|
|
||||||||||||||||||||
|
Definition at line 617 of file uuid.c. References CHAR, ExAcquireFastMutexUnsafe(), ExpAllocateUuids(), ExpUuidCachedValues, ExpUuidLock, ExpUuidSaveSequenceNumberIf(), ExReleaseFastMutexUnsafe(), ExSystemExceptionFilter(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, KPROCESSOR_MODE, _UUID_CACHED_VALUES_STRUCT::NodeId, NT_SUCCESS, NTSTATUS(), PAGED_CODE, ProbeForWrite(), Seed, SEED_SIZE, Status, and Time.
|
|
|
Definition at line 532 of file uuid.c. References ASSERT, CACHE_LOCAL_ONLY, CACHE_VALID, CHAR, EXCEPTION_EXECUTE_HANDLER, ExpUuidCachedValues, ExpUuidCacheValid, ExRaiseStatus(), FALSE, KernelMode, _UUID_CACHED_VALUES_STRUCT::NodeId, NT_SUCCESS, NTSTATUS(), PAGED_CODE, ProbeForRead, SeCaptureSubjectContext(), Seed, SEED_SIZE, SeQueryAuthenticationIdToken(), SeQuerySubjectContextToken, SeReleaseSubjectContext(), Status, and TRUE.
|
|
|
Definition at line 95 of file uuid.c. Referenced by ExUuidCreate(), NtAllocateUuids(), and NtSetUuidSeed(). |
|
|
Definition at line 91 of file uuid.c. Referenced by ExUuidCreate(), and NtSetUuidSeed(). |
|
|
Definition at line 90 of file uuid.c. Referenced by ExpAllocateUuids(), and ExpUuidInitialization(). |
|
|
Definition at line 103 of file uuid.c. Referenced by ExpUuidInitialization(), ExUuidCreate(), and NtAllocateUuids(). |
|
|
Definition at line 98 of file uuid.c. Referenced by ExpAllocateUuids(), and ExpUuidSaveSequenceNumberIf(). |
|
|
Definition at line 100 of file uuid.c. Referenced by ExpAllocateUuids(), and ExpUuidSaveSequenceNumberIf(). |
|
|
Definition at line 99 of file uuid.c. Referenced by ExpAllocateUuids(), and ExpUuidInitialization(). |
1.3.7