Solved

Functions of ADVAPI32.DLL

Posted on 2004-09-08
3
4,587 Views
Last Modified: 2012-05-05
I am trying to recompile a C++ program (its a very simple program with no GUI) to run in dos - which I thought would be easy but I've hit against SystemFunction027 and SystemFunction025 in ADVAPI32.DLL and I've no Idea what these functions do.  I've tried google with no success.

I have a suspicion they are something to do with encryption (which my program does use)

Does anyone out there know what they do?

Thanks in advance
0
Comment
Question by:Wierdy1024
3 Comments
 
LVL 22

Accepted Solution

by:
cookre earned 125 total points
ID: 12013171
In my XP Pro SP1, ADVAPI32.DLL version 5.1.2600.1106:

Function 25 is AddAuditAccessAce:
(The AddAuditAccessAce function adds a system-audit access control entry (ACE) to a system access control list (ACL). The access of a specified security identifier (SID) is audited.  To control whether the new ACE can be inherited by child objects, use the AddAuditAccessAceEx function)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/addauditaccessace.asp?frame=true

Function 27 is AddAuditAccessObjectAce:
(The AddAuditAccessObjectAce function adds a system-audit access control entry (ACE) to the end of a system access control list (SACL). The new ACE can audit access to an object, or to a property set or property on an object. You can also use AddAuditAccessObjectAce to add an ACE that only a specified type of child object can inherit)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/addauditaccessobjectace.asp?frame=true

Function 0x25 is BuildExplicitAccessWithNameA:
(The BuildExplicitAccessWithName function initializes an EXPLICIT_ACCESS structure with data specified by the caller. The trustee is identified by a name string)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/buildexplicitaccesswithname.asp?frame=true

Function 0x27 is BuildImpersonateExplicitAccessWithNameA:
(Obsolete. Do not use.)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/buildimpersonateexplicitaccesswithname.asp?frame=true
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
A short article about problems I had with the new location API and permissions in Marshmallow
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question