NTSTATUS
ObpValidateAccessMask(
      PACCESS_STATE AccessState
  );

Routine Description:

    Checks the desired access mask of a passed object against the
    passed security descriptor.

Arguments:

    AccessState - A pointer to the AccessState for the pending operation.


Return Value:

    STATUS_SUCCESS