Solved

Functions of ADVAPI32.DLL

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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

A short article about a problem I had getting the GPS LocationListener working.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
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…

696 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