branch update for HEAD-2003050101
[reactos.git] / include / ddk / obtypes.h
index effba87..8ab07b7 100644 (file)
@@ -121,13 +121,18 @@ typedef struct _OBJECT_TYPE
                             PUNICODE_STRING FullPath,
                             PWSTR *Path,
                             ULONG Attributes);
-  
-   /*
-    */
-  NTSTATUS STDCALL_FUNC (*Security)(PVOID Object,
-                              ULONG InfoClass,
-                              PVOID Info,
-                              PULONG InfoLength);
+
+  /*
+   * PURPOSE: Called to set, query, delete or assign a security-descriptor
+   * to the object
+   * RETURNS
+   *     STATUS_SUCCESS       NextObject was found
+   */
+  NTSTATUS STDCALL_FUNC (*Security)(PVOID ObjectBody,
+                                   SECURITY_OPERATION_CODE OperationCode,
+                                   SECURITY_INFORMATION SecurityInformation,
+                                   PSECURITY_DESCRIPTOR SecurityDescriptor,
+                                   PULONG BufferLength);
   
   /*
    */