- Add function documentation header to ObpDeleteHandle, comment and re-format the function, and simplify the code to reduce some code duplication.

- Call the OkayToClose Procedure, if one is present, to allow the object owner a chance to disallow closing this handle. I believe this is required for properly protecting Winsta/Desktop handles (instead of using the regular protection mode, since that one can be bypassed). Thomas, get to work!

svn path=/trunk/; revision=22246
This commit is contained in:
Alex Ionescu
2006-06-06 06:12:09 +00:00
parent 18ed42b8a4
commit 21baa4ddb6
2 changed files with 61 additions and 27 deletions
+3 -1
View File
@@ -230,7 +230,9 @@ typedef NTSTATUS
typedef NTSTATUS
(NTAPI *OB_OKAYTOCLOSE_METHOD)(
VOID
IN PEPROCESS Process OPTIONAL,
IN PVOID Object,
IN HANDLE Handle
);
#else