-; $Id: advapi32.def,v 1.3 1999/07/17 23:10:16 ea Exp $
+; $Id$
;
; advapi32.def
;
; ReactOS Operating System
;
-; Some stack sizes are taken from Ander Norlander's .DEFs.
-;
-LIBRARY advapi32
+LIBRARY advapi32.dll
EXPORTS
+A_SHAFinal@8
+A_SHAInit@4
+A_SHAUpdate@12
AbortSystemShutdownA@4
AbortSystemShutdownW@4
AccessCheck@32
AccessCheckAndAuditAlarmA@44
AccessCheckAndAuditAlarmW@44
AddAccessAllowedAce@16
+AddAccessAllowedAceEx@20
AddAccessDeniedAce@16
+AddAccessDeniedAceEx@20
AddAce@20
AddAuditAccessAce@24
+AddAuditAccessAceEx@28
AdjustTokenGroups@24
AdjustTokenPrivileges@24
AllocateAndInitializeSid@44
AreAnyAccessesGranted@8
BackupEventLogA@8
BackupEventLogW@8
-BuildAccessRequestA
-BuildAccessRequestW
+;BuildAccessRequestA
+;BuildAccessRequestW
BuildExplicitAccessWithNameA@20
BuildExplicitAccessWithNameW@20
-BuildImpersonateExplicitAccessWithNameA
-BuildImpersonateExplicitAccessWithNameW
-BuildImpersonateTrusteeA
-BuildImpersonateTrusteeW
-BuildSecurityDescriptorA@36
-BuildSecurityDescriptorW@36
+BuildImpersonateExplicitAccessWithNameA@24
+BuildImpersonateExplicitAccessWithNameW@24
+BuildImpersonateTrusteeA@8
+BuildImpersonateTrusteeW@8
+;BuildSecurityDescriptorA@36
+;BuildSecurityDescriptorW@36
BuildTrusteeWithNameA@8
BuildTrusteeWithNameW@8
BuildTrusteeWithSidA@8
BuildTrusteeWithSidW@8
ChangeServiceConfigA@44
ChangeServiceConfigW@44
+CheckTokenMembership@12
ClearEventLogA@8
ClearEventLogW@8
-ClearEventLogA@8
+CloseEventLog@4
CloseServiceHandle@4
ControlService@12
+ConvertSidToStringSidA@8
+ConvertSidToStringSidW@8
CopySid@12
-CreatePrivateObjectSecurity@24
+;CreatePrivateObjectSecurity@24
CreateProcessAsUserA@44
CreateProcessAsUserW@44
CreateServiceA@52
CreateServiceW@52
CryptAcquireContextA@20
CryptAcquireContextW@20
+CryptContextAddRef@12
CryptCreateHash@20
CryptDecrypt@24
CryptDeriveKey@20
CryptSetProviderA@8
CryptSetProviderW@8
CryptSignHashA@24
-CryptSignHashW@24
+;CryptSignHashW@24
CryptVerifySignatureA@24
-CryptVerifySignatureW@24
+;CryptVerifySignatureW@24
DeleteAce@8
DeleteService@4
-DenyAccessRightsA
-DenyAccessRightsW
+;DenyAccessRightsA
+;DenyAccessRightsW
DeregisterEventSource@4
-DestroyPrivateObjectSecurity@4
+;DestroyPrivateObjectSecurity@4
DuplicateToken@12
DuplicateTokenEx@24
-ElfBackupEventLogFileA@8
-ElfBackupEventLogFileW@8
-ElfChangeNotify@8
-ElfClearEventLogFileA@8
-ElfClearEventLogFileW@8
-ElfCloseEventLog@4
-ElfDeregisterEventSource@4
-ElfNumberOfRecords@8
-ElfOldestRecord@8
-ElfOpenBackupEventLogA@12
-ElfOpenBackupEventLogW@12
-ElfOpenEventLogA@12
-ElfOpenEventLogW@12
-ElfReadEventLogA@28
-ElfReadEventLogW@28
-ElfRegisterEventSourceA@12
-ElfRegisterEventSourceW@12
-ElfReportEventA@48
-ElfReportEventW@48
+;ElfBackupEventLogFileA@8
+;ElfBackupEventLogFileW@8
+;ElfChangeNotify@8
+;ElfClearEventLogFileA@8
+;ElfClearEventLogFileW@8
+;ElfCloseEventLog@4
+;ElfDeregisterEventSource@4
+;ElfNumberOfRecords@8
+;ElfOldestRecord@8
+;ElfOpenBackupEventLogA@12
+;ElfOpenBackupEventLogW@12
+;ElfOpenEventLogA@12
+;ElfOpenEventLogW@12
+;ElfReadEventLogA@28
+;ElfReadEventLogW@28
+;ElfRegisterEventSourceA@12
+;ElfRegisterEventSourceW@12
+;ElfReportEventA@48
+;ElfReportEventW@48
EnumDependentServicesA@24
EnumDependentServicesW@24
-EnumServiceGroupW
+EnumServiceGroupW@36
EnumServicesStatusA@32
EnumServicesStatusW@32
EqualPrefixSid@8
EqualSid@8
FindFirstFreeAce@8
+FreeInheritedFromArray@12
FreeSid@4
GetAce@12
GetAclInformation@16
-GetAuditedPermissionsFromAclA
-GetAuditedPermissionsFromAclW
-GetAuditedPermissionsFromSDA
-GetAuditedPermissionsFromSDW
-GetCurrentHwProfileA
-GetCurrentHwProfileW
-GetEffectiveAccessRightsA
-GetEffectiveAccessRightsW
-GetEffectiveRightsFromAclA
-GetEffectiveRightsFromAclW
-GetEffectiveRightsFromSDA
-GetEffectiveRightsFromSDW
-GetExplicitAccessRightsA
-GetExplicitAccessRightsW
-GetExplicitEntriesFromAclA
-GetExplicitEntriesFromAclW
+;GetAuditedPermissionsFromAclA@16
+;GetAuditedPermissionsFromAclW@16
+;GetAuditedPermissionsFromSDA
+;GetAuditedPermissionsFromSDW
+GetCurrentHwProfileA@4
+GetCurrentHwProfileW@4
+;GetEffectiveAccessRightsA
+;GetEffectiveAccessRightsW
+;GetEffectiveRightsFromAclA@12
+;GetEffectiveRightsFromAclW@12
+;GetEffectiveRightsFromSDA@12
+;GetEffectiveRightsFromSDW@12
+;GetExplicitAccessRightsA
+;GetExplicitAccessRightsW
+;GetExplicitEntriesFromAclA@12
+;GetExplicitEntriesFromAclW@12
GetFileSecurityA@20
GetFileSecurityW@20
+GetInheritanceSourceA@40
+GetInheritanceSourceW@40
GetKernelObjectSecurity@20
GetLengthSid@4
-GetMultipleTrusteeA
-GetMultipleTrusteeOperationA
-GetMultipleTrusteeOperationW
-GetMultipleTrusteeW
+GetMultipleTrusteeA@4
+GetMultipleTrusteeOperationA@4
+GetMultipleTrusteeOperationW@4
+GetMultipleTrusteeW@4
GetNamedSecurityInfoA@32
GetNamedSecurityInfoW@32
GetNumberOfEventLogRecords@8
GetOldestEventLogRecord@8
-GetPrivateObjectSecurity@20
+;GetPrivateObjectSecurity@20
GetSecurityDescriptorControl@12
GetSecurityDescriptorDacl@16
GetSecurityDescriptorGroup@12
GetSecurityDescriptorLength@4
GetSecurityDescriptorOwner@12
+GetSecurityDescriptorRMControl@8
GetSecurityDescriptorSacl@16
GetSecurityInfo@32
+GetSecurityInfoExA@36
+GetSecurityInfoExW@36
GetServiceDisplayNameA@16
GetServiceDisplayNameW@16
GetServiceKeyNameA@16
GetSidSubAuthority@8
GetSidSubAuthorityCount@4
GetTokenInformation@20
-GetTrusteeForm@4
+GetTrusteeFormA@4
+GetTrusteeFormW@4
GetTrusteeNameA@4
GetTrusteeNameW@4
GetTrusteeTypeA@4
GetTrusteeTypeW@4
GetUserNameA@8
GetUserNameW@8
-GrantAccessRightsA
-GrantAccessRightsW
-I_ScGetCurrentGroupStateW
-I_ScSetServiceBitsA@20
-I_ScSetServiceBitsW@20
+;GrantAccessRightsA@16
+;GrantAccessRightsW@16
+;I_ScGetCurrentGroupStateW@12
+;I_ScSetServiceBitsA@20
+;I_ScSetServiceBitsW@20
ImpersonateLoggedOnUser@4
ImpersonateNamedPipeClient@4
ImpersonateSelf@4
InitializeSid@12
InitiateSystemShutdownA@20
InitiateSystemShutdownW@20
-IsAccessPermittedA
-IsAccessPermittedW
-IsTextUnicode@12
+;IsAccessPermittedA@20
+;IsAccessPermittedW@20
+IsTextUnicode@12=NTDLL.RtlIsTextUnicode
IsValidAcl@4
IsValidSecurityDescriptor@4
IsValidSid@4
LookupPrivilegeNameW@16
LookupPrivilegeValueA@12
LookupPrivilegeValueW@12
-LookupSecurityDescriptorPartsA@28
-LookupSecurityDescriptorPartsW@28
-LsaAddAccountRights@16
-LsaAddPrivilegesToAccount@8
-LsaClearAuditLog@4
+;LookupSecurityDescriptorPartsA@28
+;LookupSecurityDescriptorPartsW@28
+;LsaAddAccountRights@16
+;LsaAddPrivilegesToAccount@8
+;LsaClearAuditLog@4
LsaClose@4
-LsaCreateAccount@16
-LsaCreateSecret@16
-LsaCreateTrustedDomain@16
-LsaDelete@4
-LsaDeleteTrustedDomain@8
-LsaEnumerateAccountRights@16
-LsaEnumerateAccounts@20
-LsaEnumerateAccountsWithUserRight@16
-LsaEnumeratePrivileges@20
-LsaEnumeratePrivilegesOfAccount@8
-LsaEnumerateTrustedDomains@20
+;LsaCreateAccount@16
+;LsaCreateSecret@16
+;LsaCreateTrustedDomain@16
+;LsaDelete@4
+;LsaDeleteTrustedDomain@8
+;LsaEnumerateAccountRights@16
+;LsaEnumerateAccounts@20
+;LsaEnumerateAccountsWithUserRight@16
+;LsaEnumeratePrivileges@20
+;LsaEnumeratePrivilegesOfAccount@8
+;LsaEnumerateTrustedDomains@20
LsaFreeMemory@4
-LsaGetQuotasForAccount@8
-LsaGetSystemAccessAccount@8
-LsaGetUserName
-LsaICLookupNames@28
-LsaICLookupSids@28
-LsaLookupNames@20
-LsaLookupPrivilegeDisplayName@16
-LsaLookupPrivilegeName@12
-LsaLookupPrivilegeValue@12
-LsaLookupSids@20
+;LsaGetQuotasForAccount@8
+;LsaGetSystemAccessAccount@8
+LsaGetUserName@8
+;LsaICLookupNames@32
+;LsaICLookupSids@32
+;LsaLookupNames@20
+;LsaLookupPrivilegeDisplayName@16
+;LsaLookupPrivilegeName@12
+;LsaLookupPrivilegeValue@12
+;LsaLookupSids@20
LsaNtStatusToWinError@4
-LsaOpenAccount@16
+;LsaOpenAccount@16
LsaOpenPolicy@16
-LsaOpenSecret@16
-LsaOpenTrustedDomain@16
+;LsaOpenSecret@16
+;LsaOpenTrustedDomain@16
LsaQueryInfoTrustedDomain@12
LsaQueryInformationPolicy@12
-LsaQuerySecret@20
-LsaQuerySecurityObject@12
-LsaQueryTrustedDomainInfo@16
-LsaRemoveAccountRights@20
-LsaRemovePrivilegesFromAccount@12
+;LsaQuerySecret@20
+;LsaQuerySecurityObject@12
+;LsaQueryTrustedDomainInfo@16
+;LsaRemoveAccountRights@20
+;LsaRemovePrivilegesFromAccount@12
LsaRetrievePrivateData@12
-LsaSetInformationPolicy@12
-LsaSetInformationTrustedDomain@12
-LsaSetQuotasForAccount@8
-LsaSetSecret@12
-LsaSetSecurityObject@12
-LsaSetSystemAccessAccount@8
-LsaSetTrustedDomainInformation@16
+;LsaSetInformationPolicy@12
+;LsaSetInformationTrustedDomain@12
+;LsaSetQuotasForAccount@8
+;LsaSetSecret@12
+;LsaSetSecurityObject@12
+;LsaSetSystemAccessAccount@8
+;LsaSetTrustedDomainInformation@16
LsaStorePrivateData@12
MakeAbsoluteSD@44
MakeSelfRelativeSD@12
MapGenericMask@8
-NTAccessMaskToProvAccessRights
-NotifyBootConfigStatus@4
+MD4Final@4
+MD4Init@4
+MD4Update@12
+MD5Final@4
+MD5Init@4
+MD5Update@12
+;NTAccessMaskToProvAccessRights@12
+;NotifyBootConfigStatus@4
NotifyChangeEventLog@8
ObjectCloseAuditAlarmA@12
ObjectCloseAuditAlarmW@12
PrivilegeCheck@12
PrivilegedServiceAuditAlarmA@20
PrivilegedServiceAuditAlarmW@20
-ProvAccessRightsToNTAccessMask
+;ProvAccessRightsToNTAccessMask
QueryServiceConfigA@16
QueryServiceConfigW@16
QueryServiceLockStatusA@16
QueryServiceLockStatusW@16
QueryServiceObjectSecurity@20
QueryServiceStatus@8
-QueryWindows31FilesMigration@4
+QueryServiceStatusEx@20
+;QueryWindows31FilesMigration@4
ReadEventLogA@28
ReadEventLogW@28
RegCloseKey@4
RegisterEventSourceW@8
RegisterServiceCtrlHandlerA@8
RegisterServiceCtrlHandlerW@8
-ReplaceAllAccessRightsA
-ReplaceAllAccessRightsW
+RegisterServiceCtrlHandlerExA@12
+RegisterServiceCtrlHandlerExW@12
+;ReplaceAllAccessRightsA
+;ReplaceAllAccessRightsW
ReportEventA@36
ReportEventW@36
RevertToSelf@0
-RevokeExplicitAccessRightsA
-RevokeExplicitAccessRightsW
-SetAccessRightsA
-SetAccessRightsW
+;RevokeExplicitAccessRightsA@16
+;RevokeExplicitAccessRightsW@16
+;SetAccessRightsA@16
+;SetAccessRightsW@16
SetAclInformation@16
-SetEntriesInAclA@16
-SetEntriesInAclA@16
+;SetEntriesInAclA@16
+;SetEntriesInAclW@16
SetFileSecurityA@12
SetFileSecurityW@12
SetKernelObjectSecurity@12
SetNamedSecurityInfoA@28
SetNamedSecurityInfoW@28
-SetPrivateObjectSecurity@20
+;SetPrivateObjectSecurity@20
+SetSecurityDescriptorControl@12
SetSecurityDescriptorDacl@16
SetSecurityDescriptorGroup@12
SetSecurityDescriptorOwner@12
+SetSecurityDescriptorRMControl@8
SetSecurityDescriptorSacl@16
SetSecurityInfo@28
SetServiceBits@16
StartServiceCtrlDispatcherA@4
StartServiceCtrlDispatcherW@4
StartServiceW@12
-SynchronizeWindows31FilesAndWindowsNTRegistry@16
+;SynchronizeWindows31FilesAndWindowsNTRegistry@16
SystemFunction001@12
SystemFunction002@12
SystemFunction003@8
SystemFunction031@8
SystemFunction032@8
SystemFunction033@8
+SystemFunction034@8
+SystemFunction035@8
UnlockServiceDatabase@4
-WinLoadTrustProvider@4
-WinSubmitCertificate@4
-WinVerifyTrust@12
+; EOF