Solved

Functions of ADVAPI32.DLL

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 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

19 Experts available now in Live!

Get 1:1 Help Now