From a2c387cc4f8c3f760ac76a0bf02e6221c7f70e4a Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Mon, 9 Jan 2006 15:08:35 +0000 Subject: [PATCH] added some stubs (Photoshop CS seems to work now) svn path=/trunk/; revision=20752 --- reactos/lib/secur32/secur32.def | 4 ++-- reactos/lib/secur32/sspi.c | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/reactos/lib/secur32/secur32.def b/reactos/lib/secur32/secur32.def index fb89b17cbf0..9619abf7f8e 100644 --- a/reactos/lib/secur32/secur32.def +++ b/reactos/lib/secur32/secur32.def @@ -8,7 +8,7 @@ LsaLookupAuthenticationPackage@12 LsaFreeReturnBuffer@4 LsaCallAuthenticationPackage@28 ;AcceptSecurityContext@36 -;AcquireCredentialsHandleA@36 +AcquireCredentialsHandleA@36 ;AcquireCredentialsHandleW@36 ;@AddCredentialsA ;@AddCredentialsW @@ -39,7 +39,7 @@ GetUserNameExW@12 ;@ImportSecurityContextW ;@InitSecurityInterfaceA ;@InitSecurityInterfaceW -;InitializeSecurityContextA@48 +InitializeSecurityContextA@48 ;InitializeSecurityContextW@48 LsaEnumerateLogonSessions@8 LsaGetLogonSessionData@8 diff --git a/reactos/lib/secur32/sspi.c b/reactos/lib/secur32/sspi.c index b015257070f..8d234dbca21 100644 --- a/reactos/lib/secur32/sspi.c +++ b/reactos/lib/secur32/sspi.c @@ -35,3 +35,42 @@ FreeContextBuffer ( DPRINT1("%s() not implemented!\n", __FUNCTION__); return ERROR_CALL_NOT_IMPLEMENTED; } + +SECURITY_STATUS +WINAPI +AcquireCredentialsHandleA ( + SEC_CHAR* pszPrincipal, + SEC_CHAR* pszPackage, + ULONG fUsage, + PLUID pID, + PVOID pAuth, + SEC_GET_KEY_FN pGetKeyFn, + PVOID pvGetKeyArgument, + PCredHandle phCred, + PTimeStamp pExpires + ) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +InitializeSecurityContextA ( + PCredHandle phCred, + PCtxtHandle phContext, + SEC_CHAR* pszTarget, + ULONG fContextReq, + ULONG Reserved, + ULONG TargetData, + PSecBufferDesc pInput, + ULONG Reserved2, + PCtxtHandle phNewContext, + PSecBufferDesc pOut, + PULONG pfContextAttributes, + PTimeStamp pExpires + ) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +}