?
Solved

Functions of ADVAPI32.DLL

Posted on 2004-09-08
3
Medium Priority
?
4,616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 22

Accepted Solution

by:
cookre earned 500 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

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.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
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…
Starting up a Project

801 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