The AddAce function adds one or more ACEs to a specified ACL.
An ACE is an access-control entry. An ACL is an access-control list.
BOOL AddAce(
PACL pAcl, |
// pointer to access-control list |
DWORD dwAceRevision, |
// ACL revision level |
DWORD dwStartingAceIndex, |
// index of ACE position in ACL |
LPVOID pAceList, |
// pointer to one or more ACEs |
DWORD nAceListLength |
// size of buffer for ACEs |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Applications frequently use the FindFirstFreeAce and GetAce functions when using the AddAce function to manipulate an ACL. In addition, the ACL_SIZE_INFORMATION structure retrieved by the GetAclInformation function contains the size of the ACL and the number of ACEs it contains.
ACL, ACL_SIZE_INFORMATION, AddAccessAllowedAce, AddAccessDeniedAce, AddAuditAccessAce, DeleteAce, FindFirstFreeAce, GetAce, GetAclInformation
file: /Techref/os/win/api/win32/func/src/f01_1.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/13 21:22,
18.227.209.84:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f01_1.htm"> AddAce</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.