From 63cbb0cae38ef035f0364d2364712a8c45f76742 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Tue, 11 Jul 2006 07:10:36 -0400 Subject: [PATCH] include: Add more policy structures to ntsecapi.h. --- include/ntsecapi.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/include/ntsecapi.h b/include/ntsecapi.h index a73e603c6e0..7fa3c441ede 100644 --- a/include/ntsecapi.h +++ b/include/ntsecapi.h @@ -179,6 +179,32 @@ typedef struct _POLICY_ACCOUNT_DOMAIN_INFO PSID DomainSid; } POLICY_ACCOUNT_DOMAIN_INFO, *PPOLICY_ACCOUNT_DOMAIN_INFO; +typedef struct _POLICY_DNS_DOMAIN_INFO +{ + LSA_UNICODE_STRING Name; + LSA_UNICODE_STRING DnsDomainName; + LSA_UNICODE_STRING DnsForestName; + GUID DomainGuid; + PSID Sid; +} POLICY_DNS_DOMAIN_INFO, *PPOLICY_DNS_DOMAIN_INFO; + +typedef enum _POLICY_LSA_SERVER_ROLE +{ + PolicyServerRoleBackup = 2, + PolicyServerRolePrimary +} POLICY_LSA_SERVER_ROLE, *PPOLICY_LSA_SERVER_ROLE; + +typedef struct _POLICY_LSA_SERVER_ROLE_INFO +{ + POLICY_LSA_SERVER_ROLE LsaServerRole; +} POLICY_LSA_SERVER_ROLE_INFO, *PPOLICY_LSA_SERVER_ROLE_INFO; + +typedef struct _POLICY_MODIFICATION_INFO +{ + LARGE_INTEGER ModifiedId; + LARGE_INTEGER DatabaseCreationTime; +} POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO; + typedef struct { SID_NAME_USE Use;