mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
Fix LSAPR_POLICY_INFORMATION and associated types.
svn path=/trunk/; revision=45489
This commit is contained in:
parent
11c549d526
commit
3b550eb81b
2 changed files with 15 additions and 19 deletions
|
@ -229,7 +229,7 @@ NTSTATUS LsarOpenPolicy(
|
||||||
NTSTATUS LsarQueryInformationPolicy(
|
NTSTATUS LsarQueryInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long PolicyInformation)
|
PLSAPR_POLICY_INFORMATION *PolicyInformation)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
@ -240,7 +240,7 @@ NTSTATUS LsarQueryInformationPolicy(
|
||||||
NTSTATUS LsarSetInformationPolicy(
|
NTSTATUS LsarSetInformationPolicy(
|
||||||
LSAPR_HANDLE PolicyHandle,
|
LSAPR_HANDLE PolicyHandle,
|
||||||
POLICY_INFORMATION_CLASS InformationClass,
|
POLICY_INFORMATION_CLASS InformationClass,
|
||||||
unsigned long *PolicyInformation)
|
PLSAPR_POLICY_INFORMATION PolicyInformation)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
|
|
@ -302,13 +302,11 @@ typedef struct _POLICY_MODIFICATION_INFO {
|
||||||
LARGE_INTEGER ModifiedId;
|
LARGE_INTEGER ModifiedId;
|
||||||
LARGE_INTEGER DatabaseCreationTime;
|
LARGE_INTEGER DatabaseCreationTime;
|
||||||
} POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO;
|
} POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO;
|
||||||
cpp_quote("#endif")
|
|
||||||
|
|
||||||
typedef struct _POLICY_FULL_SET_INFO {
|
typedef struct _POLICY_AUDIT_FULL_SET_INFO {
|
||||||
BOOL ShutDownOnFull;
|
BOOL ShutDownOnFull;
|
||||||
} POLICY_FULL_SET_INFO, *PPOLICY_FULL_SET_INFO;
|
} POLICY_AUDIT_FULL_SET_INFO, *PPOLICY_AUDIT_FULL_SET_INFO;
|
||||||
|
|
||||||
cpp_quote("#ifndef _NTSECAPI_H")
|
|
||||||
typedef struct _POLICY_AUDIT_FULL_QUERY_INFO {
|
typedef struct _POLICY_AUDIT_FULL_QUERY_INFO {
|
||||||
BOOL ShutDownOnFull;
|
BOOL ShutDownOnFull;
|
||||||
BOOL LogIsFull;
|
BOOL LogIsFull;
|
||||||
|
@ -323,23 +321,23 @@ typedef struct _LSAPR_POLICY_DNS_DOMAIN_INFO {
|
||||||
PRPC_SID Sid;
|
PRPC_SID Sid;
|
||||||
} LSAPR_POLICY_DNS_DOMAIN_INFO, *PLSAPR_POLICY_DNS_DOMAIN_INFO;
|
} LSAPR_POLICY_DNS_DOMAIN_INFO, *PLSAPR_POLICY_DNS_DOMAIN_INFO;
|
||||||
|
|
||||||
/*typedef
|
typedef
|
||||||
[switch_type(POLICY_INFORMATION_CLASS)] union _LSAPR_POLICY_INFORMATION {
|
[switch_type(POLICY_INFORMATION_CLASS)] union _LSAPR_POLICY_INFORMATION {
|
||||||
[case(PolicyAuditLogInformation)] POLICY_AUDIT_LOG_INFO PolicyAuditLogInfo;
|
[case(PolicyAuditLogInformation)] POLICY_AUDIT_LOG_INFO PolicyAuditLogInfo;
|
||||||
[case(PolicyAuditEventsInformation)] POLICY_AUDIT_EVENTS_INFO PolicyAuditEventsInfo;
|
[case(PolicyAuditEventsInformation)] LSAPR_POLICY_AUDIT_EVENTS_INFO PolicyAuditEventsInfo;
|
||||||
[case(PolicyPrimaryDomainInformation)] POLICY_PRIMARY_DOM_INFO PolicyPrimaryDomInfo;
|
[case(PolicyPrimaryDomainInformation)] LSAPR_POLICY_PRIMARY_DOM_INFO PolicyPrimaryDomInfo;
|
||||||
[case(PolicyPdAccountInformation)] POLICY_PD_ACCOUNT_INFO PolicyPdAccountInfo;
|
[case(PolicyPdAccountInformation)] LSAPR_POLICY_PD_ACCOUNT_INFO PolicyPdAccountInfo;
|
||||||
[case(PolicyAccountDomainInformation)] POLICY_ACCOUNT_DOM_INFO PolicyAccountDomainInfo;
|
[case(PolicyAccountDomainInformation)] LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyAccountDomainInfo;
|
||||||
[case(PolicyLsaServerRoleInformation)] POLICY_LSA_SERVER_ROLE_INFO PolicyServerRoleInfo;
|
[case(PolicyLsaServerRoleInformation)] POLICY_LSA_SERVER_ROLE_INFO PolicyServerRoleInfo;
|
||||||
[case(PolicyReplicaSourceInformation)] POLICY_REPLICA_SRCE_INFO PolicyReplicaSourceInfo;
|
[case(PolicyReplicaSourceInformation)] POLICY_LSA_REPLICA_SRCE_INFO PolicyReplicaSourceInfo;
|
||||||
[case(PolicyDefaultQuotaInformation)] POLICY_DEFAULT_QUOTA_INFO PolicyDefaultQuotaInfo;
|
[case(PolicyDefaultQuotaInformation)] POLICY_DEFAULT_QUOTA_INFO PolicyDefaultQuotaInfo;
|
||||||
[case(PolicyModificationInformation)] POLICY_MODIFICATION_INFO PolicyModificationInfo;
|
[case(PolicyModificationInformation)] POLICY_MODIFICATION_INFO PolicyModificationInfo;
|
||||||
[case(PolicyAuditFullSetInformation)] POLICY_AUDIT_FULL_SET_INFO PolicyAuditFullSetInfo;
|
[case(PolicyAuditFullSetInformation)] POLICY_AUDIT_FULL_SET_INFO PolicyAuditFullSetInfo;
|
||||||
[case(PolicyAuditFullQueryInformation)] POLICY_AUDIT_FULL_QUERY_INFO PolicyAuditFullQueryInfo;
|
[case(PolicyAuditFullQueryInformation)] POLICY_AUDIT_FULL_QUERY_INFO PolicyAuditFullQueryInfo;
|
||||||
[case(PolicyDnsDomainInformation)] LSAPR_DNS_DOMAIN_INFO PolicyDnsDomainInfo;
|
[case(PolicyDnsDomainInformation)] LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfo;
|
||||||
[case(PolicyDnsDomainInformationInt)] LSAPR_DNS_DOMAIN_INFO PolicyDnsDomainInfoInt;
|
[case(PolicyDnsDomainInformationInt)] LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfoInt;
|
||||||
[case(PolicyLocalAccountDomainInformation)] LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyLocalAccountDomainInfo;
|
[case(PolicyLocalAccountDomainInformation)] LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyLocalAccountDomainInfo;
|
||||||
} LSAPR_POLICY_INFORMATION, *PLSAPR_POLICY_INFORMATION;*/
|
} LSAPR_POLICY_INFORMATION, *PLSAPR_POLICY_INFORMATION;
|
||||||
|
|
||||||
typedef struct _LSAPR_TRUSTED_ENUM_BUFFER {
|
typedef struct _LSAPR_TRUSTED_ENUM_BUFFER {
|
||||||
DWORD EntriesRead;
|
DWORD EntriesRead;
|
||||||
|
@ -639,15 +637,13 @@ interface lsarpc
|
||||||
NTSTATUS LsarQueryInformationPolicy(
|
NTSTATUS LsarQueryInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[in] unsigned long PolicyInformation);
|
[out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation);
|
||||||
/* FIXME: should be [in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation); */
|
|
||||||
|
|
||||||
/* Function 8 */
|
/* Function 8 */
|
||||||
NTSTATUS LsarSetInformationPolicy(
|
NTSTATUS LsarSetInformationPolicy(
|
||||||
[in] LSAPR_HANDLE PolicyHandle,
|
[in] LSAPR_HANDLE PolicyHandle,
|
||||||
[in] POLICY_INFORMATION_CLASS InformationClass,
|
[in] POLICY_INFORMATION_CLASS InformationClass,
|
||||||
[out] unsigned long *PolicyInformation);
|
[in, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION PolicyInformation);
|
||||||
/* FIXME: should be [out, switch_is(InformationClass)] PLSAPR_POLICY_INFORMATION *PolicyInformation); */
|
|
||||||
|
|
||||||
/* Function 9 */
|
/* Function 9 */
|
||||||
NTSTATUS LsarClearAuditLog(
|
NTSTATUS LsarClearAuditLog(
|
||||||
|
|
Loading…
Reference in a new issue