Solved

Functions of ADVAPI32.DLL

Posted on 2004-09-08
3
4,581 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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 …

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now