From d991d613f54a2c1d3bb982a19c67e3c24de9880c Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sat, 15 Oct 2005 21:17:52 +0000 Subject: [PATCH] * added a lot of stack-size information to *.def files * added one more stub to secur32 svn path=/trunk/; revision=18486 --- reactos/lib/secur32/secur32.def | 45 ++++++++++++++++--------------- reactos/lib/secur32/sspi.c | 10 +++++++ reactos/lib/security/security.def | 45 ++++++++++++++++--------------- 3 files changed, 56 insertions(+), 44 deletions(-) diff --git a/reactos/lib/secur32/secur32.def b/reactos/lib/secur32/secur32.def index 57e5ec41fce..fb89b17cbf0 100644 --- a/reactos/lib/secur32/secur32.def +++ b/reactos/lib/secur32/secur32.def @@ -7,52 +7,53 @@ LsaConnectUntrusted@4 LsaLookupAuthenticationPackage@12 LsaFreeReturnBuffer@4 LsaCallAuthenticationPackage@28 -;@AcceptSecurityContext -;@AcquireCredentialsHandleA -;@AcquireCredentialsHandleW +;AcceptSecurityContext@36 +;AcquireCredentialsHandleA@36 +;AcquireCredentialsHandleW@36 ;@AddCredentialsA ;@AddCredentialsW ;@AddSecurityPackageA ;@AddSecurityPackageW -;@ApplyControlToken -;@CompleteAuthToken +;ApplyControlTokenA@8 +;ApplyControlTokenW@8 +;CompleteAuthToken@8 ;@CredMarshalTargetInfo ;@CredUnmarshalTargetInfo -;@DecryptMessage -;@DeleteSecurityContext +;DecryptMessage@16 +;DeleteSecurityContext@4 ;@DeleteSecurityPackageA ;@DeleteSecurityPackageW -;@EncryptMessage -;@EnumerateSecurityPackagesA@8 +;EncryptMessage@16 +EnumerateSecurityPackagesA@8 EnumerateSecurityPackagesW@8 ;@ExportSecurityContext FreeContextBuffer@4 -;@FreeCredentialsHandle +;FreeCredentialsHandle@4 GetComputerObjectNameA@12 GetComputerObjectNameW@12 ;GetSecurityUserInfo GetUserNameExA@12 GetUserNameExW@12 -;@ImpersonateSecurityContext +;ImpersonateSecurityContext@4 ;@ImportSecurityContextA ;@ImportSecurityContextW ;@InitSecurityInterfaceA ;@InitSecurityInterfaceW -;@InitializeSecurityContextA -;@InitializeSecurityContextW +;InitializeSecurityContextA@48 +;InitializeSecurityContextW@48 LsaEnumerateLogonSessions@8 LsaGetLogonSessionData@8 LsaRegisterPolicyChangeNotification@8 LsaUnregisterPolicyChangeNotification@8 -;@MakeSignature -;@QueryContextAttributesA -;@QueryContextAttributesW -;@QueryCredentialsAttributesA -;@QueryCredentialsAttributesW +;MakeSignature@16 +;QueryContextAttributesA@12 +;QueryContextAttributesW@12 +;QueryCredentialsAttributesA@12 +;QueryCredentialsAttributesW@12 ;@QuerySecurityContextToken ;@QuerySecurityPackageInfoA ;@QuerySecurityPackageInfoW -;@RevertSecurityContext +;RevertSecurityContext@4 ;@SaslAcceptSecurityContext ;@SaslEnumerateProfilesA ;@SaslEnumerateProfilesW @@ -72,7 +73,7 @@ LsaUnregisterPolicyChangeNotification@8 ;SecpTranslateNameEx ;@SetContextAttributesA ;@SetContextAttributesW -;@TranslateNameA -;@TranslateNameW +;TranslateNameA@20 +;TranslateNameW@20 ;UnsealMessage -;@VerifySignature +;VerifySignature@16 diff --git a/reactos/lib/secur32/sspi.c b/reactos/lib/secur32/sspi.c index d2f5c50c892..1bfa0345b16 100644 --- a/reactos/lib/secur32/sspi.c +++ b/reactos/lib/secur32/sspi.c @@ -23,6 +23,16 @@ EnumerateSecurityPackagesW ( return ERROR_CALL_NOT_IMPLEMENTED; } +SECURITY_STATUS +WINAPI +EnumerateSecurityPackagesA( + PULONG pulong, + PSecPkgInfoA* psecpkginfoa + ) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} SECURITY_STATUS WINAPI diff --git a/reactos/lib/security/security.def b/reactos/lib/security/security.def index 996567e9b08..8dcfe907f4f 100644 --- a/reactos/lib/security/security.def +++ b/reactos/lib/security/security.def @@ -7,52 +7,53 @@ LsaConnectUntrusted@4=SECUR32.LsaConnectUntrusted LsaLookupAuthenticationPackage@12=SECUR32.LsaLookupAuthenticationPackage LsaFreeReturnBuffer@4=SECUR32.LsaFreeReturnBuffer LsaCallAuthenticationPackage@28=SECUR32.LsaCallAuthenticationPackage -;@AcceptSecurityContext=SECUR32.AcceptSecurityContext -;@AcquireCredentialsHandleA=SECUR32.AcquireCredentialsHandleA -;@AcquireCredentialsHandleW=SECUR32.AcquireCredentialsHandleW +;AcceptSecurityContext@36=SECUR32.AcceptSecurityContext +;AcquireCredentialsHandleA@36=SECUR32.AcquireCredentialsHandleA +;AcquireCredentialsHandleW@36=SECUR32.AcquireCredentialsHandleW ;@AddCredentialsA=SECUR32.AddCredentialsA ;@AddCredentialsW=SECUR32.AddCredentialsW ;@AddSecurityPackageA=SECUR32.AddSecurityPackageA ;@AddSecurityPackageW=SECUR32.AddSecurityPackageW -;@ApplyControlToken=SECUR32.ApplyControlToken -;@CompleteAuthToken=SECUR32.CompleteAuthToken +;ApplyControlTokenA@8=SECUR32.ApplyControlTokenA +;ApplyControlTokenW@8=SECUR32.ApplyControlTokenW +;CompleteAuthToken@8=SECUR32.CompleteAuthToken ;@CredMarshalTargetInfo=SECUR32.CredMarshalTargetInfo ;@CredUnmarshalTargetInfo=SECUR32.CredUnmarshalTargetInfo -;@DecryptMessage=SECUR32.DecryptMessage -;@DeleteSecurityContext=SECUR32.DeleteSecurityContext +;DecryptMessage@16=SECUR32.DecryptMessage +;DeleteSecurityContext@4=SECUR32.DeleteSecurityContext ;@DeleteSecurityPackageA=SECUR32.DeleteSecurityPackageA ;@DeleteSecurityPackageW=SECUR32.DeleteSecurityPackageW -;@EncryptMessage=SECUR32.EncryptMessage -;EnumerateSecurityPackagesA@8=SECUR32.EnumerateSecurityPackagesA +;EncryptMessage@16=SECUR32.EncryptMessage +EnumerateSecurityPackagesA@8=SECUR32.EnumerateSecurityPackagesA EnumerateSecurityPackagesW@8=SECUR32.EnumerateSecurityPackagesW ;@ExportSecurityContext=SECUR32.ExportSecurityContext FreeContextBuffer@4=SECUR32.FreeContextBuffer -;@FreeCredentialsHandle=SECUR32.FreeCredentialsHandle +;FreeCredentialsHandle@4=SECUR32.FreeCredentialsHandle GetComputerObjectNameA@12=SECUR32.GetComputerObjectNameA GetComputerObjectNameW@12=SECUR32.GetComputerObjectNameW ;GetSecurityUserInfo=SECUR32.GetSecurityUserInfo GetUserNameExA@12=SECUR32.GetUserNameExA GetUserNameExW@12=SECUR32.GetUserNameExW -;@ImpersonateSecurityContext=SECUR32.ImpersonateSecurityContext +;ImpersonateSecurityContext@4=SECUR32.ImpersonateSecurityContext ;@ImportSecurityContextA=SECUR32.ImportSecurityContextA ;@ImportSecurityContextW=SECUR32.ImportSecurityContextW ;@InitSecurityInterfaceA=SECUR32.InitSecurityInterfaceA ;@InitSecurityInterfaceW=SECUR32.InitSecurityInterfaceW -;@InitializeSecurityContextA=SECUR32.InitializeSecurityContextA -;@InitializeSecurityContextW=SECUR32.InitializeSecurityContextW +;InitializeSecurityContextA@48=SECUR32.InitializeSecurityContextA +;InitializeSecurityContextW@48=SECUR32.InitializeSecurityContextW LsaEnumerateLogonSessions@8=SECUR32.LsaEnumerateLogonSessions LsaGetLogonSessionData@8=SECUR32.LsaGetLogonSessionData LsaRegisterPolicyChangeNotification@8=SECUR32.LsaRegisterPolicyChangeNotification LsaUnregisterPolicyChangeNotification@8=SECUR32.LsaUnregisterPolicyChangeNotification -;@MakeSignature=SECUR32.MakeSignature -;@QueryContextAttributesA=SECUR32.QueryContextAttributesA -;@QueryContextAttributesW=SECUR32.QueryContextAttributesW -;@QueryCredentialsAttributesA=SECUR32.QueryCredentialsAttributesA -;@QueryCredentialsAttributesW=SECUR32.QueryCredentialsAttributesW +;MakeSignature@16=SECUR32.MakeSignature +;QueryContextAttributesA@12=SECUR32.QueryContextAttributesA +;QueryContextAttributesW@12=SECUR32.QueryContextAttributesW +;QueryCredentialsAttributesA@12=SECUR32.QueryCredentialsAttributesA +;QueryCredentialsAttributesW@12=SECUR32.QueryCredentialsAttributesW ;@QuerySecurityContextToken=SECUR32.QuerySecurityContextToken ;@QuerySecurityPackageInfoA=SECUR32.QuerySecurityPackageInfoA ;@QuerySecurityPackageInfoW=SECUR32.QuerySecurityPackageInfoW -;@RevertSecurityContext=SECUR32.RevertSecurityContext +;RevertSecurityContext@4=SECUR32.RevertSecurityContext ;@SaslAcceptSecurityContext=SECUR32.SaslAcceptSecurityContext ;@SaslEnumerateProfilesA=SECUR32.SaslEnumerateProfilesA ;@SaslEnumerateProfilesW=SECUR32.SaslEnumerateProfilesW @@ -72,7 +73,7 @@ LsaUnregisterPolicyChangeNotification@8=SECUR32.LsaUnregisterPolicyChangeNotific ;SecpTranslateNameEx=SECUR32.SecpTranslateNameEx ;@SetContextAttributesA=SECUR32.SetContextAttributesA ;@SetContextAttributesW=SECUR32.SetContextAttributesW -;@TranslateNameA=SECUR32.TranslateNameA -;@TranslateNameW=SECUR32.TranslateNameW +;TranslateNameA@20=SECUR32.TranslateNameA +;TranslateNameW@20=SECUR32.TranslateNameW ;UnsealMessage=SECUR32.UnsealMessage -;@VerifySignature=SECUR32.VerifySignature +;VerifySignature@16=SECUR32.VerifySignature