JCL Help:CreateInheritable

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Initializes a security attributes structure for inheritable object creation.


Pascal

 function CreateInheritable(out Sa: TSecurityAttributes): PSecurityAttributes;


Parameters

Parameters Description
out Sa: TSecurityAttributes The TSecurityAttributes structure whose fInheritHandle member to set to True resulting in an inheritable object.


Return Value

A pointer to the passed in TSecurityAttributes structure. This allows you to write code such as CreateFile(..., CreateInheritable(Sa), ...).


Description

CreateInheritable initializes a TSecurityAttributes structure for the creation of an inheritable object. Meaning the bInheritHandle member is set to True allowing processes spawned by the current process to inherit the handle to the object that was created with this TSecurityAttributes structure.


See Also

CreateNullDacl


About

Unit

JclSecurity


Donator

Marcel van Brakel


Notes

Under Windows 95/98/Millenium Edition, this function always returns nil.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page