mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[PSDK]
Remove non-existing enumeration _POLICY_LOCAL_INFORMATION_CLASS and functions LsaQueryLocalInformationPolicy and LsaSetLocalInformationPolicy. svn path=/trunk/; revision=57384
This commit is contained in:
parent
580872f32d
commit
cd89ea4d2f
2 changed files with 14 additions and 21 deletions
|
@ -212,6 +212,9 @@ NTSTATUS WINAPI LsarQueryInformationPolicy(
|
|||
case PolicyLsaServerRoleInformation:
|
||||
case PolicyReplicaSourceInformation:
|
||||
case PolicyDefaultQuotaInformation:
|
||||
case PolicyDnsDomainInformation:
|
||||
case PolicyDnsDomainInformationInt:
|
||||
case PolicyLocalAccountDomainInformation:
|
||||
DesiredAccess = POLICY_VIEW_LOCAL_INFORMATION;
|
||||
break;
|
||||
|
||||
|
@ -219,6 +222,7 @@ NTSTATUS WINAPI LsarQueryInformationPolicy(
|
|||
DesiredAccess = POLICY_GET_PRIVATE_INFORMATION;
|
||||
break;
|
||||
|
||||
case PolicyLastEntry:
|
||||
default:
|
||||
ERR("Invalid InformationClass!\n");
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
|
@ -265,10 +269,16 @@ NTSTATUS WINAPI LsarQueryInformationPolicy(
|
|||
case PolicyModificationInformation:
|
||||
case PolicyAuditFullSetInformation:
|
||||
case PolicyAuditFullQueryInformation:
|
||||
case PolicyEfsInformation:
|
||||
case PolicyDnsDomainInformationInt:
|
||||
case PolicyLocalAccountDomainInformation:
|
||||
FIXME("Information class not implemented\n");
|
||||
Status = STATUS_UNSUCCESSFUL;
|
||||
break;
|
||||
|
||||
case PolicyLastEntry:
|
||||
default:
|
||||
ERR("Invalid InformationClass!\n");
|
||||
Status = STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
|
|
@ -242,7 +242,9 @@ typedef enum _POLICY_INFORMATION_CLASS {
|
|||
PolicyAuditFullSetInformation,
|
||||
PolicyAuditFullQueryInformation,
|
||||
PolicyDnsDomainInformation,
|
||||
PolicyEfsInformation
|
||||
PolicyDnsDomainInformationInt,
|
||||
PolicyLocalAccountDomainInformation,
|
||||
PolicyLastEntry
|
||||
} POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
|
||||
typedef enum _POLICY_AUDIT_EVENT_TYPE {
|
||||
AuditCategorySystem,
|
||||
|
@ -255,21 +257,6 @@ typedef enum _POLICY_AUDIT_EVENT_TYPE {
|
|||
AuditCategoryDirectoryServiceAccess,
|
||||
AuditCategoryAccountLogon
|
||||
} POLICY_AUDIT_EVENT_TYPE, *PPOLICY_AUDIT_EVENT_TYPE;
|
||||
typedef enum _POLICY_LOCAL_INFORMATION_CLASS {
|
||||
PolicyLocalAuditEventsInformation = 1,
|
||||
PolicyLocalPdAccountInformation,
|
||||
PolicyLocalAccountDomainInformation,
|
||||
PolicyLocalLsaServerRoleInformation,
|
||||
PolicyLocalReplicaSourceInformation,
|
||||
PolicyLocalModificationInformation,
|
||||
PolicyLocalAuditFullSetInformation,
|
||||
PolicyLocalAuditFullQueryInformation,
|
||||
PolicyLocalDnsDomainInformation,
|
||||
PolicyLocalIPSecReferenceInformation,
|
||||
PolicyLocalMachinePasswordInformation,
|
||||
PolicyLocalQualityOfServiceInformation,
|
||||
PolicyLocalPolicyLocationInformation
|
||||
} POLICY_LOCAL_INFORMATION_CLASS, *PPOLICY_LOCAL_INFORMATION_CLASS;
|
||||
typedef enum _POLICY_DOMAIN_INFORMATION_CLASS {
|
||||
PolicyDomainIPSecReferenceInformation = 1,
|
||||
PolicyDomainQualityOfServiceInformation,
|
||||
|
@ -728,8 +715,6 @@ NTSTATUS NTAPI LsaOpenTrustedDomainByName(LSA_HANDLE,PLSA_UNICODE_STRING,
|
|||
NTSTATUS NTAPI LsaQueryDomainInformationPolicy(LSA_HANDLE,
|
||||
POLICY_DOMAIN_INFORMATION_CLASS,PVOID*);
|
||||
NTSTATUS NTAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
|
||||
NTSTATUS NTAPI LsaQueryLocalInformationPolicy(LSA_HANDLE,
|
||||
POLICY_LOCAL_INFORMATION_CLASS,PVOID*);
|
||||
NTSTATUS NTAPI LsaQuerySecret(LSA_HANDLE,PLSA_UNICODE_STRING*,PLARGE_INTEGER,
|
||||
PLSA_UNICODE_STRING*,PLARGE_INTEGER);
|
||||
NTSTATUS NTAPI LsaQueryTrustedDomainInfo(LSA_HANDLE,PSID,
|
||||
|
@ -744,8 +729,6 @@ NTSTATUS NTAPI LsaRetrievePrivateData(LSA_HANDLE,PLSA_UNICODE_STRING,
|
|||
NTSTATUS NTAPI LsaSetDomainInformationPolicy(LSA_HANDLE,
|
||||
POLICY_DOMAIN_INFORMATION_CLASS,PVOID);
|
||||
NTSTATUS NTAPI LsaSetInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS, PVOID);
|
||||
NTSTATUS NTAPI LsaSetLocalInformationPolicy(LSA_HANDLE,
|
||||
POLICY_LOCAL_INFORMATION_CLASS,PVOID);
|
||||
NTSTATUS NTAPI LsaSetQuotasForAccount(LSA_HANDLE,PQUOTA_LIMITS);
|
||||
NTSTATUS NTAPI LsaSetSecret(LSA_HANDLE,PLSA_UNICODE_STRING,PLSA_UNICODE_STRING);
|
||||
NTSTATUS NTAPI LsaSetSystemAccessAccount(LSA_HANDLE,ULONG);
|
||||
|
|
Loading…
Reference in a new issue