mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:02:56 +00:00
fix some advapi32 lsa winetests
svn path=/trunk/; revision=35958
This commit is contained in:
parent
e941fb914b
commit
a22ce9b036
1 changed files with 79 additions and 80 deletions
|
@ -433,20 +433,18 @@ LsaQueryForestTrustInformation(
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,
|
LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS pic,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
PVOID *Buffer)
|
PVOID *Buffer)
|
||||||
{
|
{
|
||||||
FIXME("(%p,0x%08x,%p) stub\n",
|
TRACE("(%p,0x%08x,%p)\n", PolicyHandle, InformationClass, Buffer);
|
||||||
PolicyHandle, pic, Buffer);
|
|
||||||
|
|
||||||
if (!Buffer)
|
if(!Buffer) return STATUS_INVALID_PARAMETER;
|
||||||
return FALSE;
|
switch (InformationClass)
|
||||||
|
|
||||||
switch (pic)
|
|
||||||
{
|
{
|
||||||
case PolicyAuditEventsInformation: /* 2 */
|
case PolicyAuditEventsInformation: /* 2 */
|
||||||
{
|
{
|
||||||
PPOLICY_AUDIT_EVENTS_INFO p = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(POLICY_AUDIT_EVENTS_INFO));
|
PPOLICY_AUDIT_EVENTS_INFO p = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY,
|
||||||
|
sizeof(POLICY_AUDIT_EVENTS_INFO));
|
||||||
p->AuditingMode = FALSE; /* no auditing */
|
p->AuditingMode = FALSE; /* no auditing */
|
||||||
*Buffer = p;
|
*Buffer = p;
|
||||||
}
|
}
|
||||||
|
@ -455,7 +453,8 @@ LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,
|
||||||
case PolicyAccountDomainInformation: /* 5 */
|
case PolicyAccountDomainInformation: /* 5 */
|
||||||
{
|
{
|
||||||
struct di
|
struct di
|
||||||
{ POLICY_PRIMARY_DOMAIN_INFO ppdi;
|
{
|
||||||
|
POLICY_PRIMARY_DOMAIN_INFO ppdi;
|
||||||
SID sid;
|
SID sid;
|
||||||
};
|
};
|
||||||
SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
|
SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
|
||||||
|
@ -515,10 +514,10 @@ LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,
|
||||||
case PolicyEfsInformation:
|
case PolicyEfsInformation:
|
||||||
{
|
{
|
||||||
FIXME("category not implemented\n");
|
FIXME("category not implemented\n");
|
||||||
return FALSE;
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return TRUE;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue