[AUDIT] - Almost all the functions are stubs, except for some LSA functions which merely seem to be wrappers that build LPC messages for the actual LSA Server to implement (which isn't part of these files).

- Add some stubs during my attempt to load Google Talk (forget about it!). However WINE implements all these functions entirely so maybe we should just sync with them?

svn path=/trunk/; revision=22858
This commit is contained in:
Alex Ionescu 2006-07-05 06:43:46 +00:00
parent 32472d9eff
commit 5338d133b3
2 changed files with 102 additions and 9 deletions

View file

@ -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

View file

@ -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 (