initializeacl (advapi32)
Last changed: anonymous

.
Summary
The InitializeAcl function initializes a new ACL structure.

C# Signature:

[DllImport("advapi32.dll", SetLastError = true)]
static extern bool InitializeAcl(IntPtr pAcl, uint nAclLength, uint dwAclRevision);

VB Signature:

Declare Function InitializeAcl Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

const uint ACL_REVISION = 2;
const uint ACL_REVISION_DS = 4;

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

Set dwAclRevision to ACL_REVISION_DS if the access control list supports object-specific ACEs, otherwise use ACL_REVISION.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation