diff --git a/reactos/dll/win32/secur32/secur32.def b/reactos/dll/win32/secur32/secur32.def index 9619abf7f8e..d0fd207d6ba 100644 --- a/reactos/dll/win32/secur32/secur32.def +++ b/reactos/dll/win32/secur32/secur32.def @@ -9,26 +9,26 @@ LsaFreeReturnBuffer@4 LsaCallAuthenticationPackage@28 ;AcceptSecurityContext@36 AcquireCredentialsHandleA@36 -;AcquireCredentialsHandleW@36 +AcquireCredentialsHandleW@36 ;@AddCredentialsA ;@AddCredentialsW ;@AddSecurityPackageA ;@AddSecurityPackageW ;ApplyControlTokenA@8 -;ApplyControlTokenW@8 -;CompleteAuthToken@8 +ApplyControlToken@8=ApplyControlTokenW@8 +CompleteAuthToken@8 ;@CredMarshalTargetInfo ;@CredUnmarshalTargetInfo -;DecryptMessage@16 -;DeleteSecurityContext@4 +DecryptMessage@16 +DeleteSecurityContext@4 ;@DeleteSecurityPackageA ;@DeleteSecurityPackageW -;EncryptMessage@16 +EncryptMessage@16 EnumerateSecurityPackagesA@8 EnumerateSecurityPackagesW@8 ;@ExportSecurityContext FreeContextBuffer@4 -;FreeCredentialsHandle@4 +FreeCredentialsHandle@4 GetComputerObjectNameA@12 GetComputerObjectNameW@12 ;GetSecurityUserInfo @@ -38,7 +38,7 @@ GetUserNameExW@12 ;@ImportSecurityContextA ;@ImportSecurityContextW ;@InitSecurityInterfaceA -;@InitSecurityInterfaceW +InitSecurityInterfaceW@0 InitializeSecurityContextA@48 ;InitializeSecurityContextW@48 LsaEnumerateLogonSessions@8 @@ -47,7 +47,7 @@ LsaRegisterPolicyChangeNotification@8 LsaUnregisterPolicyChangeNotification@8 ;MakeSignature@16 ;QueryContextAttributesA@12 -;QueryContextAttributesW@12 +QueryContextAttributesW@12 ;QueryCredentialsAttributesA@12 ;QueryCredentialsAttributesW@12 ;@QuerySecurityContextToken diff --git a/reactos/dll/win32/secur32/sspi.c b/reactos/dll/win32/secur32/sspi.c index 8d234dbca21..5c0f3d3d175 100644 --- a/reactos/dll/win32/secur32/sspi.c +++ b/reactos/dll/win32/secur32/sspi.c @@ -36,6 +36,80 @@ FreeContextBuffer ( return ERROR_CALL_NOT_IMPLEMENTED; } +SECURITY_STATUS +WINAPI +FreeCredentialsHandle(PCredHandle Handle) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +DeleteSecurityContext(PCtxtHandle Handle) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +PSecurityFunctionTableW +WINAPI +InitSecurityInterfaceW(VOID) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return NULL; +} + +SECURITY_STATUS +WINAPI +EncryptMessage(PCtxtHandle Handle, + ULONG Foo, + PSecBufferDesc Buffer, + ULONG Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +DecryptMessage(PCtxtHandle Handle, + PSecBufferDesc Buffer, + ULONG Foo, + PULONG Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +ApplyControlTokenW(PCtxtHandle Handle, + PSecBufferDesc Buffer) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +CompleteAuthToken(PCtxtHandle Handle, + PSecBufferDesc Buffer) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + +SECURITY_STATUS +WINAPI +QueryContextAttributesW(PCtxtHandle Handle, + ULONG Foo, + PVOID Bar) +{ + DPRINT1("%s() not implemented!\n", __FUNCTION__); + return ERROR_CALL_NOT_IMPLEMENTED; +} + SECURITY_STATUS WINAPI AcquireCredentialsHandleA ( @@ -54,6 +128,25 @@ AcquireCredentialsHandleA ( return ERROR_CALL_NOT_IMPLEMENTED; } +SECURITY_STATUS +WINAPI +AcquireCredentialsHandleW ( + SEC_WCHAR* pszPrincipal, + SEC_WCHAR* 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 (