* add Security.dll (redirects all calls to secur32.dll)
authorChristoph von Wittich <christoph_vw@reactos.org>
Fri, 14 Oct 2005 23:13:08 +0000 (23:13 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Fri, 14 Oct 2005 23:13:08 +0000 (23:13 +0000)
svn path=/trunk/; revision=18463

reactos/baseaddress.xml
reactos/lib/directory.xml
reactos/lib/security/security.def [new file with mode: 0644]
reactos/lib/security/security.rc [new file with mode: 0644]
reactos/lib/security/security.xml [new file with mode: 0644]

index 471d507..6186610 100644 (file)
@@ -28,6 +28,7 @@
 <property name="BASEADDRESS_MESA32" value="0x6b380000" />
 <property name="BASEADDRESS_OPENGL32" value="0x6b390000" />
 <property name="BASEADDRESS_SECUR32" value="0x6b3A0000" />
+<property name="BASEADDRESS_SECURITY" value="0x71F10000" />
 <property name="BASEADDRESS_SMDLL" value="0x6b3B0000" />
 <property name="BASEADDRESS_URLMON" value="0x6b3C0000" />
 <property name="BASEADDRESS_SERIALUI" value="0x6b3D0000" />
index adef1bf..9cf6fad 100644 (file)
 <directory name="secur32">
        <xi:include href="secur32/secur32.xml" />
 </directory>
+<directory name="security">
+       <xi:include href="security/security.xml" />
+</directory>
 <directory name="serialui">
        <xi:include href="serialui/serialui.xml" />
 </directory>
diff --git a/reactos/lib/security/security.def b/reactos/lib/security/security.def
new file mode 100644 (file)
index 0000000..519828e
--- /dev/null
@@ -0,0 +1,78 @@
+LIBRARY SECURITY.DLL\r
+EXPORTS;\r
+LsaRegisterLogonProcess@12=SECUR32.LsaRegisterLogonProcess\r
+LsaLogonUser@56=SECUR32.LsaLogonUser\r
+LsaDeregisterLogonProcess@4=SECUR32.LsaDeregisterLogonProcess\r
+LsaConnectUntrusted@4=SECUR32.LsaConnectUntrusted\r
+LsaLookupAuthenticationPackage@12=SECUR32.LsaLookupAuthenticationPackage\r
+LsaFreeReturnBuffer@4=SECUR32.LsaFreeReturnBuffer\r
+LsaCallAuthenticationPackage@28=SECUR32.LsaCallAuthenticationPackage\r
+;@AcceptSecurityContext=SECUR32.AcceptSecurityContext\r
+;@AcquireCredentialsHandleA=SECUR32.AcquireCredentialsHandleA\r
+;@AcquireCredentialsHandleW=SECUR32.AcquireCredentialsHandleW\r
+;@AddCredentialsA=SECUR32.AddCredentialsA\r
+;@AddCredentialsW=SECUR32.AddCredentialsW\r
+;@AddSecurityPackageA=SECUR32.AddSecurityPackageA\r
+;@AddSecurityPackageW=SECUR32.AddSecurityPackageW\r
+;@ApplyControlToken=SECUR32.ApplyControlToken\r
+;@CompleteAuthToken=SECUR32.CompleteAuthToken\r
+;@CredMarshalTargetInfo=SECUR32.CredMarshalTargetInfo\r
+;@CredUnmarshalTargetInfo=SECUR32.CredUnmarshalTargetInfo\r
+;@DecryptMessage=SECUR32.DecryptMessage\r
+;@DeleteSecurityContext=SECUR32.DeleteSecurityContext\r
+;@DeleteSecurityPackageA=SECUR32.DeleteSecurityPackageA\r
+;@DeleteSecurityPackageW=SECUR32.DeleteSecurityPackageW\r
+;@EncryptMessage=SECUR32.EncryptMessage\r
+;EnumerateSecurityPackagesA@8=SECUR32.EnumerateSecurityPackagesA\r
+EnumerateSecurityPackagesW@8=SECUR32.EnumerateSecurityPackagesW\r
+;@ExportSecurityContext=SECUR32.ExportSecurityContext\r
+FreeContextBuffer@4=SECUR32.FreeContextBuffer\r
+;@FreeCredentialsHandle=SECUR32.FreeCredentialsHandle\r
+GetComputerObjectNameA@12=SECUR32.GetComputerObjectNameA\r
+GetComputerObjectNameW@12=SECUR32.GetComputerObjectNameW\r
+;GetSecurityUserInfo=SECUR32.GetSecurityUserInfo\r
+GetUserNameExA@12=SECUR32.GetUserNameExA\r
+GetUserNameExW@12=SECUR32.GetUserNameExW\r
+;@ImpersonateSecurityContext=SECUR32.ImpersonateSecurityContext\r
+;@ImportSecurityContextA=SECUR32.ImportSecurityContextA\r
+;@ImportSecurityContextW=SECUR32.ImportSecurityContextW\r
+;@InitSecurityInterfaceA=SECUR32.InitSecurityInterfaceA\r
+;@InitSecurityInterfaceW=SECUR32.InitSecurityInterfaceW\r
+;@InitializeSecurityContextA=SECUR32.InitializeSecurityContextA\r
+;@InitializeSecurityContextW=SECUR32.InitializeSecurityContextW\r
+LsaEnumerateLogonSessions@8=SECUR32.LsaEnumerateLogonSessions\r
+LsaGetLogonSessionData@8=SECUR32.LsaGetLogonSessionData\r
+LsaRegisterPolicyChangeNotification@8=SECUR32.LsaRegisterPolicyChangeNotification\r
+LsaUnregisterPolicyChangeNotification@8=SECUR32.LsaUnregisterPolicyChangeNotification\r
+;@MakeSignature=SECUR32.MakeSignature\r
+;@QueryContextAttributesA=SECUR32.QueryContextAttributesA\r
+;@QueryContextAttributesW=SECUR32.QueryContextAttributesW\r
+;@QueryCredentialsAttributesA=SECUR32.QueryCredentialsAttributesA\r
+;@QueryCredentialsAttributesW=SECUR32.QueryCredentialsAttributesW\r
+;@QuerySecurityContextToken=SECUR32.QuerySecurityContextToken\r
+;@QuerySecurityPackageInfoA=SECUR32.QuerySecurityPackageInfoA\r
+;@QuerySecurityPackageInfoW=SECUR32.QuerySecurityPackageInfoW\r
+;@RevertSecurityContext=SECUR32.RevertSecurityContext\r
+;@SaslAcceptSecurityContext=SECUR32.SaslAcceptSecurityContext\r
+;@SaslEnumerateProfilesA=SECUR32.SaslEnumerateProfilesA\r
+;@SaslEnumerateProfilesW=SECUR32.SaslEnumerateProfilesW\r
+;@SaslGetProfilePackageA=SECUR32.SaslGetProfilePackageA\r
+;@SaslGetProfilePackageW=SECUR32.SaslGetProfilePackageW\r
+;@SaslIdentifyPackageA=SECUR32.SaslIdentifyPackageA\r
+;@SaslIdentifyPackageW=SECUR32.SaslIdentifyPackageW\r
+;@SaslInitializeSecurityContextA=SECUR32.SaslInitializeSecurityContextA\r
+;@SaslInitializeSecurityContextW=SECUR32.SaslInitializeSecurityContextW\r
+;SealMessage=SECUR32.SealMessage\r
+;SecCacheSspiPackages=SECUR32.SecCacheSspiPackages\r
+;SecDeleteUserModeContext=SECUR32.SecDeleteUserModeContext\r
+;SecGetLocaleSpecificEncryptionRules=SECUR32.SecGetLocaleSpecificEncryptionRules\r
+;SecInitUserModeContext=SECUR32.SecInitUserModeContext\r
+;SecpFreeMemory=SECUR32.SecpFreeMemory\r
+;SecpTranslateName=SECUR32.SecpTranslateName\r
+;SecpTranslateNameEx=SECUR32.SecpTranslateNameEx\r
+;@SetContextAttributesA=SECUR32.SetContextAttributesA\r
+;@SetContextAttributesW=SECUR32.SetContextAttributesW\r
+;@TranslateNameA=SECUR32.TranslateNameA\r
+;@TranslateNameW=SECUR32.TranslateNameW\r
+;UnsealMessage=SECUR32.UnsealMessage\r
+;@VerifySignature=SECUR32.VerifySignature\r
diff --git a/reactos/lib/security/security.rc b/reactos/lib/security/security.rc
new file mode 100644 (file)
index 0000000..00902bb
--- /dev/null
@@ -0,0 +1,5 @@
+#define REACTOS_VERSION_DLL\r
+#define REACTOS_STR_FILE_DESCRIPTION   "Security\0"\r
+#define REACTOS_STR_INTERNAL_NAME      "security\0"\r
+#define REACTOS_STR_ORIGINAL_FILENAME  "security.dll\0"\r
+#include <reactos/version.rc>\r
diff --git a/reactos/lib/security/security.xml b/reactos/lib/security/security.xml
new file mode 100644 (file)
index 0000000..82b3004
--- /dev/null
@@ -0,0 +1,11 @@
+<module name="security" type="win32dll" baseaddress="${BASEADDRESS_SECUR32}" installbase="system32" installname="security.dll">\r
+       <importlibrary definition="security.def" />\r
+       <include base="security">.</include>\r
+       <define name="__SECURITY__" />\r
+       <define name="__USE_W32API" />\r
+       <define name="_WIN32_WINNT">0x501</define>\r
+       <library>ntdll</library>\r
+       <library>kernel32</library>\r
+       <library>advapi32</library>\r
+       <file>security.rc</file>\r
+</module>\r