mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Initialized the object tag to prevent the tag 0xcccccccc.
svn path=/trunk/; revision=8571
This commit is contained in:
parent
68ddb0bcdd
commit
ef908e75fd
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: registry.c,v 1.121 2004/02/07 17:30:14 hbirr Exp $
|
||||
/* $Id: registry.c,v 1.122 2004/03/07 19:59:36 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -260,6 +260,7 @@ CmInitializeRegistry(VOID)
|
|||
/* Initialize the Key object type */
|
||||
CmiKeyType = ExAllocatePool(NonPagedPool, sizeof(OBJECT_TYPE));
|
||||
assert(CmiKeyType);
|
||||
CmiKeyType->Tag = TAG('R', 'e', 'g', 'K');
|
||||
CmiKeyType->TotalObjects = 0;
|
||||
CmiKeyType->TotalHandles = 0;
|
||||
CmiKeyType->MaxObjects = LONG_MAX;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: evtpair.c,v 1.20 2003/12/30 18:52:05 fireball Exp $
|
||||
/* $Id: evtpair.c,v 1.21 2004/03/07 19:59:37 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -71,7 +71,7 @@ NtInitializeEventPairImplementation(VOID)
|
|||
ExEventPairObjectType = ExAllocatePool(NonPagedPool,sizeof(OBJECT_TYPE));
|
||||
|
||||
RtlCreateUnicodeString(&ExEventPairObjectType->TypeName, L"EventPair");
|
||||
|
||||
ExEventPairObjectType->Tag = TAG('E', 'v', 'P', 'a');
|
||||
ExEventPairObjectType->MaxObjects = ULONG_MAX;
|
||||
ExEventPairObjectType->MaxHandles = ULONG_MAX;
|
||||
ExEventPairObjectType->TotalObjects = 0;
|
||||
|
|
Loading…
Reference in a new issue