/// <summary> /// Method to create an object from a set of object attributes. /// </summary> /// <param name="obj_attributes">The object attributes to create/open from.</param> /// <returns>The newly created object.</returns> protected override object CreateObject(ObjectAttributes obj_attributes) { return(NtPartition.Create(obj_attributes, Access, ParentPartition, PreferredNode)); }
/// <summary> /// Method to create an object from a set of object attributes. /// </summary> /// <param name="obj_attributes">The object attributes to create/open from.</param> /// <returns>The newly created object.</returns> protected override object CreateObject(ObjectAttributes obj_attributes) { return(NtPartition.Open(obj_attributes, Access)); }
protected override sealed NtResult <NtPartition> OpenInternal(ObjectAttributes obj_attributes, MemoryPartitionAccessRights desired_access, bool throw_on_error) { return(NtPartition.Open(obj_attributes, desired_access, throw_on_error)); }