mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Use lsa_PolicyInfo enum in lsa policy info calls.
Guenther
This commit is contained in:
parent
be8071779f
commit
8b63a16657
@ -214,7 +214,7 @@ import "security.idl";
|
|||||||
LSA_POLICY_INFO_AUDIT_FULL_SET=10,
|
LSA_POLICY_INFO_AUDIT_FULL_SET=10,
|
||||||
LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
|
LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
|
||||||
LSA_POLICY_INFO_DNS=12
|
LSA_POLICY_INFO_DNS=12
|
||||||
} lsaPolicyInfo;
|
} lsa_PolicyInfo;
|
||||||
|
|
||||||
typedef [switch_type(uint16)] union {
|
typedef [switch_type(uint16)] union {
|
||||||
[case(LSA_POLICY_INFO_AUDIT_LOG)] lsa_AuditLogInfo audit_log;
|
[case(LSA_POLICY_INFO_AUDIT_LOG)] lsa_AuditLogInfo audit_log;
|
||||||
@ -233,7 +233,7 @@ import "security.idl";
|
|||||||
|
|
||||||
NTSTATUS lsa_QueryInfoPolicy (
|
NTSTATUS lsa_QueryInfoPolicy (
|
||||||
[in] policy_handle *handle,
|
[in] policy_handle *handle,
|
||||||
[in] uint16 level,
|
[in] lsa_PolicyInfo level,
|
||||||
[out,unique,switch_is(level)] lsa_PolicyInformation *info
|
[out,unique,switch_is(level)] lsa_PolicyInformation *info
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -241,7 +241,7 @@ import "security.idl";
|
|||||||
/* Function: 0x08 */
|
/* Function: 0x08 */
|
||||||
NTSTATUS lsa_SetInfoPolicy (
|
NTSTATUS lsa_SetInfoPolicy (
|
||||||
[in] policy_handle *handle,
|
[in] policy_handle *handle,
|
||||||
[in] uint16 level,
|
[in] lsa_PolicyInfo level,
|
||||||
[in,switch_is(level)] lsa_PolicyInformation *info
|
[in,switch_is(level)] lsa_PolicyInformation *info
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -709,14 +709,14 @@ import "security.idl";
|
|||||||
|
|
||||||
NTSTATUS lsa_QueryInfoPolicy2(
|
NTSTATUS lsa_QueryInfoPolicy2(
|
||||||
[in] policy_handle *handle,
|
[in] policy_handle *handle,
|
||||||
[in] uint16 level,
|
[in] lsa_PolicyInfo level,
|
||||||
[out,unique,switch_is(level)] lsa_PolicyInformation *info
|
[out,unique,switch_is(level)] lsa_PolicyInformation *info
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Function 0x2f */
|
/* Function 0x2f */
|
||||||
NTSTATUS lsa_SetInfoPolicy2(
|
NTSTATUS lsa_SetInfoPolicy2(
|
||||||
[in] policy_handle *handle,
|
[in] policy_handle *handle,
|
||||||
[in] uint16 level,
|
[in] lsa_PolicyInfo level,
|
||||||
[in,switch_is(level)] lsa_PolicyInformation *info
|
[in,switch_is(level)] lsa_PolicyInformation *info
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user