- Fix definitions of OB_QUERYNAME_METHOD and OB_OKAYTOCLOSE_METHOD. Add fixme for...
authorAlex Ionescu <aionescu@gmail.com>
Sun, 11 Jun 2006 06:52:56 +0000 (06:52 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sun, 11 Jun 2006 06:52:56 +0000 (06:52 +0000)
commit259db9be4728bed61bb52d42731dc56ffbc32b39
treeaca46a972e503bcbb014fc96a2e209bd86f0eec8
parentd6a84751c706078547bc949b60aa3d509fd1c2c5
- Fix definitions of OB_QUERYNAME_METHOD and OB_OKAYTOCLOSE_METHOD. Add fixme for OB_SECURITY_METHOD, will change it later.
- Simplified NtDuplicateObject to a simple stub around ObDuplicateObject, there is no need to have lengthy hacks for NtCurrentProcess/NtCurrentThread().
- Cleanup ObDuplicateObject to use normal Ob routines instead of grovelling through handle table structures and manually touching the handle count: It now calls ObpIncrementHandleCount and all the underlying operations are done on the duplicated handle. Also access state creation is done if the duplicated handle has different desired access.

svn path=/trunk/; revision=22303
reactos/include/ndk/obtypes.h
reactos/ntoskrnl/cm/cm.h
reactos/ntoskrnl/cm/regobj.c
reactos/ntoskrnl/include/internal/io.h
reactos/ntoskrnl/include/internal/ob.h
reactos/ntoskrnl/io/file.c
reactos/ntoskrnl/ob/obhandle.c
reactos/ntoskrnl/ob/obname.c