mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 14:48:37 +00:00
Although ObDereferenceObject is usually macro-forwarded to ObfDereferenceObject,
it is also exported from NT4 NTOSKRNL.EXE svn path=/trunk/; revision=6598
This commit is contained in:
parent
e459864561
commit
0ac3819023
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.def,v 1.168 2003/10/21 21:46:39 ekohl Exp $
|
; $Id: ntoskrnl.def,v 1.169 2003/11/09 23:20:27 gvg Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -626,6 +626,7 @@ ObReferenceObjectByHandle@24
|
||||||
ObReferenceObjectByName@32
|
ObReferenceObjectByName@32
|
||||||
ObReferenceObjectByPointer@16
|
ObReferenceObjectByPointer@16
|
||||||
ObReleaseObjectSecurity@8
|
ObReleaseObjectSecurity@8
|
||||||
|
ObDereferenceObject@4
|
||||||
;ObSetSecurityDescriptorInfo@24
|
;ObSetSecurityDescriptorInfo@24
|
||||||
;PfxFindPrefix
|
;PfxFindPrefix
|
||||||
;PfxInitialize
|
;PfxInitialize
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: ntoskrnl.edf,v 1.155 2003/10/21 21:46:39 ekohl Exp $
|
; $Id: ntoskrnl.edf,v 1.156 2003/11/09 23:20:27 gvg Exp $
|
||||||
;
|
;
|
||||||
; reactos/ntoskrnl/ntoskrnl.def
|
; reactos/ntoskrnl/ntoskrnl.def
|
||||||
;
|
;
|
||||||
|
@ -627,6 +627,7 @@ ObReferenceObjectByHandle=ObReferenceObjectByHandle@24
|
||||||
ObReferenceObjectByName=ObReferenceObjectByName@32
|
ObReferenceObjectByName=ObReferenceObjectByName@32
|
||||||
ObReferenceObjectByPointer=ObReferenceObjectByPointer@16
|
ObReferenceObjectByPointer=ObReferenceObjectByPointer@16
|
||||||
ObReleaseObjectSecurity=ObReleaseObjectSecurity@8
|
ObReleaseObjectSecurity=ObReleaseObjectSecurity@8
|
||||||
|
ObDereferenceObject=ObDereferenceObject@4
|
||||||
;ObSetSecurityDescriptorInfo=ObSetSecurityDescriptorInfo@24
|
;ObSetSecurityDescriptorInfo=ObSetSecurityDescriptorInfo@24
|
||||||
;PfxFindPrefix
|
;PfxFindPrefix
|
||||||
;PfxInitialize
|
;PfxInitialize
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: object.c,v 1.71 2003/10/30 21:34:54 ekohl Exp $
|
/* $Id: object.c,v 1.72 2003/11/09 23:20:27 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -807,4 +807,32 @@ ObGetObjectHandleCount(PVOID Object)
|
||||||
return(Header->HandleCount);
|
return(Header->HandleCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* NAME EXPORTED
|
||||||
|
* ObDereferenceObject@4
|
||||||
|
*
|
||||||
|
* DESCRIPTION
|
||||||
|
* Decrements a given object's reference count and performs
|
||||||
|
* retention checks.
|
||||||
|
*
|
||||||
|
* ARGUMENTS
|
||||||
|
* ObjectBody = Body of the object.
|
||||||
|
*
|
||||||
|
* RETURN VALUE
|
||||||
|
* None.
|
||||||
|
*
|
||||||
|
* @implemented
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef ObDereferenceObject
|
||||||
|
#undef ObDereferenceObject
|
||||||
|
#endif
|
||||||
|
|
||||||
|
VOID STDCALL
|
||||||
|
ObDereferenceObject(IN PVOID Object)
|
||||||
|
{
|
||||||
|
ObfDereferenceObject(Object);
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue