Difference between revisions of "Advapi32.dll"

From ReactOS Wiki
Jump to: navigation, search
m
(Development notes: Remove section.)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Advapi32.dll is NOT synced with WINE, it is made by ReactOS [http://www.reactos.org/forum/viewtopic.php?f=9&t=11006#p90534 (source)]
+
{{stub}}
  
Win32 Library
+
Advapi32.dll is an advanced Windows 32 base API DLL file that provides access to functions beyond the kernel. This API services library supports security and [[wikipedia:Windows registry|registry]] calls. Also included are things like shutdown/restart the system (or abort), start/stop/create a [[wikipedia:Windows service|Windows service]], and manage user accounts.
  
http://en.wikipedia.org/wiki/Windows_API#Overview
+
== Relationship with Wine ==
 +
Advapi32.dll is partially synced with [[WINE|Wine]].
  
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/?view=log
+
However, information that has been documented by Wine is of interest to us:  
  
[[ChangeLog-0.1.3]]
+
[https://source.winehq.org/WineAPI/advapi32.html Wine advapi32.dll exports]
* Implementation of audit routines ([[Eric Kohl]])
 
[[ChangeLog-0.1.0]]
 
* Advapi32: Progress with opening and closing handles to SCM ([[Robert Dickenson]])
 
  
[[ChangeLog-0.2.1]]
+
== Code History ==
 +
{{Code history|dll/win32/advapi32}}
  
* Implemented LsaFreeMemory ([[Steven Edwards]])
+
== External links ==
* Implement RegRestoreKeyW() ([[Eric Kohl]])
+
* [[wikipedia:Windows API#Overview]]
  
[[ChangeLog-0.2.2]]
+
[[Category:Development]]
*Implemented LsaFreeMemory ([[Steven Edwards]])
+
[[Category:DLL]]
*LogonUserW(): Fix key name ([[Eric Kohl]])
 
*Implement ImpersonateLoggedOnUser() ([[Eric Kohl]])
 
*Fix bugs in RegQueryValueExA() and RegQueryValueExW() that caused crashes or returned bogus information ([[Eric Kohl]])
 
 
 
[[ChangeLog-0.2.3]]
 
 
 
*Added stubs for SetFileSecurityW(), GetNamedSecurityInfoA/W() and SetNamedSecurityInfoA/W() ([[Thomas Weidenmueller]])
 
*Fixed the third passed parameter to NtSetInformationThread call in ImpersonateLoggedOnUser ([[Filip Navara]])
 
*Fixed filename in include statement and added some debug prints for stubs ([[Thomas Weidenmueller]])
 
*Compile advapi32 using w32api ([[Eric Kohl]])
 
*Added comment to FreeSid ([[Gunnar Dalsnes]])
 
 
 
[[ChangeLog-0.2.4]]
 
 
 
* NtCreateKey doesn't create nested keys, but RegCreateKey should. ([[Gé van Geldorp]])
 
* Make AdjustTokenPrivileges confirm to MSDN-documented behaviour ([[Gé van Geldorp]])
 
* Implement LookupPrivilegeValueW for local machine ([[Gé van Geldorp]])
 
* Set default (Administrator) privileges when logging on ([[Gé van Geldorp]])
 
* Allocate new LUID for each logon session ([[Gé van Geldorp]])
 
* Implement ConvertSidToStringSidA/W ([[Gé van Geldorp]])
 
* Add Group SIDs to a users logon token ([[Eric Kohl]])
 
 
 
[[ChangeLog-0.2.5]]
 
 
 
* Implement Trustee and Crypto functions based on Wine ([[Thomas Weidenmueller]], [[Steven Edwards]])
 
* Implement more Trustee Functions ([[Eric Kohl]])
 
* Fix bugs in registry functions that broke Regedit.exe ([[Eric Kohl]])
 
* Added stubs for SetSecurityInfo(), GetInheritanceSourceA/W() and FreeInheritedFromArray() ([[Thomas Weidenmueller]])
 
* Implemented LookupAccountSidA() ([[Thomas Weidenmueller]])
 
 
 
[[ChangeLog-0.2.7]]
 
 
 
([[Eric Kohl]])
 
* Implemented <code>LockServiceDatabase</code>, <code>UnlockServiceDatabase</code>, <code>ControlService</code>, <code>QueryServiceStatus</code>
 
* Implemented <code>OpenSCManagerA</code>, <code>OpenServiceA</code>, <code>OpenServiceW</code> and <code>QueryServiceStatus</code>
 
([[Thomas Weidenmueller]])
 
* Ported <code>BuildTrusteeWithObjectsAndName</code> and <code>BuildTrusteeWithObjectsAndSid</code> from Wine
 
* Implemented <code>RegOpenCurrentUser</code>
 
* Implemented <code>OpenAndMapFileForRead</code>, <code>RetrieveFileSecurity</code>, <code>StampFileSecurity</code>, <code>TakeOwnershipOfFile</code> and <code>UnmapAndCloseFile</code>
 
* Implemented <code>RegOpenUserClassesRoot</code>
 
* Implemented <code>IsTokenRestricted()</code>, inspired by a patch to Wine by James Hawkins
 
* Implemented <code>TokenRestrictedSids</code>
 
 
 
[[ChangeLog-0.2.8]]
 
 
 
* Implemented:
 
 
 
** RegDeleteKeyValue
 
** RegSetKeyValueA/W
 
** SetFileAttributesByHandle
 
** GetFileAttributesByHandle
 
** RegDisablePredefinedCacheEx
 
** RegDeleteTree. ([[Thomas Weidenmueller]])
 
 
 
[[ChangeLog-0.2.9]]
 
 
 
* Implement GetServiceDisplayNameW, GetServiceKeyNameW and NotifyBootConfigStatus.  ([[Eric Kohl]])
 
* Implement MakeAbsoluteSD2 ([[Thomas Weidenmueller]])
 
 
 
[[ChangeLog-0.3.0]]
 
* advapi32/reg/reg.c do not call on  NtQuerySecurityObject in RegQueryInfoKey for it will always fail on reactos. adding #ifndef __REACTOS__ around that code and should be remove when we have that call implement in reactos. ([[Magnus Olsen]])
 
* Registry functions of ADVAPI32 are tested against WINE's, 20+ failures fixed in RegEnumValueKeyA/W, RegOpenKeyA/W, and small fixes in corresponding NT Api functions (NtOpenKey). The only missing things for now are RegSaveKey/RegLoadKey which don't pass WINE tests yet. ([[Aleksey Bragin]])
 
* Bug 1345 : patch from w3seek Fixes for BuildTrusteeWithObjectsAndName, BuildTrusteeWithObjectsAndSid and GetTrusteeName. A test apps exits also from w3seek not commited. commited by ([[Magnus Olsen]])
 
 
 
[[ChangeLog-0.3.1]]
 
 
 
* Implement ConvertStringSecurityDescriptorToSecurityDescriptorA/W ([[Hervé Poussineau]])
 
* Implement StartService ([[Hervé Poussineau]])
 

Latest revision as of 20:19, 17 March 2019

The page Advapi32.dll is a short article on something that should have a lot more information written on it.
If you know anything else about it, you are STRONGLY encouraged to add the information in. If you are unsure of proper formatting or style, add it to the talk page or this page itself as you think best and others will help.


Advapi32.dll is an advanced Windows 32 base API DLL file that provides access to functions beyond the kernel. This API services library supports security and registry calls. Also included are things like shutdown/restart the system (or abort), start/stop/create a Windows service, and manage user accounts.

Relationship with Wine

Advapi32.dll is partially synced with Wine.

However, information that has been documented by Wine is of interest to us:

Wine advapi32.dll exports

Code History

Commit history (Source code can be found in: /reactos/dll/win32/advapi32)

External links