Returns Returns STATUS_SUCCESS if the quota size of a security descriptor has been computed successfully. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. The returned quota size of the given security descriptor to the caller. A failure NTSTATUS is returned otherwise. STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the descriptor buffer has failed. The two NTSTATUS codes are returned if the calling thread stated that the owner and/or group is defaulted to the parent descriptor (SEF_DEFAULT_OWNER_FROM_PARENT and/or SEF_DEFAULT_GROUP_FROM_PARENT respectively). STATUS_INVALID_PRIMARY_GROUP is returned by the same reason as with the previous NTSTATUS code. STATUS_INVALID_OWNER is returned if the caller hasn't supplied a parent descriptor that belongs to the main user (owner). STATUS_NO_TOKEN is returned if the caller hasn't supplied a valid argument to a security subject context. Returns Returns STATUS_SUCCESS if the operations have been completed successfully and that the security descriptor has been assigned to the new object. Security subject context of the new object. Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE.Īutomatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. Parameters Ī security descriptor of the parent object that is being created.Īn explicit security descriptor that is applied to a new object. Parameters Ī security descriptor to be freed from memory. STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the new security descriptor with new info set has failed. STATUS_NO_SECURITY_ON_OBJECT is returned if the object does not have a security descriptor. Returns Returns STATUS_SUCCESS if the operations have been completed without problems and that new info has been set to the security descriptor. Parameters įlags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. Returns See SeSetSecurityDescriptorInfoEx. The generic mapping of access rights masks. Pool type for the new security descriptor to allocate. The returned pointer to security descriptor objects. If specified, the function will use this arbitrary object that points to an object security descriptor.Ī security descriptor where its info is to be changed. STATUS_BUFFER_TOO_SMALL is returned if the buffer size is too small to contain the queried info about the security descriptor. Returns Returns STATUS_SUCCESS if the operations have been completed successfully and that the specific information about the security descriptor has been queried. The returned length of a security descriptor. The returned security descriptor with security information data. Security information details to be queried from a security descriptor. Modifies some information data about a security descriptor. Queries information details about a security descriptor.Ĭomputes the quota size of a security descriptor.Īssigns a security descriptor for a new object.Īn extended function that assigns a security descriptor for a new object.Īn extended function that sets new information data to a security descriptor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |