From: Danny S. <dan...@us...> - 2001-11-24 21:08:40
|
Update of /cvsroot/mingw/w32api/lib In directory usw-pr-cvs1:/tmp/cvs-serv16572/w32api/lib Modified Files: advapi32.def test.c Log Message: * include/winnt.h (PACCESS_MASK): Add typedef. * include/aclapi.h: New file. * include/acctrl.h: New file. * lib/advapi32.def: Add missing symbols. * lib/test.c: Add #include <aclapi.h>. Index: advapi32.def =================================================================== RCS file: /cvsroot/mingw/w32api/lib/advapi32.def,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** advapi32.def 2001/06/05 01:36:45 1.1.1.1 --- advapi32.def 2001/11/24 21:08:37 1.2 *************** *** 6,13 **** --- 6,28 ---- AccessCheckAndAuditAlarmA@44 AccessCheckAndAuditAlarmW@44 + AccessCheckByType@44 + AccessCheckByTypeAndAuditAlarmA@64 + AccessCheckByTypeAndAuditAlarmW@64 + AccessCheckByTypeResultList@44 + AccessCheckByTypeResultListAndAuditAlarmA@64 + AccessCheckByTypeResultListAndAuditAlarmByHandleA@68 + AccessCheckByTypeResultListAndAuditAlarmByHandleW@68 + AccessCheckByTypeResultListAndAuditAlarmW@64 AddAccessAllowedAce@16 + AddAccessAllowedAceEx@20 + AddAccessAllowedObjectAce@28 AddAccessDeniedAce@16 + AddAccessDeniedAceEx@20 + AddAccessDeniedObjectAce@28 AddAce@20 AddAuditAccessAce@24 + AddAuditAccessAceEx@28 + AddAuditAccessObjectAce@36 + AddUsersToEncryptedFile@8 AdjustTokenGroups@24 AdjustTokenPrivileges@24 *************** *** 18,40 **** BackupEventLogA@8 BackupEventLogW@8 ! BuildExplicitAccessWithName@20 ! BuildSecurityDescriptor@36 ! BuildTrusteeWithName@8 ! BuildTrusteeWithSid@8 ChangeServiceConfigA@44 ChangeServiceConfigW@44 ClearEventLogA@8 ClearEventLogW@8 CloseEventLog@4 CloseServiceHandle@4 ControlService@12 CopySid@12 CreatePrivateObjectSecurity@24 CreateProcessAsUserA@44 CreateProcessAsUserW@44 CreateServiceA@52 CreateServiceW@52 CryptAcquireContextA@20 CryptAcquireContextW@20 CryptCreateHash@20 CryptDecrypt@24 --- 33,100 ---- BackupEventLogA@8 BackupEventLogW@8 ! BuildExplicitAccessWithNameA@20 ! BuildExplicitAccessWithNameW@20 ! BuildImpersonateExplicitAccessWithNameA@24 ! BuildImpersonateExplicitAccessWithNameW@24 ! BuildImpersonateTrusteeA@8 ! BuildImpersonateTrusteeW@8 ! BuildSecurityDescriptorA@36 ! BuildSecurityDescriptorW@36 ! BuildTrusteeWithNameA@8 ! BuildTrusteeWithNameW@8 ! BuildTrusteeWithObjectsAndNameA@24 ! BuildTrusteeWithObjectsAndNameW@24 ! BuildTrusteeWithObjectsAndSidA@20 ! BuildTrusteeWithObjectsAndSidW@20 ! BuildTrusteeWithSidA@8 ! BuildTrusteeWithSidW@8 ! CancelOverlappedAccess@4 ! ChangeServiceConfig2A@12 ! ChangeServiceConfig2W@12 ChangeServiceConfigA@44 ChangeServiceConfigW@44 + CheckTokenMembership@12 ClearEventLogA@8 ClearEventLogW@8 + CloseEncryptedFileRaw@4 CloseEventLog@4 CloseServiceHandle@4 + CloseTrace@8 + CommandLineFromMsiDescriptor@12 ControlService@12 + ControlTraceA@20 + ControlTraceW@20 + ConvertAccessToSecurityDescriptorA@20 + ConvertAccessToSecurityDescriptorW@20 + ConvertSDToStringSDRootDomainA@24 + ConvertSDToStringSDRootDomainW@24 + ConvertSecurityDescriptorToAccessA@28 + ConvertSecurityDescriptorToAccessNamedA@28 + ConvertSecurityDescriptorToAccessNamedW@28 + ConvertSecurityDescriptorToAccessW@28 + ConvertSecurityDescriptorToStringSecurityDescriptorA@20 + ConvertSecurityDescriptorToStringSecurityDescriptorW@20 + ConvertSidToStringSidA@8 + ConvertSidToStringSidW@8 + ConvertStringSDToSDRootDomainA@20 + ConvertStringSDToSDRootDomainW@20 + ConvertStringSecurityDescriptorToSecurityDescriptorA@16 + ConvertStringSecurityDescriptorToSecurityDescriptorW@16 + ConvertStringSidToSidA@8 + ConvertStringSidToSidW@8 + ConvertToAutoInheritPrivateObjectSecurity@24 CopySid@12 CreatePrivateObjectSecurity@24 + CreatePrivateObjectSecurityEx@32 CreateProcessAsUserA@44 CreateProcessAsUserW@44 + CreateProcessWithLogonW@44 + CreateRestrictedToken@36 CreateServiceA@52 CreateServiceW@52 + CreateTraceInstanceId@8 CryptAcquireContextA@20 CryptAcquireContextW@20 + CryptContextAddRef@12 CryptCreateHash@20 CryptDecrypt@24 *************** *** 42,49 **** --- 102,117 ---- CryptDestroyHash@4 CryptDestroyKey@4 + CryptDuplicateHash@16 + CryptDuplicateKey@16 CryptEncrypt@28 + CryptEnumProviderTypesA@24 + CryptEnumProviderTypesW@24 + CryptEnumProvidersA@24 + CryptEnumProvidersW@24 CryptExportKey@24 CryptGenKey@16 CryptGenRandom@12 + CryptGetDefaultProviderA@20 + CryptGetDefaultProviderW@20 CryptGetHashParam@20 CryptGetKeyParam@20 *************** *** 58,61 **** --- 126,131 ---- CryptSetProvParam@16 CryptSetProviderA@8 + CryptSetProviderExA@16 + CryptSetProviderExW@16 CryptSetProviderW@8 CryptSignHashA@24 *************** *** 63,70 **** --- 133,143 ---- CryptVerifySignatureA@24 CryptVerifySignatureW@24 + DecryptFileA@8 + DecryptFileW@8 DeleteAce@8 DeleteService@4 DeregisterEventSource@4 DestroyPrivateObjectSecurity@4 + DuplicateEncryptionInfoFile@8 DuplicateToken@12 DuplicateTokenEx@24 *************** *** 88,108 **** ElfReportEventA@48 ElfReportEventW@48 EnumDependentServicesA@24 EnumDependentServicesW@24 EnumServicesStatusA@32 EnumServicesStatusW@32 EqualPrefixSid@8 EqualSid@8 FindFirstFreeAce@8 FreeSid@4 GetAce@12 GetAclInformation@16 GetFileSecurityA@20 GetFileSecurityW@20 GetKernelObjectSecurity@20 GetLengthSid@4 ! GetNamedSecurityInfo@32 GetNumberOfEventLogRecords@8 GetOldestEventLogRecord@8 GetPrivateObjectSecurity@20 GetSecurityDescriptorControl@12 --- 161,213 ---- ElfReportEventA@48 ElfReportEventW@48 + EnableTrace@24 + EncryptFileA@4 + EncryptFileW@4 + EncryptionDisable@8 EnumDependentServicesA@24 EnumDependentServicesW@24 + EnumServiceGroupW@36 EnumServicesStatusA@32 + EnumServicesStatusExA@40 + EnumServicesStatusExW@40 EnumServicesStatusW@32 EqualPrefixSid@8 EqualSid@8 + FileEncryptionStatusA@8 + FileEncryptionStatusW@8 FindFirstFreeAce@8 + FreeEncryptionCertificateHashList@4 FreeSid@4 + GetAccessPermissionsForObjectA@36 + GetAccessPermissionsForObjectW@36 GetAce@12 GetAclInformation@16 + GetAuditedPermissionsFromAclA@16 + GetAuditedPermissionsFromAclW@16 + GetCurrentHwProfileA@4 + GetCurrentHwProfileW@4 + GetEffectiveRightsFromAclA@12 + GetEffectiveRightsFromAclW@12 + GetEventLogInformation@20 + GetExplicitEntriesFromAclA@12 + GetExplicitEntriesFromAclW@12 GetFileSecurityA@20 GetFileSecurityW@20 GetKernelObjectSecurity@20 GetLengthSid@4 ! GetLocalManagedApplications@12 ! GetManagedApplications@20 ! GetMangledSiteSid@12 ! GetMultipleTrusteeA@4 ! GetMultipleTrusteeOperationA@4 ! GetMultipleTrusteeOperationW@4 ! GetMultipleTrusteeW@4 ! GetNamedSecurityInfoA@32 ! GetNamedSecurityInfoExA@36 ! GetNamedSecurityInfoExW@36 ! GetNamedSecurityInfoW@32 GetNumberOfEventLogRecords@8 GetOldestEventLogRecord@8 + GetOverlappedAccessResults@16 GetPrivateObjectSecurity@20 GetSecurityDescriptorControl@12 *************** *** 111,116 **** --- 216,224 ---- GetSecurityDescriptorLength@4 GetSecurityDescriptorOwner@12 + GetSecurityDescriptorRMControl@8 GetSecurityDescriptorSacl@16 GetSecurityInfo@32 + GetSecurityInfoExA@36 + GetSecurityInfoExW@36 GetServiceDisplayNameA@16 GetServiceDisplayNameW@16 *************** *** 121,132 **** GetSidSubAuthority@8 GetSidSubAuthorityCount@4 GetTokenInformation@20 ! GetTrusteeForm@4 ! GetTrusteeName@4 ! GetTrusteeType@4 GetUserNameA@8 GetUserNameW@8 I_ScSetServiceBitsA@20 I_ScSetServiceBitsW@20 ImpersonateLoggedOnUser@4 ImpersonateNamedPipeClient@4 --- 229,252 ---- GetSidSubAuthority@8 GetSidSubAuthorityCount@4 + GetSiteDirectoryA@12 + GetSiteDirectoryW@12 + GetSiteNameFromSid@8 + GetSiteSidFromToken@4 + GetSiteSidFromUrl@4 GetTokenInformation@20 ! GetTraceEnableFlags@8 ! GetTraceEnableLevel@8 ! GetTraceLoggerHandle@4 ! GetTrusteeFormA@4 ! GetTrusteeFormW@4 ! GetTrusteeNameA@4 ! GetTrusteeNameW@4 ! GetTrusteeTypeA@4 ! GetTrusteeTypeW@4 GetUserNameA@8 GetUserNameW@8 I_ScSetServiceBitsA@20 I_ScSetServiceBitsW@20 + ImpersonateAnonymousToken@4 ImpersonateLoggedOnUser@4 ImpersonateNamedPipeClient@4 *************** *** 136,141 **** --- 256,266 ---- InitializeSid@12 InitiateSystemShutdownA@20 + InitiateSystemShutdownExA@24 + InitiateSystemShutdownExW@24 InitiateSystemShutdownW@20 + InstallApplication@4 + IsProcessRestricted@0 IsTextUnicode@12 + IsTokenRestricted@4 IsValidAcl@4 IsValidSecurityDescriptor@4 *************** *** 154,158 **** LookupPrivilegeValueA@12 LookupPrivilegeValueW@12 ! LookupSecurityDescriptorParts@28 LsaAddAccountRights@16 LsaAddPrivilegesToAccount@8 --- 279,284 ---- LookupPrivilegeValueA@12 LookupPrivilegeValueW@12 ! LookupSecurityDescriptorPartsA@28 ! LookupSecurityDescriptorPartsW@28 LsaAddAccountRights@16 LsaAddPrivilegesToAccount@8 *************** *** 162,165 **** --- 288,292 ---- LsaCreateSecret@16 LsaCreateTrustedDomain@16 + LsaCreateTrustedDomainEx@20 LsaDelete@4 LsaDeleteTrustedDomain@8 *************** *** 170,178 **** LsaEnumeratePrivilegesOfAccount@8 LsaEnumerateTrustedDomains@20 LsaFreeMemory@4 LsaGetQuotasForAccount@8 LsaGetSystemAccessAccount@8 ! LsaICLookupNames@28 ! LsaICLookupSids@28 LsaLookupNames@20 LsaLookupPrivilegeDisplayName@16 --- 297,308 ---- LsaEnumeratePrivilegesOfAccount@8 LsaEnumerateTrustedDomains@20 + LsaEnumerateTrustedDomainsEx@20 LsaFreeMemory@4 LsaGetQuotasForAccount@8 + LsaGetRemoteUserName@12 LsaGetSystemAccessAccount@8 ! LsaGetUserName@8 ! LsaICLookupNames@32 ! LsaICLookupSids@32 LsaLookupNames@20 LsaLookupPrivilegeDisplayName@16 *************** *** 185,188 **** --- 315,320 ---- LsaOpenSecret@16 LsaOpenTrustedDomain@16 + LsaOpenTrustedDomainByName@16 + LsaQueryDomainInformationPolicy@12 LsaQueryInfoTrustedDomain@12 LsaQueryInformationPolicy@12 *************** *** 190,196 **** --- 322,330 ---- LsaQuerySecurityObject@12 LsaQueryTrustedDomainInfo@16 + LsaQueryTrustedDomainInfoByName@16 LsaRemoveAccountRights@20 LsaRemovePrivilegesFromAccount@12 LsaRetrievePrivateData@12 + LsaSetDomainInformationPolicy@12 LsaSetInformationPolicy@12 LsaSetInformationTrustedDomain@12 *************** *** 199,204 **** --- 333,340 ---- LsaSetSecurityObject@12 LsaSetSystemAccessAccount@8 + LsaSetTrustedDomainInfoByName@16 LsaSetTrustedDomainInformation@16 LsaStorePrivateData@12 + MakeAbsoluteSD2@8 MakeAbsoluteSD@44 MakeSelfRelativeSD@12 *************** *** 216,219 **** --- 352,357 ---- OpenBackupEventLogA@8 OpenBackupEventLogW@8 + OpenEncryptedFileRawA@12 + OpenEncryptedFileRawW@12 OpenEventLogA@8 OpenEventLogW@8 *************** *** 224,230 **** --- 362,376 ---- OpenServiceW@12 OpenThreadToken@16 + OpenTraceA@4 + OpenTraceW@4 PrivilegeCheck@12 PrivilegedServiceAuditAlarmA@20 PrivilegedServiceAuditAlarmW@20 + ProcessTrace@16 + QueryAllTracesA@12 + QueryAllTracesW@12 + QueryRecoveryAgentsOnEncryptedFile@8 + QueryServiceConfig2A@20 + QueryServiceConfig2W@20 QueryServiceConfigA@16 QueryServiceConfigW@16 *************** *** 233,237 **** --- 379,386 ---- QueryServiceObjectSecurity@20 QueryServiceStatus@8 + QueryServiceStatusEx@20 + QueryUsersOnEncryptedFile@8 QueryWindows31FilesMigration@4 + ReadEncryptedFileRaw@12 ReadEventLogA@28 ReadEventLogW@28 *************** *** 247,250 **** --- 396,400 ---- RegDeleteValueA@8 RegDeleteValueW@8 + RegDisablePredefinedCache@0 RegEnumKeyA@16 RegEnumKeyExA@32 *************** *** 258,265 **** --- 408,418 ---- RegLoadKeyW@12 RegNotifyChangeKeyValue@20 + RegOpenCurrentUser@8 RegOpenKeyA@12 RegOpenKeyExA@20 RegOpenKeyExW@20 RegOpenKeyW@12 + RegOpenUserClassesRoot@16 + RegOverridePredefKey@8 RegQueryInfoKeyA@48 RegQueryInfoKeyW@48 *************** *** 286,305 **** RegisterEventSourceW@8 RegisterServiceCtrlHandlerA@8 RegisterServiceCtrlHandlerW@8 ReportEventA@36 ReportEventW@36 RevertToSelf@0 SetAclInformation@16 ! SetEntriesInAcl@16 SetFileSecurityA@12 SetFileSecurityW@12 SetKernelObjectSecurity@12 ! SetNamedSecurityInfo@28 SetPrivateObjectSecurity@20 SetSecurityDescriptorDacl@16 SetSecurityDescriptorGroup@12 SetSecurityDescriptorOwner@12 SetSecurityDescriptorSacl@16 ! SetSecurityInfo@@28 SetServiceBits@16 SetServiceObjectSecurity@12 --- 439,477 ---- RegisterEventSourceW@8 RegisterServiceCtrlHandlerA@8 + RegisterServiceCtrlHandlerExA@12 + RegisterServiceCtrlHandlerExW@12 RegisterServiceCtrlHandlerW@8 + RegisterTraceGuidsA@32 + RegisterTraceGuidsW@32 + RemoveTraceCallback@4 + RemoveUsersFromEncryptedFile@8 ReportEventA@36 ReportEventW@36 RevertToSelf@0 SetAclInformation@16 ! SetEntriesInAccessListA@24 ! SetEntriesInAccessListW@24 ! SetEntriesInAclA@16 ! SetEntriesInAclW@16 ! SetEntriesInAuditListA@24 ! SetEntriesInAuditListW@24 SetFileSecurityA@12 SetFileSecurityW@12 SetKernelObjectSecurity@12 ! SetNamedSecurityInfoA@28 ! SetNamedSecurityInfoExA@36 ! SetNamedSecurityInfoExW@36 ! SetNamedSecurityInfoW@28 SetPrivateObjectSecurity@20 + SetPrivateObjectSecurityEx@24 + SetSecurityDescriptorControl@12 SetSecurityDescriptorDacl@16 SetSecurityDescriptorGroup@12 SetSecurityDescriptorOwner@12 + SetSecurityDescriptorRMControl@8 SetSecurityDescriptorSacl@16 ! SetSecurityInfo@28 ! SetSecurityInfoExA@36 ! SetSecurityInfoExW@36 SetServiceBits@16 SetServiceObjectSecurity@12 *************** *** 307,314 **** --- 479,490 ---- SetThreadToken@8 SetTokenInformation@16 + SetTraceCallback@8 + SetUserFileEncryptionKey@4 StartServiceA@12 StartServiceCtrlDispatcherA@4 StartServiceCtrlDispatcherW@4 StartServiceW@12 + StartTraceA@12 + StartTraceW@12 SynchronizeWindows31FilesAndWindowsNTRegistry@16 SystemFunction001@12 *************** *** 345,350 **** SystemFunction032@8 SystemFunction033@8 UnlockServiceDatabase@4 ! WinLoadTrustProvider@4 ! WinSubmitCertificate@4 ! WinVerifyTrust@12 --- 521,531 ---- SystemFunction032@8 SystemFunction033@8 + SystemFunction034@12 + TraceEvent@12 + TraceEventInstance@20 + TrusteeAccessToObjectA@24 + TrusteeAccessToObjectW@24 + UninstallApplication@4 UnlockServiceDatabase@4 ! UnregisterTraceGuids@8 ! WriteEncryptedFileRaw@12 Index: test.c =================================================================== RCS file: /cvsroot/mingw/w32api/lib/test.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test.c 2001/08/21 03:06:24 1.4 --- test.c 2001/11/24 21:08:37 1.5 *************** *** 57,60 **** --- 57,61 ---- #include <ws2tcpip.h> #include <setupapi.h> + #include <aclapi.h> #ifndef __OBJC__ /* problems with BOOL */ |