mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[CMAKE]
- Sync with trunk head (r50270) - This also reverts r49298. svn path=/branches/cmake-bringup/; revision=50271
This commit is contained in:
commit
6c0c23cb53
482 changed files with 40346 additions and 24711 deletions
|
@ -26,30 +26,27 @@ Revision History:
|
|||
#include <ntddk.h>
|
||||
#include <classpnp.h>
|
||||
|
||||
#define DICTIONARY_SIGNATURE (((ULONG)'dict' << 32) + 'sig ')
|
||||
#define DICTIONARY_SIGNATURE 'dsig'
|
||||
|
||||
struct _DICTIONARY_HEADER {
|
||||
typedef struct _DICTIONARY_HEADER {
|
||||
struct _DICTIONARY_HEADER* Next;
|
||||
ULONGLONG Key;
|
||||
UCHAR Data[0];
|
||||
};
|
||||
} DICTIONARY_HEADER, *PDICTIONARY_HEADER;
|
||||
|
||||
struct _DICTIONARY_HEADER;
|
||||
typedef struct _DICTIONARY_HEADER DICTIONARY_HEADER, *PDICTIONARY_HEADER;
|
||||
|
||||
|
||||
VOID
|
||||
InitializeDictionary(
|
||||
IN PDICTIONARY Dictionary
|
||||
)
|
||||
{
|
||||
RtlZeroMemory(Dictionary, sizeof(Dictionary));
|
||||
RtlZeroMemory(Dictionary, sizeof(DICTIONARY));
|
||||
Dictionary->Signature = DICTIONARY_SIGNATURE;
|
||||
KeInitializeSpinLock(&Dictionary->SpinLock);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOLEAN
|
||||
TestDictionarySignature(
|
||||
IN PDICTIONARY Dictionary
|
||||
|
@ -136,7 +133,7 @@ AllocateDictionaryEntry(
|
|||
return status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
PVOID
|
||||
GetDictionaryEntry(
|
||||
IN PDICTIONARY Dictionary,
|
||||
|
@ -168,7 +165,7 @@ GetDictionaryEntry(
|
|||
return data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
FreeDictionaryEntry(
|
||||
IN PDICTIONARY Dictionary,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue